raymond.hettinger wrote:
Author: raymond.hettinger
Date: Fri May 29 00:20:03 2009
New Revision: 72995
Log:
Deprecate contextlib.nested(). The with-statement now provides this
functionality directly.
Modified:
python/branches/py3k/Doc/library/contextlib.rst
python/branches/py3k/Doc/whatsnew/3.1.rst
python/branches/py3k/Lib/contextlib.py
python/branches/py3k/Lib/test/test_contextlib.py
python/branches/py3k/Misc/NEWS
Shouldn't the test cases exist as long as contextlib.nested still
exists? We want to make sure it works, after all. I think they should be
removed only when .nested is itself deleted.
Eric.
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com