Neil Schemenauer <nas-pyt...@arctrix.com> added the comment:

I suggest we change PyCode_New() back in the next beta, despite that change 
breaking Cython again.  We could work with them so that they have a new release 
with a "PY_VERSION_HEX > 0x030800b1" test in it. Try to get that Cython version 
released before 3.8b2 hits.  The window of a Cython version that doesn't 
support CPython >= 3.8b1 can be made pretty small.  It would be nice to find 
these issues in alpha releases but finding them in beta is still early enough 
to fix it.

Having to regenerate all of the Cython emitted code embedded in different 
packages is painful.  I experienced having to update numpy so that I could test 
my software with 3.8b1.  Avoiding that is why we should change PyCode_New back. 
 Introducing a new API like PyCode_NewWithPosArgs() is going to work better.

If we do have to make a similar incompatible change in the future, we should 
try hard to make it so there is an overlapping period of compatibility.  It's 
bad to have an API change from one release to the next without giving time for 
projects like Cython time to catch up.

----------
nosy: +nascheme

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37221>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to