Skip to content

API: (cython) remove long_t and ulong_t#22637

Merged
rgommers merged 1 commit intonumpy:mainfrom
seberg:cython_long_t
Nov 28, 2022
Merged

API: (cython) remove long_t and ulong_t#22637
rgommers merged 1 commit intonumpy:mainfrom
seberg:cython_long_t

Conversation

@seberg
Copy link
Copy Markdown
Member

@seberg seberg commented Nov 21, 2022

They are both very confusing aliases. Unfortunately, I did not find a way to give a more informative cython compilation error. Thus, I pasted the expected error message in the hope it will be easy to google.

The release notes are long and maybe confusing. I really want to prepare us for switching the default integer to (probably) intp and this could be rather disprutpive for Cython modules if, so I thought it might be good to hint towards that, but maybe that is too much?

They are both very confusing aliases.  Unfortunately, I did not find
a way to give a more informative cython compilation error.
Thus, I pasted the expected error message in the hope it will be
easy to google.

The release notes are long and maybe confusing.  I really want to
prepare us for switching the default integer to (probably) `intp`
and this could be rather disprutpive for Cython modules if, so
I thought it might be good to hint towards that, but maybe that is
too much?
Copy link
Copy Markdown
Member

@rgommers rgommers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a good idea. Just in case something important breaks, we can revert it for a bit to give others the change to patch things up.

@seberg
Copy link
Copy Markdown
Member Author

seberg commented Nov 28, 2022

Yeah, I think its just time to give it a shot. It is super niche, won't even break compiled extensions and is easy to fix.
So unless someone important shouts, I am not too worried about breaks.

@rgommers rgommers added this to the 1.25.0 release milestone Nov 28, 2022
@rgommers
Copy link
Copy Markdown
Member

🤞🏼 in it goes!

@rgommers rgommers merged commit 7f0f045 into numpy:main Nov 28, 2022
@seberg seberg deleted the cython_long_t branch November 28, 2022 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants