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 Mo Ali
Recipients Mo Ali, serhiy.storchaka
Date 2017-01-17.15:10:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1484665811.34.0.271605857763.issue29297@psf.upfronthosting.co.za>
In-reply-to
Content
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()
...
History
Date User Action Args
2017-01-17 15:10:11Mo Alisetrecipients: + Mo Ali, serhiy.storchaka
2017-01-17 15:10:11Mo Alisetmessageid: <1484665811.34.0.271605857763.issue29297@psf.upfronthosting.co.za>
2017-01-17 15:10:11Mo Alilinkissue29297 messages
2017-01-17 15:10:11Mo Alicreate