[Patches] [ python-Patches-1757118 ] utilize 2.5 try/except/finally in contextlib

SourceForge.net noreply at sourceforge.net
Thu Jul 19 22:17:54 CEST 2007


Patches item #1757118, was opened at 2007-07-19 21:17
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1757118&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Library (Lib)
Group: Python 2.6
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Philip Jenvey (pjenvey)
Assigned to: Nobody/Anonymous (nobody)
Summary: utilize 2.5 try/except/finally in contextlib

Initial Comment:
Lib/contextlib.py was added in Python 2.5, but doesn't take advantage of the combined try/except/finally block also added in 2.5.

This small patch has contextlib.contextmanager use it.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1757118&group_id=5470


More information about the Patches mailing list