[issue20144] Argument Clinic doesn't support named constants as default values

Barry A. Warsaw report at bugs.python.org
Mon Jan 6 20:40:09 CET 2014


Barry A. Warsaw added the comment:

It seems a little unfortunate that you lose the symbolic default, especially since the expanded number just appears random.

>>> print(inspect.signature(os.stat))
(path, *, dir_fd=None, follow_symlinks=True, fake=9223372036854775807)
>>> sys.maxsize
9223372036854775807

----------
nosy: +barry

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20144>
_______________________________________


More information about the Python-bugs-list mailing list