Patches item #1675981, was opened at 2007-03-07 19:34 Message generated for change (Comment added) made by loewis You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1675981&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: Core (C code) Group: Python 2.5 Status: Open >Resolution: Accepted Priority: 5 Private: No Submitted By: Žiga Seilnacht (zseil) >Assigned to: Žiga Seilnacht (zseil) Summary: Remove dead code in typeobject's type_new() Initial Comment: The code that this patch removes can never be reached; __dict__ and __weakref__ are removed from the slots tuple earlier in the code, in the loop that mangles slot names, around line 1850. I think that this code was just overlooked in the last refactoring, in revision 28166. ---------------------------------------------------------------------- >Comment By: Martin v. Löwis (loewis) Date: 2007-03-10 12:57 Message: Logged In: YES user_id=21627 Originator: NO This looks fine, please apply. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1675981&group_id=5470 _______________________________________________ Patches mailing list Patches@python.org http://mail.python.org/mailman/listinfo/patches