[Python-Dev] Constructing expected_opinfo_* lists in test_dis.py

2021-01-31 Thread Skip Montanaro
I'm still messing around with my register VM stuff (off-and-on). I'm trying to adjust to some changes made a while ago, particularly (but probably not exclusively) after RERAISE acquired an argument. As a result, at least the expected_opinfo_jumpy list changed in a substantial way. I can manually w

[Python-Dev] Re: Constructing expected_opinfo_* lists in test_dis.py

2021-01-31 Thread Guido van Rossum
Maybe these lines in test_dis.py? ``` #print('expected_opinfo_jumpy = [\n ', #',\n '.join(map(str, _instructions)), ',\n]', sep='') ``` On Sun, Jan 31, 2021 at 6:07 PM Skip Montanaro wrote: > I'm still messing around with my register VM stuff (off-and-on). I'm > trying to adjust to some

[Python-Dev] PEP 597: Add optional EncodingWarning

2021-01-31 Thread Inada Naoki
Hi, all. I updated the PEP 597 yesterday. Please review it to move it forward. PEP: https://www.python.org/dev/peps/pep-0597/ Previous thread: https://discuss.python.org/t/3880 Main difference from the previous version: * Added new warning category; EncodingWarning * Added dedicated option to e