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 franck
Recipients Ramchandra Apte, franck, mark.dickinson, terry.reedy
Date 2013-02-09.13:49:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1360417784.06.0.325413761261.issue17157@psf.upfronthosting.co.za>
In-reply-to
Content
I am neutral on this too, it just felt odd and this is why the question raised.

Yesterday I tried to add sequences and iterables (only to issubclass but indeed it would need better testing and all) and came to a problem with sequences. The current implementation authorizes (A, (B, (C, D))) (why?) so issubclass is recursive, but if we add sequences, they could create infinite recursions if seq[0] == seq (it's the case for strings for example, where 'a' is still a sequence and 'a'[0] == 'a').

So I don't know if it's really interesting. Anyone can use tuple() on an iterable to build its tuple value, though the value is built in memory. It basically just felt odd to take only tuples but I don't know.
History
Date User Action Args
2013-02-09 13:49:44francksetrecipients: + franck, terry.reedy, mark.dickinson, Ramchandra Apte
2013-02-09 13:49:44francksetmessageid: <1360417784.06.0.325413761261.issue17157@psf.upfronthosting.co.za>
2013-02-09 13:49:44francklinkissue17157 messages
2013-02-09 13:49:43franckcreate