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 Robert Reynolds
Recipients Aigars Mahinovs, Jim.Jewett, Robert Reynolds, chortos, dmascialino, eric.araujo, eric.snow, ezio.melotti, jjconti, loewis, ncoghlan, rbcollins, ubershmekel
Date 2020-05-28.13:50:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1590673828.37.0.269760554354.issue8087@roundup.psfhosted.org>
In-reply-to
Content
A pure python demonstration of the problem looks like this (`__file__` stores the path to the executed module):

```python
with open(__file__) as f:
    src = f.read()
with open(__file__, 'w') as f:
    f.write('\n\n\n\n\n# Whoops! Wrong line!\n')
    f.write(src)
raise NotImplementedError('The prepended lines have confused you.')
```
History
Date User Action Args
2020-05-28 13:50:28Robert Reynoldssetrecipients: + Robert Reynolds, loewis, ncoghlan, rbcollins, jjconti, ezio.melotti, eric.araujo, ubershmekel, chortos, dmascialino, eric.snow, Jim.Jewett, Aigars Mahinovs
2020-05-28 13:50:28Robert Reynoldssetmessageid: <1590673828.37.0.269760554354.issue8087@roundup.psfhosted.org>
2020-05-28 13:50:28Robert Reynoldslinkissue8087 messages
2020-05-28 13:50:28Robert Reynoldscreate