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 rhubarbdog x
Recipients rhubarbdog x
Date 2019-03-11.01:51:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1552269076.95.0.121796097495.issue36259@roundup.psfhosted.org>
In-reply-to
Content
Hi
i have a directory containing a directory `bug` and the python program `bad.py`.  The code for `bad.py` is
```
import os

os.chdir('bug')
print(7/0)
```

directory `bug` contains a file `bad.py` this file contents are
```
test 1
test 2
test 3
test 4
test 5
test 6
```

when i run the python script i get the error text
```
Traceback (most recent call last):
  File "bad.py", line 4, in <module>
    test 4
ZeroDivisionError: division by zero
```
History
Date User Action Args
2019-03-11 01:51:16rhubarbdog xsetrecipients: + rhubarbdog x
2019-03-11 01:51:16rhubarbdog xsetmessageid: <1552269076.95.0.121796097495.issue36259@roundup.psfhosted.org>
2019-03-11 01:51:16rhubarbdog xlinkissue36259 messages
2019-03-11 01:51:16rhubarbdog xcreate