[issue17830] keyword.py main does not preserve line endings when rewriting keyword file

Zachary Ware report at bugs.python.org
Thu Apr 25 17:15:48 CEST 2013


Zachary Ware added the comment:

Your patch works for me.  And for what it's worth, I agree about not backporting; keywords are frozen and never going to change in 2.7 or 3.3 anyway.

I did find one other small bug in test_keyword; running the test via "-m test.test_keyword", test_real_grammar_and_keyword_file was skipped.  So I've patched your patch to include a fix; GRAMMAR_FILE is now an absolute path with relative elements derived from test_keyword.__file__ rather than a relative path.

----------
Added file: http://bugs.python.org/file30015/test_keyword_patch.diff

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


More information about the Python-bugs-list mailing list