-
-
Save robertwb/21274dec8d876812148537700d22b69a to your computer and use it in GitHub Desktop.
Attachment trac_562-ipow-crash.patch for http://trac.cython.org/ticket/562
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# HG changeset patch | |
# User Carl Witty <Carl.Witty@gmail.com> | |
# Date 1280273746 25200 | |
# Node ID 38cbd4dff1d97531c4e98c335b6d1e54711f160e | |
# Parent ee7d9e8b339e5056f6d602ac50e3d55b7756628b | |
trac #562: test case for segmentation fault | |
diff --git a/tests/run/ipow_crash_T562.pyx b/tests/run/ipow_crash_T562.pyx | |
new file mode 100644 | |
--- /dev/null | |
+++ b/tests/run/ipow_crash_T562.pyx | |
@@ -0,0 +1,6 @@ | |
+cdef class CrashIPOW: | |
+ """ | |
+ >>> CrashIPOW().__ipow__('a') | |
+ """ | |
+ def __ipow__(self, other, mod): | |
+ print "%s, %s" % (other, mod) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment