Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Fix output encoding problems in the test runner with Py2.7 by not trying to ↵ | Stefan Behnel | 2021-08-07 | 1 | -3/+6 | |
| | | | | | | | | decode the C compiler output and instead printing it unchanged as bytes. | |||||
* | | Revert "Fix output encoding problems in the test runner with Py2.7 by ↵ | Stefan Behnel | 2021-08-07 | 1 | -2/+2 | |
| | | | | | | | | | | | | replacing implicit calls to str() with (unicode) string concatenation." This reverts commit 931710d8b12424f4d4c5466bede28ed14f16ca5e. | |||||
* | | Fix output encoding problems in the test runner with Py2.7 by replacing ↵ | Stefan Behnel | 2021-08-06 | 1 | -2/+2 | |
| | | | | | | | | implicit calls to str() with (unicode) string concatenation. | |||||
* | | Fix output encoding problems in the test runner with Py2.7. | Stefan Behnel | 2021-08-06 | 1 | -3/+3 | |
| | | ||||||
* | | runtests: include the C compiler error output in the compile exception to ↵ | Stefan Behnel | 2021-07-31 | 3 | -33/+48 | |
| | | | | | | | | show it at the end of the test run. | |||||
* | | Enable more cpp_locals tests (GH-4320) | da-woods | 2021-07-31 | 3 | -6/+2 | |
| | | | | | | Turns out that typeid() and C++ operators already work with "cpp_locals". | |||||
* | | Add a warning in the docs that "conditional compilation" is not a good way ↵ | Stefan Behnel | 2021-07-27 | 2 | -1/+11 | |
| | | | | | | | | | | | | to do most things that users commonly do with it. See the discussion in https://github.com/cython/cython/issues/4287 | |||||
* | | Fix compilation of "ParseTreeTransforms" in Py2. It previously tried to ↵ | Stefan Behnel | 2021-07-26 | 2 | -1/+3 | |
| | | | | | | | | compare the 'directivetype' to 'str', which misses Py2 str when compiling with language level 3. | |||||
* | | Fix some imports. | Stefan Behnel | 2021-07-26 | 1 | -1/+2 | |
| | | ||||||
* | | Add missing attribute declaration for FunctionState class. | Stefan Behnel | 2021-07-26 | 1 | -0/+1 | |
| | | ||||||
* | | Fix type declaration in parser. | Stefan Behnel | 2021-07-26 | 1 | -2/+2 | |
| | | ||||||
* | | Add CI jobs that compile more Cython modules with "--cython-compile-all", to ↵ | Stefan Behnel | 2021-07-26 | 2 | -1/+23 | |
| | | | | | | | | make sure that this keeps working and to allow comparing the performance difference. | |||||
* | | Fix the type of the 'self' argument in a cdef staticmethod declared in a pxd ↵ | da-woods | 2021-07-26 | 5 | -12/+25 | |
| | | | | | | | | | | | | | | | | | | | | file (GH-4085) Fixes https://github.com/cython/cython/issues/3174 Closes https://github.com/cython/cython/pull/3175 I've removed all identification of is_self_arg from the parser, since I think it's better dealt with when analysing the declarations. Original test copied from https://github.com/cython/cython/pull/3175 | |||||
* | | Add a note on crypto currency donations (any why we shouldn't take them). | Stefan Behnel | 2021-07-25 | 1 | -0/+5 | |
| | | ||||||
* | | Make __PYX_WARN_IF_INIT_CALLED name unique per-module in generated header ↵ | da-woods | 2021-07-23 | 2 | -3/+34 | |
| | | | | | | | | | | files (GH-4309) Fixes https://github.com/cython/cython/issues/4308 | |||||
* | | Docs: Introduce pure Python mode in "Using C libraries" tutorial (GH-4294) | Matus Valo | 2021-07-22 | 8 | -122/+485 | |
| | | ||||||
* | | Support arbitrary mappings in C++ dict-to-map conversion, not just exact dicts. | Stefan Behnel | 2021-07-22 | 2 | -13/+33 | |
| | | ||||||
* | | Merge branch '0.29.x' | Stefan Behnel | 2021-07-22 | 0 | -0/+0 | |
|\ \ | |/ | ||||||
| * | Make a helper function in a C++ test correctly propagate exceptions so that ↵ | Stefan Behnel | 2021-07-22 | 1 | -1/+1 | |
| | | | | | | | | it won't have to spit out compiler warnings. | |||||
* | | Build Linux wheels for recent Python versions from a newer GLIBC-2.24 docker ↵ | Stefan Behnel | 2021-07-22 | 1 | -13/+26 | |
| | | | | | | | | image. | |||||
* | | docs: Change cast(...) -> cython.cast(...) in "language basics" examples ↵ | Matus Valo | 2021-07-21 | 1 | -2/+2 | |
| | | | | | | | | (GH-4304) | |||||
* | | Prepare release of 3.0.0a93.0.0a9 | Stefan Behnel | 2021-07-20 | 2 | -2/+2 | |
| | | ||||||
* | | docs: Change "Microsoft's Visual C" to "Microsoft Visual C/C++ (MSVC)" (GH-4142) | Shreyan Avigyan | 2021-07-20 | 1 | -2/+2 | |
| | | ||||||
* | | Introduce pure Python mode in the "language basics" documentation (GH-4242) | Matus Valo | 2021-07-20 | 13 | -141/+678 | |
| | | | | | | See https://github.com/cython/cython/issues/4187 | |||||
* | | Document `typeof` in pure.rst (GH-4301) | 0dminnimda | 2021-07-20 | 1 | -0/+7 | |
| | | ||||||
* | | Update changelog. | Stefan Behnel | 2021-07-20 | 1 | -0/+12 | |
| | | ||||||
* | | Explicitly return None from a method that is expected to return something ↵ | Stefan Behnel | 2021-07-20 | 1 | -0/+1 | |
| | | | | | | | | otherwise. | |||||
* | | Rewrite the section on fused types in function signatures to make it clearer ↵ | Stefan Behnel | 2021-07-20 | 1 | -11/+27 | |
| | | | | | | | | how multiple fused types interact here. | |||||
* | | Refactor function to make it less verbose and simpler to change: error cases ↵ | Stefan Behnel | 2021-07-20 | 1 | -12/+7 | |
| | | | | | | | | first, then special cases, then normal behaviour. | |||||
* | | Make code more readable by changing the order of a condition and moving the ↵ | Stefan Behnel | 2021-07-20 | 1 | -45/+45 | |
| | | | | | | | | simple return case first. | |||||
* | | Update changelog. | Stefan Behnel | 2021-07-20 | 1 | -0/+25 | |
| | | ||||||
* | | Prevent C++ coercions from picking up user-set directives (GH-4206) | da-woods | 2021-07-20 | 2 | -5/+24 | |
| | | | | | | | | For example, if they're called on entry/exit to a decorated function they pick up the directives. They should really be independent of most user defined settings, especially local ones. | |||||
* | | Merge pull request #4186 from amol-/cygdb-optional-interpreter | Robert Bradshaw | 2021-07-19 | 1 | -22/+38 | |
|\ \ | | | | | | | Add --skip-interpreter option to cygdb | |||||
| * | | Add --skip-interpreter option | Alessandro Molina | 2021-05-21 | 1 | -22/+38 | |
| | | | ||||||
* | | | Resolve some issues with "cpp_locals" (GH-4265) | da-woods | 2021-07-19 | 42 | -60/+137 | |
| | | | | | | | | | | | | | | | | | | | | | * Fix class attributes access where cpp_locals=False. * Add "no-cpp-locals" tag to mark a test as not suitable for running with "cpp_locals=True". * Add a list of "extra_directives" to runtests as additional test mode. Resolves some issues in https://github.com/cython/cython/issues/4266 | |||||
* | | | Rename GeneratorExpressionScope to ComprehensionScope (GH-4275) | da-woods | 2021-07-19 | 2 | -9/+9 | |
| | | | | | | | | | Seems a remanant of an earlier implementation, but generator expressions *never* use "GeneratorExpressionScope" and in fact it's only used for comprehensions. | |||||
* | | | Add missing multiset class to the standard library bindings (GH-4273) | da-woods | 2021-07-19 | 3 | -10/+225 | |
| | | | ||||||
* | | | Add missing "max_element()" in libcpp.algorithms (GH-4271) | da-woods | 2021-07-18 | 2 | -4/+8 | |
| | | | ||||||
* | | | Fix and enforce a couple of code formatting issues. (II) | Stefan Behnel | 2021-07-18 | 1 | -13/+13 | |
| | | | ||||||
* | | | Fix and enforce a couple of code formatting issues. | Stefan Behnel | 2021-07-18 | 3 | -13/+13 | |
| | | | ||||||
* | | | Rephrase "two syntax variants" note to give readers a hint why they exist. | Stefan Behnel | 2021-07-18 | 1 | -10/+13 | |
| | | | ||||||
* | | | Add a script for backing up Github issues. | Stefan Behnel | 2021-07-16 | 1 | -0/+142 | |
| | | | ||||||
* | | | Fix missing images in quickstart (#4285) | Matus Valo | 2021-07-15 | 3 | -0/+0 | |
| | | | ||||||
* | | | docs: Add pure Python examples to "Getting started" guide (GH-4283) | Matus Valo | 2021-07-15 | 9 | -20/+93 | |
| | | | ||||||
* | | | docs: Use explicitely the "cython" module in examples (GH-4284) | Matus Valo | 2021-07-14 | 2 | -4/+2 | |
| | | | ||||||
* | | | docs: Pythonise the "Extension types (aka. cdef classes)" page ↵ | 0dminnimda | 2021-07-14 | 12 | -34/+173 | |
| | | | | | | | | | | | | (cdef_classes.rst) (GH-4232) | |||||
* | | | docs: Add Pure Python mode to "Calling C functions" tutorial (GH-4247) | Matus Valo | 2021-07-14 | 9 | -4/+79 | |
| | | | ||||||
* | | | Merge branch '0.29.x' | Stefan Behnel | 2021-07-13 | 1 | -1/+1 | |
|\ \ \ | | |/ | |/| | ||||||
| * | | Prepare release of 0.29.24.0.29.24 | Stefan Behnel | 2021-07-13 | 2 | -2/+2 | |
| | | | ||||||
* | | | Set the "is_target" attribute for names, attributes and temps (anything ↵ | Stefan Behnel | 2021-07-13 | 1 | -2/+3 | |
| | | | | | | | | | | | | name-like) to preserve that information for later pipeline steps. |