Commit bb5b95e6 authored by Stefan Behnel's avatar Stefan Behnel

Merge branch '0.29.x'

parents 75d3c896 4d041873
...@@ -37,6 +37,22 @@ Other changes ...@@ -37,6 +37,22 @@ Other changes
* Support for Python 2.6 was removed. * Support for Python 2.6 was removed.
0.29.3 (2019-??-??)
===================
Bugs fixed
----------
* Some C code for memoryviews was generated in a non-deterministic order.
Patch by Martijn van Steenbergen. (Github issue #2779)
* C89 compatibility was accidentally lost since 0.28.
Patch by gastineau. (Github issue #2778)
* A C compiler cast warning was resolved.
Patch by Michael Buesch. (Github issue #2774)
0.29.2 (2018-12-14) 0.29.2 (2018-12-14)
=================== ===================
......
...@@ -900,9 +900,11 @@ class FunctionState(object): ...@@ -900,9 +900,11 @@ class FunctionState(object):
try-except and try-finally blocks to clean up temps in the try-except and try-finally blocks to clean up temps in the
error case. error case.
""" """
return sorted([(cname, type) return sorted([ # Enforce deterministic order.
for (type, manage_ref), freelist in self.temps_free.items() if manage_ref (cname, type)
for cname in freelist[0]]) for (type, manage_ref), freelist in self.temps_free.items() if manage_ref
for cname in freelist[0]
])
def start_collecting_temps(self): def start_collecting_temps(self):
""" """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment