Re: [Python-ideas] pathlib suggestions

2017-01-26 Thread Philipp A.
How about adding a new argument to with_suffix? Path.with_suffix(suffix: str, stripped: Union[int, str, Iterable[str]]=1) stripped would either receive an int (in which case it will greedily strip up to that many suffixes), or a (optionally compound) suffix which would be strippe

Re: [Python-ideas] globals should accept parenteses for extending beyond 1 line

2017-01-26 Thread Nick Coghlan
On 23 January 2017 at 22:29, MRAB wrote: > On 2017-01-23 20:09, Nick Timkovich wrote: >> >> Related and probably more common is the need for the line-continuation >> operator for long/multiple context managers with "with". I assume that's >> come up before, but was it also just a low priority rath

[Python-ideas] Is it Python 3 yet?

2017-01-26 Thread Victor Stinner
Hi, The download button of https://www.python.org/ currently gives the choice between Python 2.7 and 3.6. I read more and more articles saying that we reached a point where Python 3 became more popular than Python 2, Python 3 has now enough new features to convince developers, etc. Is it time to

Re: [Python-ideas] Is it Python 3 yet?

2017-01-26 Thread Paul Moore
On 26 January 2017 at 16:11, Victor Stinner wrote: > The download button of https://www.python.org/ currently gives the > choice between Python 2.7 and 3.6. I read more and more articles > saying that we reached a point where Python 3 became more popular than > Python 2, Python 3 has now enough ne

Re: [Python-ideas] Is it Python 3 yet?

2017-01-26 Thread Ryan Birmingham
It's certainly an interesting transition period. I'm not sure that the community is quite ready to just drop 2.7, but we could take a hint from angular 's solution to this issue and use small descriptions to guide more people to 3.6 rather than 2.7, then move to 2.7 being su

Re: [Python-ideas] Is it Python 3 yet?

2017-01-26 Thread Nick Timkovich
After Django 1.11 (alpha 1 out now, final in few months, LTS EOL 2020) was branched out from master on GH, it was pretty impressive & heartening to see massive commits against master that removed Python 2 compatibility from such a popular library. On Thu, Jan 26, 2017 at 10:11 AM, Victor Stinner

Re: [Python-ideas] Is it Python 3 yet?

2017-01-26 Thread Victor Stinner
If you only want to vote +1 or -1 with no rationale, you may prefer to vote on my Twitter poll: https://twitter.com/VictorStinner/status/824654597235040257 Otherwise, please explain a little bit. Victor ___ Python-ideas mailing list Python-ideas@python.

Re: [Python-ideas] Is it Python 3 yet?

2017-01-26 Thread Nick Coghlan
On 26 January 2017 at 17:11, Victor Stinner wrote: > Hi, > > The download button of https://www.python.org/ currently gives the > choice between Python 2.7 and 3.6. I read more and more articles > saying that we reached a point where Python 3 became more popular than > Python 2, Python 3 has now e

Re: [Python-ideas] Is it Python 3 yet?

2017-01-26 Thread Victor Stinner
2017-01-26 17:21 GMT+01:00 Paul Moore : > On a similar note, I always get caught out by the fact that the > Windows default download is the 32-bit version. Are we not yet at a > point where a sufficient majority of users have 64-bit machines, and > 32-bit should be seen as a "specialist" choice? A

Re: [Python-ideas] Python-ideas Digest, Vol 122, Issue 100

2017-01-26 Thread Lesego Moloko
d only show >> Python 3.6 *by default*? >> >> For example, I expect a single big [DOWNLOAD] button which would start >> the download of Python 3.6 for my platform. >> >> If we cannot agree on hiding Python 2 by default, maybe we can at >> least replace the

Re: [Python-ideas] Is it Python 3 yet?

2017-01-26 Thread Paul Moore
On 26 January 2017 at 16:11, Victor Stinner wrote: > Is it time to "hide" Python 2.7 from the default choice and only show > Python 3.6 *by default*? Actually, looking back at the "Download" dropdown for Windows, I see Python 3.6.0Python 2.7.13 That's not really that bad (I recalled it bein

Re: [Python-ideas] Is it Python 3 yet?

2017-01-26 Thread Sven R. Kunze
A Big Yes! On 26.01.2017 17:11, Victor Stinner wrote: Hi, The download button of https://www.python.org/ currently gives the choice between Python 2.7 and 3.6. I read more and more articles saying that we reached a point where Python 3 became more popular than Python 2, Python 3 has now enough

Re: [Python-ideas] Is it Python 3 yet?

2017-01-26 Thread Berker Peksağ
On Thu, Jan 26, 2017 at 7:11 PM, Victor Stinner wrote: > Hi, > > The download button of https://www.python.org/ currently gives the > choice between Python 2.7 and 3.6. I read more and more articles > saying that we reached a point where Python 3 became more popular than > Python 2, Python 3 has n

Re: [Python-ideas] Is it Python 3 yet?

2017-01-26 Thread David Mertz
Big YES! On Jan 26, 2017 12:19 PM, "Berker Peksağ" wrote: > On Thu, Jan 26, 2017 at 7:11 PM, Victor Stinner > wrote: > > Hi, > > > > The download button of https://www.python.org/ currently gives the > > choice between Python 2.7 and 3.6. I read more and more articles > > saying that we reached

Re: [Python-ideas] Is it Python 3 yet?

