[issue20381] Argument Clinic: expression default arguments broken

Zachary Ware report at bugs.python.org
Fri Jan 24 18:35:27 CET 2014


Zachary Ware added the comment:

This also prevents a vanilla trunk build (as of 85710aa396ef) from succeeding at 'Tools/clinic/clinic.py --make':

Error in file ".\Modules\_sre.c" on line 574:
Unsupported expression as default value: 'sys.maxsize'

I think the only reasonable check we can do is to make sure there aren't any syntax errors in the default value (see patch), but there may well be something I'm missing here.

----------
keywords: +patch
Added file: http://bugs.python.org/file33687/issue20381.diff

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


More information about the Python-bugs-list mailing list