mattip added the comment:
Correct, the other patches were against pypy, sorry.
I now patched and tested against banch 2.7 on the python tree.
--
Added file: http://bugs.python.org/file34720/patch
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
I'm wondering why resource warnings are not raised in CPython?
./python -Werror -bb -m test.regrtest -uall test_argparse test_file
test_httpservers
--
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset b56341a49eab by Benjamin Peterson in branch '2.7':
make temporary read-only files writable, so rmtree can remove them (#21128)
http://hg.python.org/cpython/rev/b56341a49eab
New changeset 6f1ac58207cc by Benjamin Peterson in branch '2.7':
properly
Changes by Benjamin Peterson benja...@python.org:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21128
___
mattip added the comment:
the gc.collect is not needed, sorry. I updated the patch, which affects
test_argparse.py (make files rw before rmtree)
test_file.py (add file.close() )
test_file2k.py (add file.close() )
test_httpservers.py (add file.close() )
--
Added file:
Benjamin Peterson added the comment:
This patch appears to have been generated against a pypy checkout rather than a
cpython checkout.
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21128
Changes by Brett Cannon br...@python.org:
--
nosy: +brett.cannon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21128
___
___
Python-bugs-list
New submission from mattip:
In continuation of issue 20887, this patch closes and removes all temp files
created while running regression tests for stdlib 2.7.6 on win32 and pypy. Note
that a gc.collect was required to release the closed files in test_argparse, as
well as making them all rw.
Changes by Ned Deily n...@acm.org:
--
keywords: +patch
nosy: +serhiy.storchaka
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21128
___