Page MenuHomeSolus

Update cython to 0.27.2
ClosedPublic

Authored by EP01 on Oct 22 2017, 9:57 PM.
Tags
None
Referenced Files
F11050431: D1236.id.diff
Thu, Aug 10, 7:02 PM
F11050430: D1236.id3147.diff
Thu, Aug 10, 7:02 PM
F11050429: D1236.id3014.diff
Thu, Aug 10, 7:02 PM
F11035831: D1236.diff
Wed, Aug 9, 6:28 PM
F11002560: D1236.diff
Mon, Jul 31, 1:45 AM
F10971481: D1236.id.diff
Fri, Jul 21, 7:35 AM
F10871212: D1236.id.diff
Jun 18 2023, 2:03 PM
F10764799: D1236.diff
May 19 2023, 9:25 AM
Subscribers
None

Details

Summary

Bugs fixed:

  • Comprehensions could incorrectly be optimised away when they appeared in boolean test contexts. (Github issue #1920)
  • The special methods eq, lt etc. in extension types did not type their first argument as the type of the class but object. (Github issue #1935)
  • Crash on first lookup of "cline_in_traceback" option during exception handling. (Github issue #1907)
  • Some nested module level comprehensions failed to compile. (Github issue #1906)
  • Compiler crash on some complex type declarations in pure mode. (Github issue #1908)
  • std::unordered_map.erase() was declared with an incorrect void return type in libcpp.unordered_map. (Github issue #1484)
  • Invalid use of C++ fallthrough attribute before C++11 and similar issue in clang. (Github issue #1930)
  • Compiler crash on misnamed properties. (Github issue #1905)
Test Plan
In [1]: %load_ext cython

In [2]: %%cython
   ...: def sum(int a, int b):
   ...:     cdef int s = a + b
   ...:     return s
   ...: 

In [3]: sum(5, 5)
Out[3]: 10

Diff Detail

Repository
R585 cython
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Nov 1 2017, 11:54 AM
This revision was automatically updated to reflect the committed changes.