[Python-Dev] RFC: PEP 509: Add a private version to dict (original) (raw)
Victor Stinner victor.stinner at gmail.com
Thu Apr 14 15:56:10 EDT 2016
- Previous message (by thread): [Python-Dev] RFC: PEP 509: Add a private version to dict
- Next message (by thread): [Python-Dev] RFC: PEP 509: Add a private version to dict
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Which kind of usage do you see in Cython?
Off-topic (PEP 510):
I really want to experiment automatic generation of Cython code from the Python using profiling to discover function parameters types. Then use the PEP 510 to attach the fast Cython code to a Python function, but fallback to bytecode if the types are different. See the example of builtin functions in the PEP: https://www.python.org/dev/peps/pep-0510/#using-builtin-function
Before having something fully automated, we can use some manual steps, like annotate manually function types, compile manually the code, etc.
Victor
Le jeudi 14 avril 2016, Stefan Behnel <stefan_ml at behnel.de> a écrit :
+1 from me, too. I'm sure we can make some use of this in Cython.
Stefan
Victor Stinner schrieb am 14.04.2016 um 17:19: > PEP: 509 > Title: Add a private version to dict
Python-Dev mailing list Python-Dev at python.org javascript:; https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/victor.stinner%40gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20160414/b0a63927/attachment.html>
- Previous message (by thread): [Python-Dev] RFC: PEP 509: Add a private version to dict
- Next message (by thread): [Python-Dev] RFC: PEP 509: Add a private version to dict
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]