gh-80480: Emit DeprecationWarning for array's 'u' type code#95760
gh-80480: Emit DeprecationWarning for array's 'u' type code#95760hugovk merged 14 commits intopython:mainfrom
Conversation
|
As a user of the |
|
(I'm working my way through some PRs which have been approved and are labeled "awaiting merge", hence my seemingly bolt from the blue comment. Why? Read here.) Looks like this was approved before @asedeno's comment. Can someone respond to the expressed concern? (It seems no |
|
Thanks for the ping. I commented in the issue, let's continue there. |
|
Updated to target removal in 3.16, following addition of |
vstinner
left a comment
There was a problem hiding this comment.
LGTM. I just left minor remarks on the doc. It's up to you to address them or ignore them ;-) Thanks for the updates.
The "u" type code for
arraywas deprecated in Python 3.3 but only via documentation: https://docs.python.org/3.10/library/array.htmlLet's add the
DeprecationWarning.It was originally planned to be removed in Python 4.0, but that was before we knew if 3.10 or 4.0 would come after 3.9:
#80480 (comment)
So as this is going into
3.123.13, let's target3.143.153.16 for removal.