From: SourceForge.net <no...@so...> - 2007-08-13 07:30:03
|
Patches item #1772895, was opened at 2007-08-13 11:29 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312867&aid=1772895&group_id=12867 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: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: ayesha (ayeshaiqbal) Assigned to: Nobody/Anonymous (nobody) Summary: patch for bug [1768988] :isinstance,issubclass Initial Comment: Hi, I have enclosed a patch for the bug 1768988 .Now isinstance and issubclass check the no of times recursion has been performed and if the tuple is too deeply nested then a runtime exception is raised instead of allowing the recursion stack to overflow.This is identical to the functionality exhibited by isinstance and issubclass in python Thanks, Ayesha ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312867&aid=1772895&group_id=12867 |
From: SourceForge.net <no...@so...> - 2007-08-16 03:35:41
|
Patches item #1772895, was opened at 2007-08-13 11:29 Message generated for change (Comment added) made by ayeshaiqbal You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312867&aid=1772895&group_id=12867 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: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: ayesha (ayeshaiqbal) Assigned to: Nobody/Anonymous (nobody) Summary: patch for bug [1768988] :isinstance,issubclass Initial Comment: Hi, I have enclosed a patch for the bug 1768988 .Now isinstance and issubclass check the no of times recursion has been performed and if the tuple is too deeply nested then a runtime exception is raised instead of allowing the recursion stack to overflow.This is identical to the functionality exhibited by isinstance and issubclass in python Thanks, Ayesha ---------------------------------------------------------------------- >Comment By: ayesha (ayeshaiqbal) Date: 2007-08-16 07:35 Message: Logged In: YES user_id=1856489 Originator: YES The new patch contains the changes made to the test file test_isinstance.py.This test runs properly now File Added: isinstance.patch ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312867&aid=1772895&group_id=12867 |
From: SourceForge.net <no...@so...> - 2007-08-20 06:35:58
|
Patches item #1772895, was opened at 2007-08-13 02:29 Message generated for change (Comment added) made by cgroves You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312867&aid=1772895&group_id=12867 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: None >Status: Closed >Resolution: Accepted Priority: 5 Private: No Submitted By: ayesha (ayeshaiqbal) Assigned to: Nobody/Anonymous (nobody) Summary: patch for bug [1768988] :isinstance,issubclass Initial Comment: Hi, I have enclosed a patch for the bug 1768988 .Now isinstance and issubclass check the no of times recursion has been performed and if the tuple is too deeply nested then a runtime exception is raised instead of allowing the recursion stack to overflow.This is identical to the functionality exhibited by isinstance and issubclass in python Thanks, Ayesha ---------------------------------------------------------------------- >Comment By: Charles Groves (cgroves) Date: 2007-08-20 01:35 Message: Logged In: YES user_id=1174327 Originator: NO Committed the patch with some minor modifications in r3436. Since issubclass and isinstance can be called by interpreters running in separate threads, I replaced the static recursion counter with an argument to the function. ---------------------------------------------------------------------- Comment By: ayesha (ayeshaiqbal) Date: 2007-08-15 22:35 Message: Logged In: YES user_id=1856489 Originator: YES The new patch contains the changes made to the test file test_isinstance.py.This test runs properly now File Added: isinstance.patch ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312867&aid=1772895&group_id=12867 |