Message413541
ast.Constant.n is documented to be deprecated, but you don't get any warning when you use it:
$ python3.11 -Wd
Python 3.11.0a5 (main, Feb 12 2022, 17:11:59) [GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import ast
>>> help(ast.Constant.n)
Help on property:
Deprecated. Use value instead.
>>> ast.Constant(value=42).n
42 |
|
Date |
User |
Action |
Args |
2022-02-19 08:29:17 | jwilk | set | recipients:
+ jwilk, serhiy.storchaka |
2022-02-19 08:29:16 | jwilk | set | messageid: <1645259356.98.0.34127429103.issue46797@roundup.psfhosted.org> |
2022-02-19 08:29:16 | jwilk | link | issue46797 messages |
2022-02-19 08:29:16 | jwilk | create | |
|