Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:
Right, and that is considered to be a non-issue due to
that close() is allowed multiple times without causing harm.
--
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by R. David Murray rdmur...@bitdance.com:
--
assignee: - r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11701
___
___
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:
This patch fixes the problem.
It was introduced in e727cf35.
David Murray, i've looked into test_email.py to add tests
for this, and i found TestIdempotent().
What i would do is try to split that thing up so that it covers
str()
R. David Murray rdmur...@bitdance.com added the comment:
For easy reference, here's a hash for that changeset that roundup will turn
into a link: e727cf354720.
TestIdempotent is already run for both the bytes and str cases (they are widely
separated in the test file...I'll fix that at some
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:
On Wed, Apr 13, 2011 at 01:07:28PM +, R. David Murray wrote:
TestIdempotent is already run for both the bytes and str cases
(*^.^*)
Ouch. Searching is only for the experienced.
--
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:
So i'll changed the existing message_from_(binary_)?file() tests
to also test the file closing.
--
Added file: http://bugs.python.org/file21649/11701.2.diff
___
Python tracker
Changes by Brett Cannon br...@python.org:
--
nosy: -brett.cannon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11701
___
___
Python-bugs-list