[issue17715] Raising an exception in __trunc__ gives a segmentation fault.

2013-04-13 Thread Mark Dickinson
Changes by Mark Dickinson : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue17715] Raising an exception in __trunc__ gives a segmentation fault.

2013-04-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 52bd2035e70a by Mark Dickinson in branch '3.3': Issue #17715: Add missing NULL Check to PyNumber_Long. http://hg.python.org/cpython/rev/52bd2035e70a New changeset 5358ee70f831 by Mark Dickinson in branch 'default': Issue #17715: Merge fix from 3.3.

[issue17715] Raising an exception in __trunc__ gives a segmentation fault.

2013-04-13 Thread Benjamin Peterson
Benjamin Peterson added the comment: LGTM -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue17715] Raising an exception in __trunc__ gives a segmentation fault.

2013-04-13 Thread Mark Dickinson
Mark Dickinson added the comment: Here's a patch. -- keywords: +patch Added file: http://bugs.python.org/file29800/issue17715.patch ___ Python tracker ___ ___

[issue17715] Raising an exception in __trunc__ gives a segmentation fault.

2013-04-13 Thread Mark Dickinson
Changes by Mark Dickinson : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue17715] Raising an exception in __trunc__ gives a segmentation fault.

2013-04-13 Thread Mark Dickinson
Mark Dickinson added the comment: Also affects 3.3. 2.7 seems to be okay. -- versions: +Python 3.3 ___ Python tracker ___ ___ Python-

[issue17715] Raising an exception in __trunc__ gives a segmentation fault.

2013-04-13 Thread Mark Dickinson
New submission from Mark Dickinson: Python 3.4.0a0 (default:838fdf3bb0c6, Apr 13 2013, 16:54:22) [GCC 4.2.1 (Apple Inc. build 5664)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> class A: ... def __trunc__(self): 1/0 ... >>> int(A()) Segmentation fault