Steve Strassmann added the comment:
Sorry, I haven't installed python 3.*, I just have default Mac OS python 2.7.
Here's a minimal test case. Tar expands to
file structure:
Steve Strassmann added the comment:
There seem to be several bugs involving this particular inner loop in
gettext._parse(), but I don't think they're equivalent.
The present bug (issue17898) is that parsing a plural header breaks the
following header when it happens to be
New submission from Steve Strassmann:
The gettext.py parser used by django (lib/python2.7/gettext.py),
GNUTranslations._parse(), around line 313 does not use clean values for k,v on
each
iteration ("for item in tmsg.splitlines():")
To reproduce the problem (see traceback, below), try