[Python-Dev] r85960 - python/branches/py3k/Lib/test/test_mailbox.py (original) (raw)
Georg Brandl g.brandl at gmx.net
Sat Oct 30 16:33:01 CEST 2010
- Previous message: [Python-Dev] r85960 - python/branches/py3k/Lib/test/test_mailbox.py
- Next message: [Python-Dev] [Python-checkins] r85934 - in python/branches/py3k: Misc/NEWS Modules/socketmodule.c
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Am 30.10.2010 12:12, schrieb Antoine Pitrou:
On Sat, 30 Oct 2010 02:13:01 +0200 (CEST) brett.cannon <python-checkins at python.org> wrote:
Author: brett.cannon Date: Sat Oct 30 02:13:00 2010 New Revision: 85960
Log: Silence some ResourceWarning in testmailbox by using file context managers. Unfortunately, these file-like objects don't support the context management protocol
Should be fixed in r85979. Do we want Mailboxes themselves to be context managers?
Georg
Thus spake the Lord: Thou shalt indent with four spaces. No more, no less. Four shall be the number of spaces thou shalt indent, and the number of thy indenting shall be four. Eight shalt thou not indent, nor either indent thou two, excepting that thou then proceed to four. Tabs are right out.
- Previous message: [Python-Dev] r85960 - python/branches/py3k/Lib/test/test_mailbox.py
- Next message: [Python-Dev] [Python-checkins] r85934 - in python/branches/py3k: Misc/NEWS Modules/socketmodule.c
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]