- 11 Feb, 2018 3 commits
-
-
scoder authored
Rewrite documentation paragraph on automatic string encoding for clarity
-
Stefan Behnel authored
Disallow memory views as struct members since structs do not allow safe buffer reference management.
-
scoder authored
Use NamedTemporaryFile instead of mkstemp
-
- 10 Feb, 2018 5 commits
-
-
Stefan Behnel authored
Move user branch hint generation from IfClauseNode into IfStatNode to include also the inverse 'else' condition.
-
Stefan Behnel authored
Inject branch hints for user conditionals that raise exceptions as we can expect them to be unlikely.
-
Stefan Behnel authored
Closes #2096.
-
Stefan Behnel authored
Closes #2097.
-
Stefan Behnel authored
-
- 09 Feb, 2018 1 commit
-
-
Jeroen Demeyer authored
-
- 07 Feb, 2018 2 commits
-
-
Stefan Behnel authored
Disable the specialised "tp_getattro" implementations in Py3.7 as setting the slot to anything but "PyObject_GenericGetAttr" disables the much more effective method call optimisation that avoids creating an intermediate PyMethod object in Py3.7.
-
Stefan Behnel authored
Use a dedicated ExprNode class for Pythran implemented NumPy methods to move them out of the way of Python call optimisations.
-
- 30 Jan, 2018 2 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
Add some Py3-only builtin names (mostly I/O exceptions) as uncachable builtins to avoid "unknown name" errors when running Cython in Py2. Closes #2087.
-
- 29 Jan, 2018 2 commits
-
-
scoder authored
Add sigaltstack()
-
Jeroen Demeyer authored
-
- 28 Jan, 2018 3 commits
-
-
Stefan Behnel authored
Promote the new opaque PEP-539 type "Py_tss_t" to a known Cython type to avoid static variable initialisation issues with the "Py_tss_NEEDS_INIT" struct initialiser value.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 26 Jan, 2018 9 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
Pass "never None" property of decoded byte strings through to the code that uses them.
-
Stefan Behnel authored
Use the same function return type inference for builtin types in GeneralCallNode as in SimpleCallNode.
-
Stefan Behnel authored
-
Stefan Behnel authored
Fix enum-to-unicode conversion code in C++ mode where direct assignments from C int to enum are not allowed.
-
Stefan Behnel authored
Also reduces the C code overhead by removing the explicit 1-arg tuple packing code.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
scoder authored
Disallow old-style classes for multiple inheritance
-
- 25 Jan, 2018 4 commits
-
-
Jeroen Demeyer authored
-
Stefan Behnel authored
Use a specialised GenericGetAttr implementation for the "tp_getattro" slot whenever a type uses the generic lookup but has no instance dict.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 24 Jan, 2018 3 commits
-
-
Stefan Behnel authored
Remove the complete copy of "PyObject_GenericGetAttr()" again as it's too much code for too little effect. Calling the original C-API function as a fallback should be enough.
-
Stefan Behnel authored
Optimise attribute access on extension types with "__getattr__" but without instance dict through a streamlined copy of "PyObject_GenericGetAttr".
-
Stefan Behnel authored
Optimise attribute access on Cython provided extension types without instance dict through a streamlined copy of "PyObject_GenericGetAttr".
-
- 23 Jan, 2018 1 commit
-
-
scoder authored
Add warnings to compiler directive docs
-
- 22 Jan, 2018 1 commit
-
-
Christopher Bartak authored
-
- 21 Jan, 2018 1 commit
-
-
Stefan Behnel authored
Use specialised default return handling code for "return None" in generators and other functions that return Python objects.
-
- 20 Jan, 2018 3 commits
-
-
scoder authored
Fix link to Pythran manual in the documentation.
-
Ralf Gommers authored
-
Stefan Behnel authored
-