GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — TYP: Add the missing ``casting`` keyword to ``np.clip`` by BvB93 · Pull Request #24611 · numpy/numpy

Conversation

@BvB93

@BvB93 BvB93 commented Sep 1, 2023

Copy link
Copy Markdown
Member

Closes #24391

Quite straightforward: this PR adds annotations for the previously missing casting keyword to the np.clip function.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@BvB93
TYP: Add the missing casting keyword to np.clip
4821fb8
@github-actions github-actions Bot added the 41 - Static typing label Sep 1, 2023
@BvB93 BvB93 added the 09 - Backport-Candidate PRs tagged should be backported label Sep 1, 2023
@BvB93 BvB93 mentioned this pull request Sep 1, 2023
BUG: static typing of numpy.clip seems to be missing some kwargs #24391
Closed
@charris
charris merged commit 52556d8 into numpy:main Sep 1, 2023
@charris

charris commented Sep 1, 2023

Copy link
Copy Markdown
Member

Thanks Bas.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@BvB93
BvB93 deleted the clip branch September 1, 2023 14:17
@charris charris mentioned this pull request Sep 1, 2023
TYP: Add the missing casting keyword to np.clip #24615
Merged
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Sep 1, 2023
@charris charris changed the title TYP: Add the missing casting keyword to np.clip TYP: Add the missing casting keyword to np.clip Sep 1, 2023
charris added a commit to charris/numpy that referenced this pull request Sep 1, 2023
@charris
MAINT: Fixup fromnumeric.pyi
cd3bb38
The line
```
    extobj: list[Any] = ...,
```
was cut when backporting numpy#24611. We want to keep it in 1.26.x.
@charris charris mentioned this pull request Sep 1, 2023
MAINT: Fixup fromnumeric.pyi #24617
Merged
charris added a commit to charris/numpy that referenced this pull request Nov 11, 2023
@charris
MAINT: Fixup fromnumeric.pyi
3b3cd7d
The line
```
    extobj: list[Any] = ...,
```
was cut when backporting numpy#24611. We want to keep it in 1.26.x.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

41 - Static typing

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

BUG: static typing of numpy.clip seems to be missing some kwargs

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@BvB93 @charris
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.