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 Chen.ZHANG
Recipients Chen.ZHANG
Date 2014-01-28.09:27:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Since the usage of isinstance could be "isinstance(1, (int, float))", I'm wondering why it doesn't accept "[int, float]", if I do so, it would raise TypeError saying "arg 2 must be a type or tuple of types". What's the difference in effect between a tuple and a list here? (I know a tuple is immutable, but I think it doesn't matter when passing some other types of non-string iterables(yielding strings), am I right?
Date User Action Args
2014-01-28 09:27:54Chen.ZHANGsetrecipients: + Chen.ZHANG
2014-01-28 09:27:54Chen.ZHANGsetmessageid: <>
2014-01-28 09:27:54Chen.ZHANGlinkissue20415 messages
2014-01-28 09:27:53Chen.ZHANGcreate