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 serhiy.storchaka
Recipients rhettinger, serhiy.storchaka
Date 2016-04-29.06:29:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1461911360.58.0.917817733289.issue26880@psf.upfronthosting.co.za>
In-reply-to
Content
set.__init__ have checks PyAnySet_Check(self) and PySet_Check(self). They are redundant since set.__init__ can't be called for non-set.

>>> set.__init__(frozenset(), ())
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: descriptor '__init__' requires a 'set' object but received a 'frozenset'

Do I miss something?
History
Date User Action Args
2016-04-29 06:29:20serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger
2016-04-29 06:29:20serhiy.storchakasetmessageid: <1461911360.58.0.917817733289.issue26880@psf.upfronthosting.co.za>
2016-04-29 06:29:20serhiy.storchakalinkissue26880 messages
2016-04-29 06:29:19serhiy.storchakacreate