FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

ENH: update __module__ in numpy.random module by charris · Pull Request #27911 · numpy/numpy · GitHub

/ numpy Public

ENH: update __module__ in numpy.random module - #27911

Merged
charris merged 1 commit into
numpy:maintenance/2.2.xfrom
charris:backport-27891
Dec 5, 2024
Merged

ENH: update __module__ in numpy.random module#27911
charris merged 1 commit into
numpy:maintenance/2.2.xfrom
charris:backport-27891

Conversation

charris commented Dec 5, 2024

Copy link
Copy Markdown
Member

Backport of #27981.

This is a follow-up PR after #27716. It updates np.random functions and methods' __module__ to numpy.random.

The only items left with incorrect __module__ are cdef classes, as Cython doesn't allows changing it.

List from here: pytorch/pytorch#136559 (comment)

ENH: update `__module__` in `numpy.random` module
charris added 01 - Enhancement 08 - Backport Used to tag backport PRs labels Dec 5, 2024
charris added this to the 2.2.0 release milestone Dec 5, 2024

charris commented Dec 5, 2024

Copy link
Copy Markdown
Member Author

This is just to keep mtrand consistent. Not really needed as the other __module__ updates are not backported.

charris merged commit b30a338 into numpy:maintenance/2.2.x Dec 5, 2024
charris deleted the backport-27891 branch December 5, 2024 13:42
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

01 - Enhancement 08 - Backport Used to tag backport PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL