Re: [Python-Dev] Positional-only parameters in Python

2018-01-18 Thread Nick Coghlan
On 18 January 2018 at 19:26, Larry Hastings wrote: > Would we be adding yet a third argument-parsing function, > PyArg_ParseTupleAndKeywordsWithPositionalOnly()? Checking the docs, it turns out PyArg_ParseTupleAndKeywords already gained positional-only argument support in 3.6

[Python-Dev] LibreSSL support

2018-01-18 Thread Christian Heimes
On 2018-01-16 21:17, Christian Heimes wrote: > FYI, master on Travis CI now builds and uses OpenSSL 1.1.0g [1]. I have > created a daily cronjob to populate Travis' cache with OpenSSL builds. > Until the cache is filled, Linux CI will take an extra 5 minute. I have messed up my initial research.

Re: [Python-Dev] LibreSSL support

2018-01-18 Thread Christian Heimes
On 2018-01-18 19:42, Wes Turner wrote: > Is there a build flag or a ./configure-time autodetection that would > allow for supporting LibreSSL while they port X509_VERIFY_PARAM_set1_host? X509_VERIFY_PARAM_set1_host() is a fundamental and essential piece in the new hostname verification code. I

Re: [Python-Dev] LibreSSL support

2018-01-18 Thread Wes Turner
Is there a build flag or a ./configure-time autodetection that would allow for supporting LibreSSL while they port X509_VERIFY_PARAM_set1_host? On Thursday, January 18, 2018, Christian Heimes wrote: > On 2018-01-16 21:17, Christian Heimes wrote: > > FYI, master on Travis

Re: [Python-Dev] LibreSSL support

2018-01-18 Thread Wes Turner
LibreSSL is not a pressing need for me; but fallback to the existing insecure check if LibreSSL is present shouldn't be too difficult? On Thursday, January 18, 2018, Christian Heimes wrote: > On 2018-01-18 19:42, Wes Turner wrote: > > Is there a build flag or a

[Python-Dev] Drop support for old unsupported FreeBSD and Linux kernels?

2018-01-18 Thread Victor Stinner
Hi, I'm working on a exhaustive list of platforms supported by Python: http://vstinner.readthedocs.io/cpython.html#supported-platforms I noticed that the extended support phase of Windows Vista is expired, so I proposed to drop Vista support: "Drop support of Windows Vista in Python 3.7"

Re: [Python-Dev] LibreSSL support

2018-01-18 Thread Christian Heimes
On 2018-01-18 20:54, Wes Turner wrote: > LibreSSL is not a pressing need for me; but fallback to the existing > insecure check if LibreSSL is present shouldn't be too difficult? Please give it a try and report back. Patches welcome :) Christian ___

Re: [Python-Dev] LibreSSL support

2018-01-18 Thread Christian Heimes
On 2018-01-18 21:49, Chris Jerdonek wrote: > > On Thu, Jan 18, 2018 at 7:34 AM Christian Heimes > wrote: > > On 2018-01-16 21:17, Christian Heimes wrote: > We have two options until LibreSSL has addressed the issue: > > 1) Make

Re: [Python-Dev] LibreSSL support

2018-01-18 Thread Chris Jerdonek
On Thu, Jan 18, 2018 at 7:34 AM Christian Heimes wrote: > On 2018-01-16 21:17, Christian Heimes wrote: > We have two options until LibreSSL has addressed the issue: > > 1) Make the SSL module more secure, simpler and standard conform > 2) Support LibreSSL > > I started a

Re: [Python-Dev] Drop support for old unsupported FreeBSD and Linux kernels?

2018-01-18 Thread Nathaniel Smith
On Thu, Jan 18, 2018 at 12:27 PM, Victor Stinner wrote: > CPython still has compatibility code for Linux 2.6, whereas the > support of Linux 2.6.x ended in August 2011, longer than 6 years ago. > Should we also drop support for old Linux kernels? If yes, which ones? >

Re: [Python-Dev] PEP 567 v3

2018-01-18 Thread Antoine Pitrou
On Wed, 17 Jan 2018 20:53:42 -0500 Yury Selivanov wrote: > > Proposed by Antoine Pitrou, this could enable transparent > cross-process use of ``Context`` objects, so the > `Offloading execution to other threads`_ example would work with > a ``ProcessPoolExecutor`` too. >

Re: [Python-Dev] PEP 567 v3

2018-01-18 Thread Nathaniel Smith
On Thu, Jan 18, 2018 at 12:03 AM, Antoine Pitrou wrote: > On Wed, 17 Jan 2018 20:53:42 -0500 > Yury Selivanov wrote: >> >> Proposed by Antoine Pitrou, this could enable transparent >> cross-process use of ``Context`` objects, so the >> `Offloading

Re: [Python-Dev] Positional-only parameters in Python

2018-01-18 Thread Larry Hastings
On 01/17/2018 08:29 AM, Ethan Furman wrote: On 01/17/2018 08:14 AM, Serhiy Storchaka wrote: 17.01.18 16:34, Victor Stinner пише: In Februrary 2017, I proposed on python-ideas to change the Python syntax to allow to declare positional-only parameters in Python:

Re: [Python-Dev] Drop support for old unsupported FreeBSD and Linux kernels?

2018-01-18 Thread Benjamin Peterson
+1 to both of your specific proposals. More generally, I think it makes good sense to allow dropping support for a platform in the next major Python release after vendor support for the platform stops. Even we say we support something, it will break quickly without buildbot validation. On

Re: [Python-Dev] LibreSSL support

2018-01-18 Thread Nathaniel Smith
On Jan 18, 2018 07:34, "Christian Heimes" wrote: On 2018-01-16 21:17, Christian Heimes wrote: > FYI, master on Travis CI now builds and uses OpenSSL 1.1.0g [1]. I have > created a daily cronjob to populate Travis' cache with OpenSSL builds. > Until the cache is filled,

Re: [Python-Dev] Positional-only parameters in Python

2018-01-18 Thread Victor Stinner
2018-01-18 10:26 GMT+01:00 Larry Hastings : > Why did Argument Clinic choose that syntax? It was suggested by one Guido > van Rossum in March 2012: (...) > I'm not wading into the debate over what syntax Python should use if it adds > positional-only parameters, except to say