Patches item #1631942, was opened at 2007-01-09 21:12 Message generated for change (Comment added) made by gvanrossum You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1631942&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: None >Group: Python 3000 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Collin Winter (collinwinter) Assigned to: Nobody/Anonymous (nobody) Summary: New exception syntax Initial Comment: The attached patches implement the new "except V as N:" syntax and the solution outlined in http://mail.python.org/pipermail/python-3000/2007-January/005395.html for avoiding exception-related refcount cycles. new_exceptions.patch is the implementation and tests. fixup.patch adjusts the stdlib to use the new syntax. doc_fixes.patch fixes documentation and some docs-related utilities missed by Guido's 2to3 code. All patches are against r53289. ---------------------------------------------------------------------- >Comment By: Guido van Rossum (gvanrossum) Date: 2007-01-09 22:41 Message: Logged In: YES user_id=6380 Originator: NO Reviewing... Seems the merge tfrom the 2.6 trunk that Thomas did made some changes to tarfile.py. Did you have to manually patch anything up after running 2to3/refactor.py -f except on the entire stdlib? patching file Lib/tarfile.py Hunk #1 succeeded at 1540 (offset 38 lines). Hunk #3 succeeded at 1573 (offset 38 lines). Hunk #5 succeeded at 1745 (offset 38 lines). Hunk #7 succeeded at 1786 (offset 38 lines). Hunk #9 FAILED at 1795. 1 out of 9 hunks FAILED -- saving rejects to file Lib/tarfile.py.rej ---------------------------------------------------------------------- Comment By: Collin Winter (collinwinter) Date: 2007-01-09 21:13 Message: Logged In: YES user_id=1344176 Originator: YES File Added: fixup.patch ---------------------------------------------------------------------- Comment By: Collin Winter (collinwinter) Date: 2007-01-09 21:13 Message: Logged In: YES user_id=1344176 Originator: YES File Added: doc_fixes.patch ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1631942&group_id=5470 _______________________________________________ Patches mailing list Patches@python.org http://mail.python.org/mailman/listinfo/patches