[Python-Dev] PEP 362: 4th edition (original) (raw)
Yury Selivanov yselivanov.ml at gmail.com
Fri Jun 15 23:07:46 CEST 2012
- Previous message: [Python-Dev] PEP 362: 4th edition
- Next message: [Python-Dev] PEP 362: 4th edition
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 2012-06-15, at 4:48 PM, Victor Stinner wrote: [snip]
Would it be possible to only create a signature for builtin the first time that you read its signature attribute? I don't know how to implement such behaviour on a builtin function. I don't know if it's important to decide this right now.
I don't want to create a signature at startup if it is not used, because it would waste memory (as docstrings? :-)).
I think when we have the working mechanism to generate them in place, we can make it lazy.
Or we might drop signature if python -O is used?
No, that'd be unacceptable.
- Yury
- Previous message: [Python-Dev] PEP 362: 4th edition
- Next message: [Python-Dev] PEP 362: 4th edition
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]