1. 24 Dec, 2018 1 commit
    • Orivej Desh's avatar
      Fix support for C++ enum classes · 7c377902
      Orivej Desh authored
      The current code fails to compile with:
      
      <source>:3:54: error: invalid operands to binary expression ('enum E' and 'enum E')
      const enum E neg_one_class_29 = (enum E) ((enum E) 0 - (enum E) 1);
                                                ~~~~~~~~~~ ^ ~~~~~~~~~~
      
      This change reverts to the code that was before #2186 but silences erroneous GCC warning enabled by -Wconversion (which is not a part of -Wall).
      
      Fixes #2749
      7c377902
  2. 20 Dec, 2018 1 commit
  3. 16 Dec, 2018 1 commit
  4. 14 Dec, 2018 10 commits
  5. 12 Dec, 2018 8 commits
  6. 11 Dec, 2018 4 commits
  7. 10 Dec, 2018 1 commit
    • Robert Bradshaw's avatar
      Non-int conversion to Py_hash_t. · 28251032
      Robert Bradshaw authored
      Still requires the more conservative __index__ here rather than a possibly
      truncating __int__ because this is used in a context where floating point
      values should probably be treated specially.
      
      This fixes Github issue #2752.
      28251032
  8. 08 Dec, 2018 1 commit
  9. 30 Nov, 2018 3 commits
  10. 24 Nov, 2018 10 commits