Message370206
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.')
``` |
|
Date |
User |
Action |
Args |
2020-05-28 13:50:28 | Robert Reynolds | set | recipients:
+ Robert Reynolds, loewis, ncoghlan, rbcollins, jjconti, ezio.melotti, eric.araujo, ubershmekel, chortos, dmascialino, eric.snow, Jim.Jewett, Aigars Mahinovs |
2020-05-28 13:50:28 | Robert Reynolds | set | messageid: <1590673828.37.0.269760554354.issue8087@roundup.psfhosted.org> |
2020-05-28 13:50:28 | Robert Reynolds | link | issue8087 messages |
2020-05-28 13:50:28 | Robert Reynolds | create | |
|