1. 17 Jul, 2019 7 commits
  2. 16 Jul, 2019 5 commits
  3. 15 Jul, 2019 3 commits
  4. 14 Jul, 2019 10 commits
  5. 13 Jul, 2019 10 commits
  6. 12 Jul, 2019 3 commits
  7. 11 Jul, 2019 2 commits
    • Disconnect3d's avatar
      Remove redundant check from arraymodule b_getitem (GH-14676) · 13ab570f
      Disconnect3d authored
      
      
      The `arraymodule`'s `b_getitem` function returns a `PyLong` converted 
      from `arrayobject`'s array, by dereferencing a pointer to `char`.
      
      When the `char` type is `signed char`, the `if (x >= 128) x -= 256;` comparison/code is redundant because a `signed char` will have a value of `[-128, 127]` and so `x` will never be greater or equal than 128.
      
      This check was indeed needed for situations where a given compiler would assume `char` being `unsigned char` which would make `x` in `[0, 256]` range.
      
      However, the check can be removed if we cast the `ob_item` into a signed char pointer (`signed char*`) instead of `char*`.
      
      This PR/commit introduces this change.
      13ab570f
    • Jakub Kulík's avatar
      bpo-37558: Shared memory tests are failing due to double slashes (GH-14703) · 47372656
      Jakub Kulík authored
      
      
      With the addition of shared memory into Python 3.8, we now have three tests failing on Solaris, namely `test_multiprocessing_fork`, `test_multiprocessing_forkserver` and `test_multiprocessing_spawn`. The reason seems to be incorrect name handling which results in two slashes being prepended.
      
      
      https://bugs.python.org/issue37558
      47372656