- 26 Jan, 2013 3 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
--HG-- extra : transplant_source : %8A%F1%17%5C%A7%CA%1C%B1%17%A1%C5t%06O%5BI%F2%19Vq
-
- 24 Jan, 2013 1 commit
-
-
Matěj Laitl authored
A code like |cdef double[:] foo(): | raise AttributeError('dummy') generated C code like this: | __pyx_L1_error:; | (...) | __pyx_r.memview = NULL; | __Pyx_AddTraceback("view_return_errors.foo", __pyx_clineno, __pyx_lineno, __pyx_filename); | __pyx_L0:; | if (unlikely(!__pyx_r.memview)) { | PyErr_SetString(PyExc_TypeError,"Memoryview return value is not initialized"); | } | __Pyx_RefNannyFinishContext(); | return __pyx_r; |} Which is incorrect in error case, because we set __pyx_r.memview to NULL and then we test it, so that the PyErr_SetString() is always called in the error case, which swallows previously-set error. (it also swallowed the traceback, which I don't understand) A fix is to jump to return_from_error_cleanup label in case return type is memoryview, as it is currently done for the case when buffers are present. A testcase that fauils w/out this fix applied is included, too. v2: fix test under Python 3 by not using StandardError --HG-- extra : transplant_source : G%B5%99Og%D1%81%25k%8F%1F%7B%02V%3E%B9%A4y%FF%EA
-
- 21 Jan, 2013 4 commits
-
-
Lars Buitinck authored
--HG-- extra : transplant_source : %7B%A4%F1%C4/%E4l%2C_%BFF%5B%B7%9C%9F%E0_%2B%15%3D
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 20 Jan, 2013 4 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
move exception class into shadow function as we may not want to export it under the cython.* namespace at this point
-
- 19 Jan, 2013 4 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
removed broken minivect related code from branch since minivect will not be released as part of 0.18
-
- 18 Jan, 2013 2 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 16 Jan, 2013 1 commit
-
-
Steinn Steinsen authored
If '' is in sys.path and a module is found the package_path is relative and breaks the build process. --HG-- extra : transplant_source : 9%EA%CC%A6%3D%1B9R%EF%0DmM%CFZ%18%F3%EC%06%3B%B7
-
- 15 Jan, 2013 1 commit
-
-
Steven Winfield authored
Use OS-dependent directory separator - a / on windows is interpreted by LINK as a command line switch --HG-- extra : transplant_source : %A8%F23%AF%26%BC%82y1%86S%1Ac%D3%40%089o%DCQ
-
- 18 Jan, 2013 3 commits
-
-
Stefan Behnel authored
--HG-- extra : transplant_source : %E6%CA%F8%11%E8%81u%B9%95%3D%27%C1%0F%F3O%8A%12%3Cnl
-
Stefan Behnel authored
--HG-- extra : transplant_source : U%15%0B%8E%81%02%F2kE%AA%07u%EF%82%3D14%F1C%86
-
Stefan Behnel authored
--HG-- extra : transplant_source : H%91%CF%08t%B1%908%AE%26%81%1B%F9%2C%9A%3Fh%ECWK
-
- 14 Jan, 2013 1 commit
-
-
Robert Bradshaw authored
-
- 12 Jan, 2013 1 commit
-
-
Robert Bradshaw authored
-
- 10 Jan, 2013 4 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 08 Jan, 2013 1 commit
-
-
Robert Bradshaw authored
BF: replace show-ref with rev-parse --verify for determining current treeish location
-
- 07 Jan, 2013 1 commit
-
-
Stefan Behnel authored
-
- 06 Jan, 2013 5 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 05 Jan, 2013 1 commit
-
-
Stefan Behnel authored
-
- 04 Jan, 2013 3 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-