1. 01 Jul, 2020 1 commit
    • scoder's avatar
      Validate and fix temp releasing (GH-3708) (GH-3717) · 195aeadc
      scoder authored
      * Validate and fix temp releasing (GH-3708)
      Backports 92147baf.
      
          * Fix a temp leak in the type init code.
          * Fix temp leaks in fused types initialisation code.
          * Correctly release the buffer index temps allocated for index calculations.
          * Make tests fails hard if a temp variable is not released at the end of a generated function.
          * Fix temp leak in switch statement code.
          * Make end-to-end tests fail on refnanny output.
          * Fix result temp leak in PyTypeTestNode.
          * Fix result temp leak in external type/function import code and enable the refnanny check for them.
          * Fix temp leak when try-return-finally is used in generators.
          * Make it explicit when an allocated temp is not meant to be reused.
          * Fix temp leak when assigning to the real/imag attributes of complex numbers.
          * Fix temp leak when assigning to a memoryview slice.
          * Clean up "num_threads" result temp in parallel section, not only in prange loop.
          * Fix temp leak in Pythran buffer setitem code.
          * Simplify NumPyMethodCallNode since it does not need the Python function anymore. Previously, it generated code that needlessly looked up the Python function without actually using it.
          * Fix temp leak when deleting C++ objects.
          * Add a test that actually reusing temps when deleting C++ objects works correctly.
      195aeadc
  2. 28 Jun, 2020 1 commit
    • scoder's avatar
      Validate and fix temp releasing (GH-3708) · 92147baf
      scoder authored
      * Fix a temp leak in the type init code.
      * Fix temp leaks in fused types initialisation code.
      * Correctly release the buffer index temps allocated for index calculations.
      * Make tests fails hard if a temp variable is not released at the end of a generated function.
      * Fix temp leak in switch statement code.
      * Make end-to-end tests fail on refnanny output.
      * Fix result temp leak in PyTypeTestNode.
      * Fix result temp leak in external type/function import code and enable the refnanny check for them.
      * Fix temp leak when try-return-finally is used in generators.
      * Make it explicit when an allocated temp is not meant to be reused.
      * Fix temp leak when assigning to the real/imag attributes of complex numbers.
      * Fix temp leak when assigning to a memoryview slice.
      * Clean up "num_threads" result temp in parallel section, not only in prange loop.
      * Fix temp leak in Pythran buffer setitem code.
      * Simplify NumPyMethodCallNode since it does not need the Python function anymore. Previously, it generated code that needlessly looked up the Python function without actually using it.
      * Fix temp leak when deleting C++ objects.
      * Add a test that actually reusing temps when deleting C++ objects works correctly.
      92147baf
  3. 10 Jun, 2020 1 commit
  4. 15 Apr, 2020 1 commit
  5. 08 Apr, 2020 1 commit
  6. 07 Apr, 2020 1 commit
  7. 01 Apr, 2020 1 commit
    • will-ca's avatar
      Make fused function dispatch O(n) for `cpdef` functions. (GH-3366) · 27b5adbb
      will-ca authored
      * Rewrote signature matching for fused cpdef function dispatch to use a pre-built tree index in a mutable default argument and be O(n).
      
      * Added test to ensure proper differentiation between ambiguously compatible and definitely compatible arguments.
      
      * Added test to ensure fused cpdef's can be called by the module itself during import.
      
      * Added test to ensure consistent handling of ambiguous fused cpdef signatures.
      
      * Test for explicitly defined fused cpdef method.
      
      * Add .komodoproject to .gitignore.
      
      * Add /cython_debug/ to .gitignore.
      
      Closes #1385.
      27b5adbb
  8. 31 Mar, 2020 1 commit
  9. 24 Mar, 2020 1 commit
  10. 16 Oct, 2019 2 commits
  11. 27 Aug, 2019 1 commit
  12. 13 Mar, 2018 1 commit
    • luz.paz's avatar
      Misc typos · 69b11a3d
      luz.paz authored
      Found via `codespell`
      69b11a3d
  13. 25 Feb, 2018 2 commits
  14. 24 Feb, 2018 1 commit
  15. 17 Feb, 2018 1 commit
  16. 17 Oct, 2017 1 commit
    • Unknown's avatar
      Trivial typo fixes · 4f237620
      Unknown authored
      Most are non-user facing. 
      Found using:
      `codespell -d -q 3`
      4f237620
  17. 20 Sep, 2017 1 commit
    • Stefan Behnel's avatar
      Make vtable order of extension types with fused methods only dependant on the... · fcc3461e
      Stefan Behnel authored
      Make vtable order of extension types with fused methods only dependant on the original declaration order (e.g. in the .pxd file).
      Previously, fused methods were specialised and expanded on first use, which lead to an arbitrary order in the vtable.
      Also fixes compile failures when inheriting from base types with fused cdef methods.
      Fixes #1873.
      fcc3461e
  18. 12 Sep, 2017 1 commit
  19. 31 Jul, 2017 1 commit
  20. 24 Jun, 2017 2 commits
  21. 23 Jun, 2017 1 commit
  22. 17 Jun, 2017 1 commit
    • Adrien Guinet's avatar
      Add a Pythran backend for Numpy operation · 65da9d1b
      Adrien Guinet authored
      When the user asked for it (thanks to the --np-pythran flag), use
      Pythran's Numpy implementation as a backend for numpy operation. This
      flag forces the C++ mode, as the Pythran implementation is written in
      C++. Distutils integration through the 'np_pythran' flag of the
      cythonize API is also provided.
      
      This commit also adds a Pythran mode for the tests, that can enable the
      pythran mode for the C++ tests, and allows the reuse of Cython tests to
      test for the Pythran integration.
      65da9d1b
  23. 28 Mar, 2017 1 commit
  24. 04 Sep, 2016 2 commits
  25. 31 Jul, 2016 1 commit
  26. 04 Sep, 2015 1 commit
  27. 17 Jul, 2015 4 commits
  28. 17 Oct, 2014 1 commit
  29. 07 Oct, 2014 1 commit
  30. 22 Jun, 2014 4 commits