Serhiy Storchaka added the comment:

The problem was that I didn't know wherever all braces repeated correct times. 
Actually they were not used correctly in NoneType_return_converter, but since 
this converter is not used in current sources, this error left unnoticed.

New patch escapes generated strings that can contain braces before substituting 
them in the template for format(). This allows to decrease the braces 
repetition number to minimal value. Now there is no need to quadruple them.

----------
Added file: http://bugs.python.org/file42673/clinic_pep7_braces2.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26305>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to