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 eckhardt
Recipients eckhardt
Date 2009-01-04.11:17:14
SpamBayes Score 0.006401723
Marked as misclassified No
Message-id <1231067838.12.0.558588021919.issue4829@psf.upfronthosting.co.za>
In-reply-to
Content
Specifying the '+' more than once while opening a file results in the
error "Must have exactly one of read/write/append mode". The attached
patch extends that with ".. and at most one optional plus".

Further, the patch checks these after the loop that parses the mode
string, avoiding some unnecessary gotos and saving a few lines of code
overall.
History
Date User Action Args
2009-01-04 11:17:18eckhardtsetrecipients: + eckhardt
2009-01-04 11:17:18eckhardtsetmessageid: <1231067838.12.0.558588021919.issue4829@psf.upfronthosting.co.za>
2009-01-04 11:17:16eckhardtlinkissue4829 messages
2009-01-04 11:17:15eckhardtcreate