Author bar.harel
Recipients aganders3, aviramha, bar.harel, benjamin.peterson, brandtbucher, bukzor, georg.brandl, jmillikin, levkivskyi, miss-islington, pitrou, rhettinger, serhiy.storchaka
Date 2022-01-15.04:01:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1642219274.15.0.297196663217.issue46376@roundup.psfhosted.org>
In-reply-to
Content
Another question we should ask is about duck typing. Is a sequence which doesn't inherit from abc.Sequence considered a sequence? Whatever the answer is, PySequence specifically looks for a sequence and removes duck typing out of the picture. The object will not pass static typing and will not pass isinstance check, so there's no reason for it to pass PySequence.
History
Date User Action Args
2022-01-15 04:01:14bar.harelsetrecipients: + bar.harel, georg.brandl, rhettinger, pitrou, benjamin.peterson, jmillikin, bukzor, aganders3, serhiy.storchaka, levkivskyi, miss-islington, brandtbucher, aviramha
2022-01-15 04:01:14bar.harelsetmessageid: <1642219274.15.0.297196663217.issue46376@roundup.psfhosted.org>
2022-01-15 04:01:14bar.harellinkissue46376 messages
2022-01-15 04:01:14bar.harelcreate