]> granicus.if.org Git - python/commit
Issue #20530: Argument Clinic's signature format has been revised again.
authorLarry Hastings <larry@hastings.org>
Sun, 9 Feb 2014 06:15:29 +0000 (22:15 -0800)
committerLarry Hastings <larry@hastings.org>
Sun, 9 Feb 2014 06:15:29 +0000 (22:15 -0800)
commit2623c8c23cead505a78ec416072223552e94727e
tree9ac129d693fd98eb33d548bc836d89e006bbb937
parent09f08fe2483aaefba367c6b0b4654c3490a32c42
Issue #20530: Argument Clinic's signature format has been revised again.
The new syntax is highly human readable while still preventing false
positives.  The syntax also extends Python syntax to denote "self" and
positional-only parameters, allowing inspect.Signature objects to be
totally accurate for all supported builtins in Python 3.4.
28 files changed:
Include/object.h
Lib/inspect.py
Lib/test/test_capi.py
Lib/test/test_inspect.py
Misc/NEWS
Modules/_cryptmodule.c
Modules/_datetimemodule.c
Modules/_dbmmodule.c
Modules/_opcode.c
Modules/_sre.c
Modules/_testcapimodule.c
Modules/_weakref.c
Modules/clinic/_bz2module.c.h
Modules/clinic/_lzmamodule.c.h
Modules/clinic/_pickle.c.h
Modules/clinic/audioop.c.h
Modules/clinic/binascii.c.h
Modules/clinic/zlibmodule.c.h
Modules/posixmodule.c
Modules/unicodedata.c
Objects/descrobject.c
Objects/dictobject.c
Objects/methodobject.c
Objects/typeobject.c
Objects/unicodeobject.c
Python/import.c
Tools/clinic/clinic.py
Tools/clinic/clinic_test.py