[Python-Dev] Rough idea for adding introspection information for builtins (original) (raw)
Barry Warsaw barry at python.org
Tue Mar 19 18:01:06 CET 2013
- Previous message: [Python-Dev] Rough idea for adding introspection information for builtins
- Next message: [Python-Dev] Tarfile CLI
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mar 18, 2013, at 09:45 PM, Larry Hastings wrote:
4. Store a string that looks like the Python declaration of the signature, and parse it (Nick's suggestion). For foo above, this would be "(arg,b=3,*,kwonly='a')". Length: 23 bytes.
Very nice.
-Barry
- Previous message: [Python-Dev] Rough idea for adding introspection information for builtins
- Next message: [Python-Dev] Tarfile CLI
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]