2017-01-26 Thread M.-A. Lemburg
On 26.01.2017 17:11, Victor Stinner wrote: > Hi, > > The download button of https://www.python.org/ currently gives the > choice between Python 2.7 and 3.6. I read more and more articles > saying that we reached a point where Python 3 became more popular than > Python 2, Python 3 has now enough ne

Re: [Python-ideas] Is it Python 3 yet?

2017-01-26 Thread Brett Cannon
On Thu, 26 Jan 2017 at 08:39 Paul Moore wrote: > On 26 January 2017 at 16:11, Victor Stinner > wrote: > > Is it time to "hide" Python 2.7 from the default choice and only show > > Python 3.6 *by default*? > > Actually, looking back at the "Download" dropdown for Windows, I see > > Python 3.6.0

Re: [Python-ideas] Is it Python 3 yet?

2017-01-26 Thread Random832
On Thu, Jan 26, 2017, at 11:21, Paul Moore wrote: > On a similar note, I always get caught out by the fact that the > Windows default download is the 32-bit version. Are we not yet at a > point where a sufficient majority of users have 64-bit machines, and > 32-bit should be seen as a "specialist"

Re: [Python-ideas] Is it Python 3 yet?

2017-01-26 Thread M.-A. Lemburg
On 26.01.2017 23:09, Random832 wrote: > On Thu, Jan 26, 2017, at 11:21, Paul Moore wrote: >> On a similar note, I always get caught out by the fact that the >> Windows default download is the 32-bit version. Are we not yet at a >> point where a sufficient majority of users have 64-bit machines, and

Re: [Python-ideas] Is it Python 3 yet?

2017-01-26 Thread Paul Moore
On 26 January 2017 at 22:32, M.-A. Lemburg wrote: > On 26.01.2017 23:09, Random832 wrote: >> On Thu, Jan 26, 2017, at 11:21, Paul Moore wrote: >>> On a similar note, I always get caught out by the fact that the >>> Windows default download is the 32-bit version. Are we not yet at a >>> point where

Re: [Python-ideas] Is it Python 3 yet?

2017-01-26 Thread eryk sun
On Thu, Jan 26, 2017 at 10:49 PM, Paul Moore wrote: > On 26 January 2017 at 22:32, M.-A. Lemburg wrote: >> On 26.01.2017 23:09, Random832 wrote: >>> On Thu, Jan 26, 2017, at 11:21, Paul Moore wrote: On a similar note, I always get caught out by the fact that the Windows default download

Re: [Python-ideas] Is it Python 3 yet?

2017-01-26 Thread Rob Cliffe
On 26/01/2017 17:49, M.-A. Lemburg wrote: -1 on hiding Python 2.7. It's our LTS release, so something we should be proud of until it goes out of support. +1 on emphasizing the 3.6 button and de-emphasizing 2.7, e.g. by making the 3.6 button yellow and the 2.7 grey. Quite. Please, de-emphas

Re: [Python-ideas] Is it Python 3 yet?

2017-01-26 Thread Nathaniel Smith
e been downloaded 379943 times, and 64-bit windows wheels have been downloaded 331933 times [1], so it's pretty evenly split 53% / 47%. -n [1] SELECT COUNT(*) AS downloads, REGEXP_EXTRACT(file.filename, r"(win32|win_amd64)\.whl") as windows_bitness, FROM TABLE_DATE_RANGE( [the

Re: [Python-ideas] globals should accept parenteses for extending beyond 1 line

2017-01-26 Thread MRAB
On 2017-01-26 16:02, Nick Coghlan wrote: On 23 January 2017 at 22:29, MRAB wrote: > On 2017-01-23 20:09, Nick Timkovich wrote: >> >> Related and probably more common is the need for the line-continuation >> operator for long/multiple context managers with "with". I assume that's >> come up befor

Re: [Python-ideas] Is it Python 3 yet?

2017-01-26 Thread Matthias Bussonnier
ECT COUNT(*) AS downloads, REGEXP_EXTRACT(file.filename, r"(win32|win_amd64)\.whl") as windows_bitness, REGEXP_EXTRACT(details.python, r"(^\d)") as python FROM TABLE_DATE_RANGE( [the-psf:pypi.downloads], TIMESTAMP("20170119"), TIMESTAMP("20170126")

Re: [Python-ideas] Is it Python 3 yet?

2017-01-26 Thread Nathaniel Smith
On Thu, Jan 26, 2017 at 6:46 PM, Matthias Bussonnier wrote: > On Thu, Jan 26, 2017 at 5:23 PM, Nathaniel Smith wrote: > >> It's also relatively common to need a 64-bit Python, e.g. if running >> programs that need more than 4 GiB of address space. (Data analysts >> run into this fairly often.) >>

Re: [Python-ideas] Is it Python 3 yet?

2017-01-26 Thread Matthias Bussonnier
On Thu, Jan 26, 2017 at 7:20 PM, Nathaniel Smith wrote: > I also don't know why your numbers are so much larger than mine... That's because copy/pasting from the html table prepend the row number to the download count. >> Also % seem swapped depending on python2 vs Python3, and quite different.

Re: [Python-ideas] Is it Python 3 yet?

2017-01-26 Thread Terry Reedy
On 1/26/2017 5:32 PM, M.-A. Lemburg wrote: Many applications on Windows are still 32-bit applications and unless you process large amounts of data, a 32-bit Python system is well worth using. In some cases, it's even needed, e.g. if you have to use an extension which links to a 32-bit library.

Re: [Python-ideas] Is it Python 3 yet?

2017-01-26 Thread Denis Akhiyarov
The problem is not in Python packages, but when gluing Python with other Windows apps or libraries.___ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofco