[Python-Dev] Adding NewType() to PEP 484 (original) (raw)
Ivan Levkivskyi levkivskyi at gmail.com
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 ]