1. 21 Mar, 2020 12 commits
  2. 20 Mar, 2020 1 commit
    • da-woods's avatar
      Enable pypy as a required Travis test (GH-3392) · 92625467
      da-woods authored
      Reasoning being that this make it easier to catch pypy3
      regressions as they happen.
      
      * Fixed some very simple pypy3 failures (largely to do with
        different exception strings)
      * Splits pypy3_bugs.txt into three files
        - one for bugs that cause hard crashes (which we don't want to
          run in Travis at all);
        - one for bugs that are probably unfixable because they're just
          due to implementation details (e.g. when destructors are
          called).
        - all other bugs remain in pypy3_bugs.txt
        (The categorization has been done fairly quickly, so some bugs
        may be in the wrong place)
      * Made sure (hopefully) all bugs are now categorized, so a basic
        runtests.py with pypy3 should hopefully pass
      * Changed pypy3 to be required in Travis
      * Added an extra (optional) test that runs through pypy3_bugs.txt.
        The majority of this is expected to fail. This requires an
        extra option to runtest.py "--listfile", which just runs through
        the tests listed in the file.
      
      I haven't made pypy2 a required test in this commit - since Python2 support is deprecated soon, there seemed limited value in putting much effort into pypy2.
      
      Added faulthandler to runtests in the hope of being able to pin-down segmentation faults better on Travis
      
      FileListExcluder matches regexes, not just name. Uses the same mechanism as is used for processing string passed on commandline
      92625467
  3. 19 Mar, 2020 2 commits
  4. 16 Mar, 2020 1 commit
  5. 12 Mar, 2020 2 commits
  6. 10 Mar, 2020 1 commit
  7. 09 Mar, 2020 2 commits
  8. 07 Mar, 2020 10 commits
  9. 03 Mar, 2020 1 commit
    • da-woods's avatar
      Support fused arguments specified by annotation or locals (GH-3391) · a8cb127d
      da-woods authored
      1. DefNode.has_fused_arguments was set too early (before
      locals/annotations) were evalutated, so function was not treated
      as fused.
      2. When re-evaluating the specializations of the fused function
      it was treated as a redefinition because the locals/annotation was
      reapplied over the specialized type.
      3. Including annotation as string (required changes to
      StringNode.analyse_as_type), and extra tests for fused type defined
      as cython.fused_type in the Py file
      a8cb127d
  10. 29 Feb, 2020 5 commits
  11. 28 Feb, 2020 1 commit
  12. 27 Feb, 2020 1 commit
    • da-woods's avatar
      Cleanup and fix string initialization code for LIMITED_API (GH-3378) · 53772108
      da-woods authored
      * Cleanup of string initialization code for limited API
      
      Now appears in a few large blocks rather than
      
      ```
       # if CYTHON_LIMITED_API
         individual string line
       # endif
      ```
      
      * Fixed issue with some unicode strings, e.g.
      
      ```
      # cython: language_level=3str, binding=True
      
      def non_ascii_str():
          s = 'ø\x20\u0020'
          assert isinstance(s, str)
          return s
      ```
      53772108
  13. 26 Feb, 2020 1 commit