STINNER Victor <[email protected]> added the comment:
According to msg391924, more types should use Py_TPFLAGS_DISALLOW_INSTANTIATION:
* _md5.md5
* _sha1.sha1
* _sha256.sha224
* _sha256.sha256
* _sha512.sha384
* _sha512.sha512
* select.devpoll: I created PR 25751
* select.kevent: it implements a working tp_new method: "{Py_tp_new,
select_kqueue},"
* sqlite3.Cache
* sqlite3.Connection
* sqlite3.Cursor
* sqlite3.Node
* sqlite3.Row
* sqlite3.Statement
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue43916>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com