1. 09 Feb, 2021 31 commits
  2. 01 Feb, 2021 1 commit
  3. 31 Jan, 2021 2 commits
  4. 29 Jan, 2021 1 commit
  5. 27 Jan, 2021 1 commit
  6. 25 Jan, 2021 1 commit
    • Yannick Jadoul's avatar
      Always call PyNumber_Index when casting from Python to a C++ integral type, also pre-3.8 (#2801) · 0bb8ca26
      Yannick Jadoul authored
      * Always call PyNumber_Index when casting from Python to a C++ integral type, also pre-3.8
      
      * Fixed on PyPy
      
      * Simplify use of PyNumber_Index, following @rwgk's idea, and ignore warnings in >=3.8
      
      * Reproduce mismatch between pre-3.8 and post-3.8 behavior on __index__ throwing TypeError
      
      * Fix tests on 3.6 <= Python < 3.8
      
      * No, I don't have an uninitialized variable
      
      * Fix use of __index__ on Python 2
      
      * Make types in test_int_convert more ~boring~ descriptive
      0bb8ca26
  7. 24 Jan, 2021 1 commit
    • crimsoncor's avatar
      Force the builtin module key to be the correct type. (#2814) · 9ea39dc3
      crimsoncor authored
      
      
      * Force the builtin module key to be the correct type.
      
      Previously it was always going to be a std::string which converted into
      unicode. Python 2 appears to want module keys to be normal str types, so
      this was breaking code that expected plain string types in the
      builtins.keys() data structure
      
      * Add a simple unit test to ensure all built-in keys are str
      
      * Update the unit test so it will also run on pypy
      
      * Run pre-commit.
      Co-authored-by: default avatarJesse Clemens <jesse.clemens@sony.com>
      9ea39dc3
  8. 19 Jan, 2021 2 commits