[pypy-issue] [issue1251] distutil bug in pypy when installing Limnoria

Amaury Forgeot d Arc tracker at bugs.pypy.org
Wed Sep 5 02:11:02 CEST 2012

Amaury Forgeot d Arc <amauryfa at gmail.com> added the comment:

setup.py has this code::
   open(...version.py', 'w').write(...)
See in http://pypy.readthedocs.org/en/latest/cpython_differences.html#differences-related-to-
the code should really close the file, or use a "with" statement to ensure that data is flushed:

with open(...version.py', 'w') as f:

nosy: +afa
status: unread -> wontfix

PyPy bug tracker <tracker at bugs.pypy.org>

More information about the pypy-issue mailing list