Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jorenham
Copy link
Member

@jorenham jorenham commented Feb 5, 2025

backport of numpy/numtype#28 and numpy/numtype#78


This ensures correct behavior of the float64, complex128, str_, and bytes_ constructors on pyright. This also fixes the complexfloating scalar types not accepting a second argument, which was causing complex(1, 2) to be rejected.

@jorenham jorenham added the 09 - Backport-Candidate PRs tagged should be backported label Feb 5, 2025
@jorenham jorenham added this to the 2.2.3 release milestone Feb 5, 2025
@charris charris merged commit 506e84d into numpy:main Feb 5, 2025
71 checks passed
@charris
Copy link
Member

charris commented Feb 5, 2025

Thanks Joren.

@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Feb 5, 2025
@jorenham jorenham deleted the numtype/28 branch February 5, 2025 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants