[Python-Dev] Adding NewType() to PEP 484
Ivan Levkivskyi
levkivskyi at gmail.com
Fri May 27 14:58:26 EDT 2016
More information about the Python-Dev mailing list
Fri May 27 14:58:26 EDT 2016
- Previous message (by thread): [Python-Dev] embedding - PyImport_AppendInittab() after Py_Initialize()
- Next message (by thread): [Python-Dev] Adding NewType() to PEP 484
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, It has been proposed to enhance the typing module with a NewType function that allows to define simple unique types with almost zero runtime overhead. The PR containing actual implementation and PEP 484 update is here: https://github.com/python/typing/pull/226 Review comments are very welcome. Best regards, Ivan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20160527/5a6d297a/attachment.html>
- Previous message (by thread): [Python-Dev] embedding - PyImport_AppendInittab() after Py_Initialize()
- Next message (by thread): [Python-Dev] Adding NewType() to PEP 484
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list