Message264467
| 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:20 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger |
| 2016年04月29日 06:29:20 | serhiy.storchaka | set | messageid: <1461911360.58.0.917817733289.issue26880@psf.upfronthosting.co.za> |
| 2016年04月29日 06:29:20 | serhiy.storchaka | link | issue26880 messages |
| 2016年04月29日 06:29:19 | serhiy.storchaka | create |
|