[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-
garbage-collection-strategies
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:
   f.write(...)

----------
nosy: +afa
status: unread -> wontfix

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1251>
________________________________________


More information about the pypy-issue mailing list