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 p-ganssle
Recipients mark.dickinson, p-ganssle, serhiy.storchaka
Date 2018-09-14.16:43:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1536943415.19.0.956365154283.issue34676@psf.upfronthosting.co.za>
In-reply-to
Content
I would be somewhat worried that this might break something like numpy (though not numpy specifically) which might be counting on the ability to write a wrapper that overloads this behavior.

Another concern is that people could be playing it fast-and-loose with actual types, and are returning something that fits the bill for a collections.abc.Sequence with length 2 (e.g. return [a, b]) but isn't an actual Tuple.

I would at least think that this should go through a deprecation cycle.
History
Date User Action Args
2018-09-14 16:43:35p-gansslesetrecipients: + p-ganssle, mark.dickinson, serhiy.storchaka
2018-09-14 16:43:35p-gansslesetmessageid: <1536943415.19.0.956365154283.issue34676@psf.upfronthosting.co.za>
2018-09-14 16:43:35p-gansslelinkissue34676 messages
2018-09-14 16:43:35p-gansslecreate