Message212038
I can reproduce the problem. I started debugging it; the issue is that, after reading the two comment lines (and detecting the source encoding), fileio_readinto gets called, which calls read(), and read() returns 17 (bytes read), with are
"-\n\nprint('test')"
So for some reason, the - is not consumed yet, even though it was previously read out of the file descriptor. |
|
Date |
User |
Action |
Args |
2014-02-23 22:50:54 | loewis | set | recipients:
+ loewis, r.david.murray, OPi |
2014-02-23 22:50:54 | loewis | set | messageid: <1393195854.59.0.44065875827.issue20731@psf.upfronthosting.co.za> |
2014-02-23 22:50:54 | loewis | link | issue20731 messages |
2014-02-23 22:50:54 | loewis | create | |
|