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 vstinner
Recipients martin.panter, ned.deily, neologix, pitrou, python-dev, vstinner
Date 2015-03-03.01:46:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1425347165.89.0.0960055979323.issue23285@psf.upfronthosting.co.za>
In-reply-to
Content
The change on Modules/_io/fileio.c is wrong: functions may return None with an exception set. It is wrong because a function must return a result with no exception set, or NULL and an exception set.

Attached patch fixes this issue.
History
Date User Action Args
2015-03-03 01:46:06vstinnersetrecipients: + vstinner, pitrou, ned.deily, neologix, python-dev, martin.panter
2015-03-03 01:46:05vstinnersetmessageid: <1425347165.89.0.0960055979323.issue23285@psf.upfronthosting.co.za>
2015-03-03 01:46:05vstinnerlinkissue23285 messages
2015-03-03 01:46:05vstinnercreate