This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients arigo, benjamin.peterson, serhiy.storchaka
Date 2014-01-04.13:18:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1388841487.49.0.120445439362.issue20115@psf.upfronthosting.co.za>
In-reply-to
Content
Indeed.  CPython parser reads first line '#\x00\n' and save it in the buffer. But because C strings are used here (result of decode_str()), the line is truncated to '#'. As far as this data is not ended by '\n', it considered incomplete and next line is read and appended: '#' + 'a' -> '#a'. And this line is commented out now.
History
Date User Action Args
2014-01-04 13:18:07serhiy.storchakasetrecipients: + serhiy.storchaka, arigo, benjamin.peterson
2014-01-04 13:18:07serhiy.storchakasetmessageid: <1388841487.49.0.120445439362.issue20115@psf.upfronthosting.co.za>
2014-01-04 13:18:07serhiy.storchakalinkissue20115 messages
2014-01-04 13:18:07serhiy.storchakacreate