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.araujo
Recipients alexis, eli.collins, eric.araujo, tarek
Date 2011-11-26.14:17:26
SpamBayes Score 1.1670886e-08
Marked as misclassified No
Message-id <1322317047.65.0.66125206804.issue12424@psf.upfronthosting.co.za>
In-reply-to
Content
> if a line ends with ";;", _pop_values() will call interpret() with an empty string. [...]
> it just means interpret() would return False, causing the line to be ignored, which is probably
> fine for that border case

Hm, I’d rather call that a bug.  _pop_values should not call interpret, or interpret('') should return True (there is no condition that fails), or _pop_values should raise an exception (pro: errors should never pass silently, con: it’s not an error if we define that the empty string is a no-op, and it’s more user-friendly to do that).  I’m inclined to let interpret(''), do you think it’s sensible?
History
Date User Action Args
2011-11-26 14:17:27eric.araujosetrecipients: + eric.araujo, tarek, alexis, eli.collins
2011-11-26 14:17:27eric.araujosetmessageid: <1322317047.65.0.66125206804.issue12424@psf.upfronthosting.co.za>
2011-11-26 14:17:27eric.araujolinkissue12424 messages
2011-11-26 14:17:26eric.araujocreate