Message295680
| Author | ncoghlan |
|---|---|
| Recipients | benjamin.peterson, brett.cannon, eric.snow, ncoghlan, ppperry, stutzbach |
| Date | 2017-06-11.01:48:11 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1497145692.41.0.374635548034.issue30626@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
I couldn't reproduce this on 3.7, but I can confirm that 3.6 gives a SystemError with the above code:
$ ./python _issue30626.py
Traceback (most recent call last):
File "_issue30626.py", line 30, in <module>
exec("open(__file__)",dct)
File "<string>", line 1, in <module>
SystemError: <class '_io.TextIOWrapper'> returned NULL without setting an error
It's plausible this was fixed as part of the interpreter startup refactoring, so I doubt we're going to able to easily isolate the specific change that fixed it :( |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2017-06-11 01:48:12 | ncoghlan | set | recipients: + ncoghlan, brett.cannon, benjamin.peterson, stutzbach, eric.snow, ppperry |
| 2017-06-11 01:48:12 | ncoghlan | set | messageid: <1497145692.41.0.374635548034.issue30626@psf.upfronthosting.co.za> |
| 2017-06-11 01:48:12 | ncoghlan | link | issue30626 messages |
| 2017-06-11 01:48:11 | ncoghlan | create | |