Message330838
> In my experience people are more likely to run code through a linter than they are to ever run an interpreter with DeprecationWarning enabled.
This used to be true, and it was a disaster. So there's been a lot of work to fix it, and it's not true anymore.
Starting in 3.7, the built-in REPL has DeprecationWarning enabled by default, as do all standalone scripts (see PEP 565).
IPython/Jupyter has enabled DeprecationWarning by default for interactive code for about 3 years now: https://github.com/ipython/ipython/issues/8478
pytest started showing DeprecationWarnings by default a few months ago, and unittest has done so for ages.
I don't think I've ever met someone who skipped straight to linting, without ever having used a REPL, or written a script, or written a test :-) |
|
Date |
User |
Action |
Args |
2018-12-01 01:45:00 | njs | set | recipients:
+ njs, barry, nascheme, rhettinger, terry.reedy, gregory.p.smith, jwilk, steven.daprano, serhiy.storchaka, xiang.zhang, miss-islington |
2018-12-01 01:45:00 | njs | set | messageid: <1543628700.87.0.788709270274.issue34850@psf.upfronthosting.co.za> |
2018-12-01 01:45:00 | njs | link | issue34850 messages |
2018-12-01 01:44:59 | njs | create | |
|