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 eric.smith
Recipients eric.smith, vinayakuh
Date 2021-09-30.06:38:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1632983885.58.0.833152383376.issue45327@roundup.psfhosted.org>
In-reply-to
Content
You can demonstrate this without the json module:

# python2
>>> open(False)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: coercing to Unicode: need string or buffer, bool found

# python3
>>> open(False).readlines()

The python3 version doesn't return.
History
Date User Action Args
2021-09-30 06:38:05eric.smithsetrecipients: + eric.smith, vinayakuh
2021-09-30 06:38:05eric.smithsetmessageid: <1632983885.58.0.833152383376.issue45327@roundup.psfhosted.org>
2021-09-30 06:38:05eric.smithlinkissue45327 messages
2021-09-30 06:38:05eric.smithcreate