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

Larry Hastings report at bugs.python.org
Mon Jan 6 16:50:12 CET 2014


Larry Hastings added the comment:

Here's the problem.  Let's say I gave you a way of specifying a symbolic constant for the default value for C.  What value should we use for the default value in Python?  Keep in mind, it has to be expressed as a static value that can be stored as a string as part of the __text_signature__ at the front of the docstring.

If you can answer that question, we can solve the problem.

----------

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


More information about the Python-bugs-list mailing list