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 hagen
Recipients amaury.forgeotdarc, hagen, kcarnold
Date 2009-06-03.09:13:37
SpamBayes Score 2.637824e-05
Marked as misclassified No
Message-id <1244020423.47.0.569917733774.issue4806@psf.upfronthosting.co.za>
In-reply-to
Content
I added a simple check for iterables. This is not very elegant, but
performance is only affected in the case of an exception. Patch and
corresponsing test are attached as "TypeError.patch".

As I pointed out above, the actual error message "must be a sequence" is
also inconsistent with the implementation (and tests) which allows any
kind of iterable. The attached and independent patch
"message_and_docs.patch" changes this to "must be an iterable" and
corrects docs and tests accordingly.
History
Date User Action Args
2009-06-03 09:13:44hagensetrecipients: + hagen, amaury.forgeotdarc, kcarnold
2009-06-03 09:13:43hagensetmessageid: <1244020423.47.0.569917733774.issue4806@psf.upfronthosting.co.za>
2009-06-03 09:13:41hagenlinkissue4806 messages
2009-06-03 09:13:39hagencreate