gh-80480: Emit DeprecationWarning for array's 'u' type code by hugovk · Pull Request #95760 · python/cpython (original) (raw)
The "u" type code for array
was deprecated in Python 3.3 but only via documentation: https://docs.python.org/3.10/library/array.html
Let'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:
'4.0' is a stand-in for 'sometime after 2.7.final', scheduled for Jan 2020.
So as this is going into 3.12 3.13, let's target 3.14 3.15 3.16 for removal.