Message285649
Serhiy,
I expected a type error or a filenotfound like you received, however mine doesn't return the same. It just hangs. I've attached a picture. Also, I meant this to be for 3.6 not 3.5.
>>> test = False
>>> with open(test) as f:
... fail = f.read()
... |
|
Date |
User |
Action |
Args |
2017-01-17 15:10:11 | Mo Ali | set | recipients:
+ Mo Ali, serhiy.storchaka |
2017-01-17 15:10:11 | Mo Ali | set | messageid: <1484665811.34.0.271605857763.issue29297@psf.upfronthosting.co.za> |
2017-01-17 15:10:11 | Mo Ali | link | issue29297 messages |
2017-01-17 15:10:11 | Mo Ali | create | |
|