[Python-Dev] Re: 3.10 or 4.0?

2019-11-28 Thread Nick Coghlan
On Fri., 29 Nov. 2019, 9:10 am Guido van Rossum, wrote: > I presume that would be an informational PEP, right? > I hadn't considered that, but you're right, an Informational PEP would make sense: there's no new decision to be made, we just want a clear place to capture the rationale and the anti

[Python-Dev] Re: 3.10 or 4.0?

2019-11-28 Thread Guido van Rossum
I presume that would be an informational PEP, right? On Thu, Nov 28, 2019 at 2:53 PM Nick Coghlan wrote: > > > On Fri., 29 Nov. 2019, 6:15 am Facundo Batista, > wrote: > >> El jue., 28 de nov. de 2019 a la(s) 12:35, Facundo Batista >> (facundobati...@gmail.com) escribió: >> >> > Did we take a d

[Python-Dev] Re: Should we require all deprecations to have a removal version that we follow through on?

2019-11-28 Thread Nick Coghlan
On Thu., 28 Nov. 2019, 4:43 am Brett Cannon, wrote: > What do people think of the idea of requiring all deprecations specifying > a version that the feature will be removed in (which under our annual > release cadence would be at least the third release from the start of the > deprecation, hence

[Python-Dev] Re: 3.10 or 4.0?

2019-11-28 Thread Nick Coghlan
On Fri., 29 Nov. 2019, 6:15 am Facundo Batista, wrote: > El jue., 28 de nov. de 2019 a la(s) 12:35, Facundo Batista > (facundobati...@gmail.com) escribió: > > > Did we take a decision of what comes after 3.9? > > > > Do we have a PEP for that decision? (couldn't find it) > > Thanks everybody for

[Python-Dev] Re: 3.10 or 4.0?

2019-11-28 Thread Barry Warsaw
On Nov 28, 2019, at 07:50, Guido van Rossum wrote: > > Everybody has long presumed we'd go with 3.10. Maybe we're not following > semver to the letter, but this part of it we follow -- 4.0 would mean a major > rewrite or incompatible change. > > For a long time I had hoped that Larry Hastings'

[Python-Dev] Re: 3.10 or 4.0?

2019-11-28 Thread Facundo Batista
El jue., 28 de nov. de 2019 a la(s) 12:35, Facundo Batista (facundobati...@gmail.com) escribió: > Did we take a decision of what comes after 3.9? > > Do we have a PEP for that decision? (couldn't find it) Thanks everybody for the responses. So 3.10 it is, not a hard made decision, but the collec

[Python-Dev] Re: Should we require all deprecations to have a removal version that we follow through on?

2019-11-28 Thread Eric Fahlgren
On Thu, Nov 28, 2019 at 10:02 AM Brett Cannon wrote: > But there is other things that might break your code between releases, > such as bug fixes, language changes that become the default, etc. Are > deprecations the biggest pain point in transitioning to a new Python > version for people, or is

[Python-Dev] Re: Should we require all deprecations to have a removal version that we follow through on?

2019-11-28 Thread Brett Cannon
Ethan Furman wrote: > On 11/27/2019 10:38 AM, Brett Cannon wrote: > > What do people think of the idea of requiring all > > deprecations specifying a version that the feature will be removed in > > (which under our > > annual release cadence would be at least the third release from the start > >

[Python-Dev] buildbot.python.org database reset

2019-11-28 Thread Zachary Ware
Hi all, The database backing buildbot.python.org has been reset in order to clean out old workers and builders, and to allow some relationships to be created properly to allow future cleanups without resetting everything. This does unfortunately mean that old links are going to be broken, includi

[Python-Dev] Re: 3.10 or 4.0?

2019-11-28 Thread Karthikeyan
On Thu, Nov 28, 2019, 9:50 PM Paul Moore wrote: > On Thu, 28 Nov 2019 at 15:55, Victor Stinner wrote: > > > > It has been discussed a few months ago. There is the "if six.PY3: ..." > > issue and similar issues which should be solved first. Basic example: > > I've seen a few fixes to projects to

[Python-Dev] Re: 3.10 or 4.0?

2019-11-28 Thread Brian Skinn
I've appreciated Anthony Sottile's flake8-2020 plugin (https://pypi.org/project/flake8-2020/), which adds checks for a variety of misuses of sys.version and sys.version_info that would lead to breakage on a Python 4.0, and/or 10.0, in addition to Python 3.10.

[Python-Dev] Re: arm64 python 3.5.6 test case failure - ctypes/test/test_structures.py (test_pass_by_value)

2019-11-28 Thread Peter Morrow via Python-Dev
On Thu, 2019-11-28 at 08:02 -0800, Guido van Rossum wrote: Instead of trying random possibly related patches, why don't you use a debugger and find out exactly what is going wrong? From your report it doesn't seem that you have tried to do so already (apologies if you did and I missed the hint).

[Python-Dev] Re: 3.10 or 4.0?

2019-11-28 Thread Paul Moore
On Thu, 28 Nov 2019 at 15:55, Victor Stinner wrote: > > It has been discussed a few months ago. There is the "if six.PY3: ..." > issue and similar issues which should be solved first. Basic example: I've seen a few fixes to projects to remove assumptions that the "X" in 3.X is a single digit. So

[Python-Dev] Re: arm64 python 3.5.6 test case failure - ctypes/test/test_structures.py (test_pass_by_value)

2019-11-28 Thread Guido van Rossum
Instead of trying random possibly related patches, why don't you use a debugger and find out exactly what is going wrong? From your report it doesn't seem that you have tried to do so already (apologies if you did and I missed the hint). On Thu, Nov 28, 2019 at 7:41 AM Peter Morrow via Python-Dev

[Python-Dev] Re: 3.10 or 4.0?

2019-11-28 Thread Guido van Rossum
Hopefully by the time we actually *do* need to roll out 4.0, six will be dead, or at least its Python 2 support will be gone. And whatever is needed to make the upgrade smooth for people should be in in the 4.0 release, not a 3rd party library. On Thu, Nov 28, 2019 at 7:53 AM Victor Stinner wrote

[Python-Dev] Re: 3.10 or 4.0?

2019-11-28 Thread Guido van Rossum
Everybody has long presumed we'd go with 3.10. Maybe we're not following semver to the letter, but this part of it we follow -- 4.0 would mean a major rewrite or incompatible change. For a long time I had hoped that Larry Hastings' Gilectomy project would succeed, in which case that would be a log

[Python-Dev] Re: 3.10 or 4.0?

2019-11-28 Thread Victor Stinner
It has been discussed a few months ago. There is the "if six.PY3: ..." issue and similar issues which should be solved first. Basic example: $ python3 Python 3.7.5 (default, Oct 17 2019, 12:16:48) >>> import sys >>> sys.version_info = (4,0) >>> import six Traceback (most recent call last): File

[Python-Dev] Re: 3.10 or 4.0?

2019-11-28 Thread Paul Moore
On Thu, 28 Nov 2019 at 15:35, Facundo Batista wrote: > > Hello! > > Did we take a decision of what comes after 3.9? > > Do we have a PEP for that decision? (couldn't find it) > > (not arguing in favor of one or another, just want to know the > rationale behind it) I don't think there's been a for

[Python-Dev] arm64 python 3.5.6 test case failure - ctypes/test/test_structures.py (test_pass_by_value)

2019-11-28 Thread Peter Morrow via Python-Dev
Hi Folks, Python-dev seemed to be the most appropriate email alias for this, though please do point me somewhere else if this is not appropriate. We are using a custom arm64 based distro built using yocto and as such we are currently using python 3.5.6. We are hitting a failure in a python3 tes

[Python-Dev] 3.10 or 4.0?

2019-11-28 Thread Facundo Batista
Hello! Did we take a decision of what comes after 3.9? Do we have a PEP for that decision? (couldn't find it) (not arguing in favor of one or another, just want to know the rationale behind it) Thanks! -- .Facundo Blog: http://www.taniquetil.com.ar/plog/ PyAr: http://www.python.org.ar/ T