paul j3 <ajipa...@gmail.com> added the comment:

That usage formatting is extremely brittle.  It's not just "" metavar that can 
mess it up.  Other 'usual' characters can mess it in the same way.

The underlying problem is that it formats the whole usage, and if it is too 
long tries to split it into pieces, and then reassemble it in wrapped lines.  
The assertion tries to verify that the split was accurate.  

Usage really needs to be rewritten in a way that keeps the individual Action 
pieces separate until it is ready to assemble them into final lines.  Anything 
else is just bandaids.

----------

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

Reply via email to