[issue38291] Deprecate the typing.io and typing.re pseudo-modules
Serhiy Storchaka
report at bugs.python.org
Fri Jul 23 13:28:04 EDT 2021
Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:
Currently deprecation warnings are emitted in test_typing:
$ ./python -m test test_typing
0:00:00 load avg: 3.38 Run tests sequentially
0:00:00 load avg: 3.38 [1/1] test_typing
/home/serhiy/py/cpython/Lib/test/test_typing.py:4657: DeprecationWarning: typing.io is deprecated, import directly from typing instead. typing.io will be removed in Python 3.12.
k not in typing.io.__all__ and
/home/serhiy/py/cpython/Lib/test/test_typing.py:4658: DeprecationWarning: typing.re is deprecated, import directly from typing instead. typing.re will be removed in Python 3.12.
k not in typing.re.__all__ and
== Tests result: SUCCESS ==
1 test OK.
Total duration: 564 ms
Tests result: SUCCESS
----------
assignee: docs at python ->
nosy: +serhiy.storchaka
resolution: fixed ->
stage: resolved -> needs patch
status: closed -> open
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38291>
_______________________________________
More information about the Python-bugs-list
mailing list