Message390519
| Author |
vstinner |
| Recipients |
vstinner |
| Date |
2021年04月08日.09:37:17 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1617874637.53.0.49294024604.issue43770@roundup.psfhosted.org> |
| In-reply-to |
| Content |
PR 25275: this is a subtle difference if PyTypeObject.tp_setattro is set statically to PyObject_GenericSetAttr() or if it's inherited by PyType_Ready().
Reference (master)::
* BaseException.__dict__['__setattr__'] = <slot wrapper '__setattr__' of 'BaseException' objects>
* BaseException.__setattr__ = <slot wrapper '__setattr__' of 'BaseException' objects>
With the PR:
* no '__setattr___' in BaseException.__dict__
* BaseException.__setattr__ = <slot wrapper '__setattr__' of 'object' objects>
Because of that, doctest.DocTestFinder().find(builtins) returns less items, and so test_doctest fails. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2021年04月08日 09:37:17 | vstinner | set | recipients:
+ vstinner |
| 2021年04月08日 09:37:17 | vstinner | set | messageid: <1617874637.53.0.49294024604.issue43770@roundup.psfhosted.org> |
| 2021年04月08日 09:37:17 | vstinner | link | issue43770 messages |
| 2021年04月08日 09:37:17 | vstinner | create |
|