Message326755
If we were to ship a "chaos" mode in the CPython interpreter itself, I assume you envision an interpreter flag and/or env var? If it required someone compiling the interpreter a special way I don't think it would be widely adopted within continuous integration testing systems.
I was actually pondering doing a "chaos" mode of sorts at work because I have the power to cause everyone's tests to be run that way mode by default. (I'd basically just disable interning and str/int singletons) But while it's a nice idea, it's low on my work priorities. While we had thousands of is literal comparisons that we're about to fix en-masse, they are only a tiny fraction of all literal comparisons in our codebase. And pylint is now more widely used which should help prevent new ones. |
|
Date |
User |
Action |
Args |
2018-10-01 01:39:37 | gregory.p.smith | set | recipients:
+ gregory.p.smith, gvanrossum, barry, terry.reedy, steven.daprano, njs, serhiy.storchaka, xiang.zhang, miss-islington |
2018-10-01 01:39:36 | gregory.p.smith | set | messageid: <1538357976.94.0.545547206417.issue34850@psf.upfronthosting.co.za> |
2018-10-01 01:39:36 | gregory.p.smith | link | issue34850 messages |
2018-10-01 01:39:35 | gregory.p.smith | create | |
|