Re: [Python-Dev] Remove typing from the stdlib

2017-11-03 Thread Steve Dower
ides rich runtime introspection, I'd also be fine. At least then the interface is highly stable, even if the implementation (for those who use it) changes. Cheers, Steve ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Remove typing from the stdlib

2017-11-03 Thread Steve Dower
name of things -- it never reads typing.py. (It reads typing.pyi from typeshed, but what's there is ignored in many cases too.) Thank you. Very glad to hear I understood it correctly. Cheers, Steve ___ Python-Dev mailing list Python-

Re: [Python-Dev] Guarantee ordered dict literals in v3.7?

2017-11-05 Thread Steve Dower
extensions (DefaultDict, OrderedDict, etc.) for those who want more guarantees. Cheers, Steve Top-posted from my Windows phone From: Peter Ludemann via Python-Dev Sent: Sunday, November 5, 2017 12:53 To: Sven R. Kunze Cc: Python-Dev Subject: Re: [Python-Dev] Guarantee ordered dict literals in

Re: [Python-Dev] Guarantee ordered dict literals in v3.7?

2017-11-06 Thread Steve Holden
guage has been screaming for for years. ​Presumably there is little concern that algorithms that rely on this behaviour will be perfectly syntactically conformant with earlier versions​ but will fail subtly and without explanation? It's a small co

Re: [Python-Dev] Allow annotations using basic types in the stdlib?

2017-11-06 Thread Steve Holden
While I appreciate the value of annotations I think that *any* addition of them to the stdlib would complicate an important learning resource unnecessarily. S Steve Holden On Mon, Nov 6, 2017 at 4:07 PM, Victor Stinner wrote: > Related to annotations, are you ok to annotate basic types in

Re: [Python-Dev] Partial support of a platform

2017-11-06 Thread Steve Dower
pt it - but only if there was no behavioural change on supported platforms. Does that make sense? I'm not sure whether we ought to capture some general guidelines somewhere on how to make decisions around this, but we should certainly have the discussion here first anyway. Cheers, Steve

Re: [Python-Dev] Remove typing from the stdlib

2017-11-07 Thread Steve Holden
7;d like to see a little more clarity about the benefits such a schism would offer. regards Steve ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Python possible vulnerabilities in concurrency

2017-11-17 Thread Steve Dower
ng up about it. There are implementations against v3.7.0a2 is at https://github.com/zooba/cpython/tree/pep551 and against v3.6.3 at https://github.com/zooba/cpython/tree/pep551_36 ) Cheers, Steve ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] Python initialization and embedded Python

2017-11-17 Thread Steve Dower
ze the runtime (Py_SetPath and such), which are also the ones being "upgraded" as part of this work. If we have a good idea of which ones are [un]safe now, perhaps we should tag them explicitly in the docs? Do we know which ones are [un]safe? Cheers, Steve _

Re: [Python-Dev] Tricky way of of creating a generator via a comprehension expression

2017-11-23 Thread Steve Holden
that would allow decisions to be made in the light of further experience. I would urge developers, in their ​improvements to the language to support asynchronous programming, to bear in mind that this is (currently) a minority use case. Why the rush to set complex semantics in stone? > regards

Re: [Python-Dev] Can Python guarantee the order of keyword-only parameters?

2017-11-28 Thread Steve Holden
great heap whence it came ..." Steve Holden On Tue, Nov 28, 2017 at 5:13 PM, Brett Cannon wrote: > > > On Tue, 28 Nov 2017 at 03:33 Nick Coghlan wrote: > >> On 28 November 2017 at 15:42, Larry Hastings wrote: >> > On 11/27/2017 03:58 PM, Yury Selivanov wrote: >&g

Re: [Python-Dev] What's the status of PEP 505: None-aware operators?

2017-12-01 Thread Steve Holden
On Fri, Dec 1, 2017 at 10:31 AM, Steven D'Aprano wrote: > On Thu, Nov 30, 2017 at 11:54:39PM -0500, Random832 wrote: > > > The OP isn't confusing anything; it's Eric who is confused. The quoted > > paragraph of the PEP clearly and unambiguously claims that the sequence > > is "arguments -> functi

Re: [Python-Dev] PEPs: ``.. code:: python`` or ``::`` (syntaxhighlighting)

2017-12-02 Thread Steve Dower
things though – presumably it’s just a case of installing pygments. (FWIW, I’m not keen on going back and modifying old PEPs, but I won’t stop someone doing it on their own terms.) Cheers, Steve Top-posted from my Windows phone at North Bay Python From: Wes Turner Sent: Thursday, November 30, 2017

Re: [Python-Dev] Is static typing still optional?

2017-12-15 Thread Steve Holden
On Mon, Dec 11, 2017 at 5:10 PM, Chris Barker - NOAA Federal < chris.bar...@noaa.gov> wrote: > . > > I see a couple of options: > 1a: Use a default type annotation, if one is not is supplied. typing.Any > would presumably make the most sense. > 1b: Use None if not type is supplied. > 2: Rework the

Re: [Python-Dev] Guarantee ordered dict literals in v3.7?

2017-12-18 Thread Steve Holden
On Fri, Dec 15, 2017 at 9:47 PM, Guido van Rossum wrote: > ​[...] > > stays ordered across deletions" part of the ruling is true in CPython 3.6. > > I don't know what guidance to give Eric, because I don't know what other > implementations do nor whether Eric cares about being compatible with >

Re: [Python-Dev] Decision of having a deprecation period or not for changing csv.DictReader returning type.

2017-12-18 Thread Steve Holden
I submitted the 3.6 patch that Raymond committed. The purpose of the change was to allow access to the ordering of the columns. It doesn't use any of the OrderedDict-only methods, and I'd be very surprised if a reversion to using dict in 3.7 would cause any tests to fail. regards St

Re: [Python-Dev] Guarantee ordered dict literals in v3.7?

2017-12-18 Thread Steve Dower
control sorting without changing the default is fine. Please stop assuming that everyone wants an OrderedDict when they say dict. It's an invalid assumption. Cheers, Steve ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/lis

Re: [Python-Dev] Is static typing still optional?

2017-12-19 Thread Steve Holden
nt purposes, but it would be a pity if this were to unnecessarily complicate the stdlib. regards Steve ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Guarantee ordered dict literals in v3.7?

2017-12-19 Thread Steve Holden
quivalent to the following code. def sorted(self):​ return {self[k] for k in sorted(self.keys())} Alternatively the sorted built-in could be modified to handle dicts in this way. Though I still find the assumption of any ordering at all a bit weird I suppose I'll grow us

Re: [Python-Dev] Guarantee ordered dict literals in v3.7?

2017-12-19 Thread Steve Dower
teration order of dict. However, I *do* rely on nobody else relying on the iteration order of dict either, and so proposals to change existing semantics that were previously independent of insertion order to make them rely on insertion order will affect me. So now I'm pushing back.

Re: [Python-Dev] Is static typing still optional?

2017-12-21 Thread Steve Holden
e handled the same way not-yet initilialised slots are? (Pardon my ignornace). ​ > I think the doc should explicitly say that uninitialized fields require > annotation with something (anything, not necessarily a type) simply to > avoid NameError during class creation. It may not be obv

Re: [Python-Dev] subprocess not escaping "^" on Windows

2018-01-07 Thread Steve Dower
users do their own escaping, especially since those who are successfully using this feature already do. Cheers, Steve Top-posted from my Windows phone From: Guido van Rossum Sent: Monday, January 8, 2018 8:02 To: Gregory P. Smith Cc: Christian Tismer; Python-Dev Subject: Re: [Python-Dev] subproces

Re: [Python-Dev] subprocess not escaping "^" on Windows

2018-01-08 Thread Steve Dower
r sending a message to an existing long-running one such as explorer.exe). I'd certainly recommend it for actions like "open this file with its default editor" or "browse to this web page with the default browser". Cheers, Steve

Re: [Python-Dev] [RELEASE] Python 3.7.0a4 is now available fortesting

2018-01-09 Thread Steve Dower
FWIW, the ansi and mbcs encodings on Windows do exactly this (as does the oem encoding with a minor twist). Feel free to reuse either alias if it makes sense, or make sure a new one also works on Windows. Top-posted from my Windows phone From: Victor Stinner Sent: Wednesday, January 10, 2018 3

Re: [Python-Dev] Deprecate PEP 370 Per user site-packages directory?

2018-01-13 Thread Steve Dower
I’m generally +1, though I don’t see an easy migration path. Moving to a node.js project model might be feasible, but I suspect our real solution will end up having to be ensuring use of -s where it’s needed. Top-posted from my Windows phone From: Christian Heimes Sent: Sunday, January 14, 2018

Re: [Python-Dev] Python 3.7: Require OpenSSL >=1.0.2 / LibreSSL >=2.5.3

2018-01-15 Thread Steve Dower
t whether OpenSSL releases should trigger a Python release, and I think that decision can stay with the RM. Good luck solving macOS :o) Cheers, Steve Top-posted from my Windows phone From: Stephen J. Turnbull Sent: Tuesday, January 16, 2018 17:45 To: Matt Billenstein Cc: Christian Heimes; p

Re: [Python-Dev] Python 3.7: Require OpenSSL >=1.0.2 / LibreSSL >=2.5.3

2018-01-16 Thread Steve Dower
OpenSSL >=1.0.2 / LibreSSL >=2.5.3 On 2018-01-16 12:28, Wes Turner wrote: > > > On Tuesday, January 16, 2018, Steve Dower <mailto:steve.do...@python.org>> wrote: > > From my perspective, we can’t keep an OpenSSL-like API and use > Windows platform librari

Re: [Python-Dev] Python 3.7: Require OpenSSL >=1.0.2 / LibreSSL>=2.5.3

2018-01-16 Thread Steve Dower
;=2.5.3 On 2018-01-16 08:08, Steve Dower wrote: > From my perspective, we can’t keep an OpenSSL-like API and use Windows > platform libraries (we *could* do a requests-like API easily enough, but > even urllib3 is painfully low-level). > >   > > We have to continue shipping ou

Re: [Python-Dev] python exe installer is broken

2018-01-17 Thread Steve Dower
And please include all the Python log files from your %TEMP% directory. On 18Jan2018 0802, Brett Cannon wrote: This seems like a bug report and is best reported on bugs.python.org . On Wed, 17 Jan 2018 at 08:05 Joshua Yeow > wrote: Dear

Re: [Python-Dev] LibreSSL support

2018-01-19 Thread Steve Holden
On Fri, Jan 19, 2018 at 12:09 AM, Nathaniel Smith wrote: > 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 Open

Re: [Python-Dev] Support of the Android platform

2018-01-23 Thread Steve Holden
For this to move forward more rapidly it would really help if there were a utility VM appliance available with a ready-installed support an SDK. Or at least that would lower impedance to joining the development effort. Does any such beast by chance exist? S Steve Holden On Tue, Jan 23, 2018 at

[Python-Dev] CLion IDE

2018-01-24 Thread Steve Holden
I've just start using CLion from JetBrains, and I wondered if anyone on the list is using this product in CPython development. Links to any guidance would be useful. regards Steve Holden ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] GH-NNNN vs #NNNN in merge commit

2018-01-25 Thread Steve Dower
-1 on using magic words in comments rather than the normal UI. Perhaps one of the bots could post a reminder at a time when it makes sense? All checks passed, maybe? Top-posted from my Windows phone From: Brett Cannon Sent: Friday, January 26, 2018 6:01 To: Berker Peksağ Cc: Python Dev Subject:

Re: [Python-Dev] OS-X builds for 3.7.0

2018-01-31 Thread Steve Holden
The horizontal axis labelling in that graph is useless with so many tests included! Would a graphic with hover labels over the bars be more useful? Steve Holden On Wed, Jan 31, 2018 at 1:06 PM, Victor Stinner wrote: > There is https://speed.python.org/comparison/ to compare Python 2.7,

Re: [Python-Dev] OS-X builds for 3.7.0

2018-01-31 Thread Steve Holden
Doh! Thank you. Steve Holden ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Why is Python for Windows compiled with MSVC?

2018-01-31 Thread Steve Dower
Windows before releasing a wheel for it is not a compelling reason to change anything. Cheers, Steve Top-posted from my Windows phone From: Oleg Sivokon Sent: Thursday, February 1, 2018 5:40 To: python-dev@python.org Subject: [Python-Dev] Why is Python for Windows compiled with MSVC? Hello

Re: [Python-Dev] Dataclasses and correct hashability

2018-02-03 Thread Steve Holden
ken seriously and discussed in such depth. Thank you all. Steve Holden On Sat, Feb 3, 2018 at 6:44 AM, Guido van Rossum wrote: > It appears Eric and I are the only ones in favor of keeping the current > behavior. But I still am not convinced by all the worries about "attractive > nu

Re: [Python-Dev] Is 4.0 a major breaking changes release?

2018-02-03 Thread Steve Holden
On Sat, Feb 3, 2018 at 10:46 PM, Ned Deily wrote: > On Feb 3, 2018, at 17:40, Alex Walters wrote: > > I am still working on porting code from 2.x to 3.x. As of late on the > lists > > I've seen comments about making somewhat major changes in 4.0 - now I'm > > concerned that I should pause my po

Re: [Python-Dev] libxml2 installation/binding issue

2018-02-06 Thread Steve Holden
On Mon, Feb 5, 2018 at 10:55 PM, Ethan Smith wrote: > This list is for the discussion of development *of* Python. For > discussion of development *with* Python, you want python-list. > ... Whose web page can be found at https://mail.python.org/mailman/listinfo/python-list Ste

Re: [Python-Dev] A minimal Python interpreter written in Python for experimenting with language changes

2018-02-06 Thread Steve Holden
On Tue, Feb 6, 2018 at 3:40 AM, Steven D'Aprano wrote: > On Sat, Feb 03, 2018 at 11:45:15AM +0100, asrp wrote: > > ​[...] > > Here's a faked session showing the sort of thing I am referring to. > (Note that this is just an example, not a proposal for a new language > feature.) > > for x in [1,

Re: [Python-Dev] How is the GitHub workflow working for people?

2018-02-21 Thread Steve Holden
On Wed, Feb 21, 2018 at 5:53 PM, Brett Cannon wrote: > > > On Wed, 21 Feb 2018 at 09:30 Yury Selivanov > wrote: > >> > > >> Huge thanks to the core-workflow team! >> >> ​Hear, hear! regards Steve​ ___

Re: [Python-Dev] PEP 467 (Minor API improvements for binary sequences) - any thoughts?

2018-02-21 Thread Steve Holden
with (e.g.) the __contains__ operator (list elements aren't lists, but string element are strings), but overall the choices made lead to sensible, comprehensible code. regards Steve Steve Holden On Wed, Feb 21, 2018 at 8:26 PM, Chris Barker wrote: > On Wed, Feb 21, 2018 at 11:55 AM,

Re: [Python-Dev] How is the GitHub workflow working for people?

2018-02-22 Thread Steve Dower
It then becomes grunt work for reviewers, who also have to carefully balance encouraging new contributors against preventing the code base from getting worse. I’d rather have a review bot that can detect problems in PRs and comment on them. We can choose to merge anyway and it won’t keep being

Re: [Python-Dev] Python 2.7 -- bugfix or security before EOL?

2018-03-14 Thread Steve Holden
ungrateful world we live in! It might be useful to retain the issues for the benefit of those who way wish to maintain the release after EOL, or at least get a list of them before the tags are wiped. regards Steve Steve Holden On Wed, Mar 14, 2018 at 1:16 PM, Michael Scott Cuthbert wrote: > &

Re: [Python-Dev] Deprecating float.is_integer()

2018-03-21 Thread Steve Holden
On Wed, Mar 21, 2018 at 3:08 PM, Guido van Rossum wrote: > I searched 6M LoC of Python code at Dropbox and found only three uses. > They seem legit. Two are about formatting a number that's given as a float, > deciding whether to print a float as 42 or 3.14. The third is attempting a > conversion

Re: [Python-Dev] Better support for consuming vendored packages

2018-03-23 Thread Steve Dower
module before their own appears ahead of it on sys.path... thinking out loud here). Cheers, Steve Top-posted from my Windows phone From: Barry Warsaw Sent: Thursday, March 22, 2018 12:56 To: Python-Dev Subject: Re: [Python-Dev] Better support for consuming vendored packages On Mar 22, 2018, at 12

Re: [Python-Dev] Better support for consuming vendored packages

2018-03-24 Thread Steve Holden
On Sat, Mar 24, 2018 at 9:29 AM, Nick Coghlan wrote: > On 23 March 2018 at 02:58, Gregory Szorc wrote: > >> I'd like to start a discussion around practices for vendoring package >> dependencies. I'm not sure python-dev is the appropriate venue for this >> discussion. If not, please point me to o

Re: [Python-Dev] Move ensurepip blobs to external place

2018-03-24 Thread Steve Dower
Or we could just pull the right version directly from PyPI? (Note that updating the version should be an explicit step, as it is today, but the file should be identical to what’s on PyPI, right? And a urlretrieve is easier than pulling from a git repo.) Top-posted from my Windows phone From: P

Re: [Python-Dev] Soliciting comments on the future of the cmdmodule (bpo-33233)

2018-04-06 Thread Steve Dower
Better to deprecate it before it becomes broken, in my opinion. Having someone willing and able to review and merge changes is the best criteria for whether a module is still supported or not. Top-posted from my Windows phone From: Raymond Hettinger Sent: Friday, April 6, 2018 18:55 To: Ned Dei

Re: [Python-Dev] PEP 572: Assignment Expressions

2018-04-17 Thread Steve Dower
Agree with Paul. The PEP is well thought out and well presented, but I really don’t think we need this in Python (and I say this as someone who uses it regularly in C/C#). -1 on the idea; no disrespect intended toward to people who did a lot of work on it. Top-posted from my Windows phone Fro

Re: [Python-Dev] https://bugs.python.org/issue33127 breaks pip / easy_install / pipenv etc in corporate networks on MS Windows using self-signed certificates

2018-04-17 Thread Steve Dower
o the bug tracker (never received a confirmation email), this is why you are reading this email. I would guess it ended up in a junk mail folder, though that may be controlled by your organization rather than anywhere you can get to it. Perhaps using an alternate email addre

Re: [Python-Dev] PEP 572: Assignment Expressions

2018-04-22 Thread Steve Dower
This example makes me want “if expr as name:” (same semantics as ‘with’, and the name is always bound to the expression result regardless of truthiness), but doesn’t move me on assignment expressions. Cheers, Steve Top-posted from my Windows phone From: Guido van Rossum Sent: Saturday, April

Re: [Python-Dev] PEP 572: Assignment Expressions

2018-04-23 Thread Steve Holden
makes of them. While Tim's expression might look (superficially) like C, the five-line alternative isn't exactly an inspiring example of Pythonicity, is it? regards Steve ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org

Re: [Python-Dev] PEP 572: Assignment Expressions

2018-04-24 Thread Steve Holden
o the programmer). regards Steve Steve Holden On Mon, Apr 23, 2018 at 6:13 PM, Sven R. Kunze wrote: > On 23.04.2018 17:59, Steve Holden wrote: > > > While Tim's expression might look (superficially) like C, the five-line > alternative isn't exactly an inspiring

Re: [Python-Dev] PEP 572: Assignment Expressions

2018-04-25 Thread Steve Holden
ammers might be tempter to indulge, leading to simpler code without undue restrictions on what can be done. The PEP is currently somewhat confused on naming, since it is entitled "Assignment Expressions" but appears to then exclusively use the name "named expressions" to reference

Re: [Python-Dev] assignment expressions: an alternative alternative proposal

2018-04-25 Thread Steve Holden
On Wed, Apr 25, 2018 at 6:16 AM, Steven D'Aprano wrote: > On Tue, Apr 24, 2018 at 03:54:30PM -0700, Guido van Rossum wrote: > > > We should really take this back to python-ideas at this point. > > Please no :-( > ​+1 ​ ___ Python-Dev mailing list Pytho

Re: [Python-Dev] PEP 572: Write vs Read, Understand and Control Flow

2018-04-25 Thread Steve Holden
On Wed, Apr 25, 2018 at 4:56 AM, Tim Peters wrote: > [Tim] > >> Binding expressions are debugger-friendly in that they _don't_ just > >> vanish without a trace. It's their purpose to _capture_ the values of > >> the expressions they name. Indeed, you may want to add them all over > >> the place

Re: [Python-Dev] (name := expression) doesn't fit the narrative of PEP 20

2018-04-26 Thread Steve Holden
On Wed, Apr 25, 2018 at 9:55 PM, Łukasz Langa wrote: > > > On 25 Apr, 2018, at 1:28 PM, Guido van Rossum wrote: > > > > You don't seem to grasp the usability improvements this will give. I > hear you but at this point appeals to Python's "Zen" don't help you. > > This reads dismissive to me. I d

Re: [Python-Dev] (name := expression) doesn't fit the narrative of PEP 20

2018-04-26 Thread Steve Holden
On Thu, Apr 26, 2018 at 8:56 AM, Steven D'Aprano wrote: > On Thu, Apr 26, 2018 at 03:31:13AM -0400, Terry Reedy wrote: > > On 4/25/2018 8:20 PM, Chris Angelico wrote: > > >On Thu, Apr 26, 2018 at 10:11 AM, Yury Selivanov > > > wrote: > > >>Just yesterday this snippet was used on python-dev to sho

Re: [Python-Dev] (name := expression) doesn't fit the narrative of PEP 20

2018-04-28 Thread Steve Holden
semantics are dead > simple, but "but under exactly what conditions are `x` and `y` bound > to the same object?" is intractable. It seems to take a long time to > get across the point, that the question itself is misguided. A full > answer requires delving into transie

Re: [Python-Dev] PEP 572: Assignment Expressions

2018-05-01 Thread Steve Holden
ss confusing to a beginner than an inline assignment. This is language abuse! In any case, what advantages would it have over simply declaring "stashed" as a global inside the function and omitting the confusing subscripting? regards Steve​ ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Drop/deprecate Tkinter?

2018-05-03 Thread Steve Holden
it is > about actually fixing the issue, and I do need feedback to be able to > proceed. > No need to delve all the way in and give an official authorization or > something. I'm only looking for an opinion poll on which redesign option > (if any) looks like the most reasonable

Re: [Python-Dev] Dealing with tone in an email

2018-05-04 Thread Steve Holden
suspect others among us might have been guilty of similar behaviours in the past I certainly couldn't cast the first stone), but times change as do standards, and it's certainly not the tone the majority of the readers of this list would want, I believe. Let

Re: [Python-Dev] Dealing with tone in an email

2018-05-04 Thread Steve Holden
Me neither, but I do want people to accept that there are norms, which should usually be observed. S Steve Holden On Fri, May 4, 2018 at 11:14 AM, Antoine Pitrou wrote: > On Fri, 4 May 2018 08:23:19 +0100 > Steve Holden wrote: > > > > ​Yup. Tolerance has to have its lim

Re: [Python-Dev] Dealing with tone in an email (was: Drop/deprecate Tkinter?)

2018-05-04 Thread Steve Holden
And that's where things should have >stopped, unless Ivan had persisted in his impoliteness. > > 2. Brian upped the ante by bringing the CoC into discussion. > > 3. Paul raised it again by describing Ivan's post as "offensive". > > 4. And now, Steve H

Re: [Python-Dev] Process to remove a Python feature

2018-05-04 Thread Steve Dower
there is the funny story of bytes filenames on Windows. I deprecated this feature in Windows 3.3 since it was broken. I really wanted hard to remove support for bytes filenames on Windows. One day, Steve Dower showed up with the PEP 529 "Change Windows filesystem encoding to UTF-8" and

Re: [Python-Dev] Slow down...

2018-05-07 Thread Steve Dower
A moratorium on new features to focus on cleaning up and planning for transition away from the 2.7 compatibility features that still exist? The most obvious being the libraries that we promised not to remove until 2.7 EOL. Top-posted from my Windows phone From: Barry Warsaw Sent: Monday, May 7,

Re: [Python-Dev] A fast startup patch (was: Python startup time)

2018-05-07 Thread Steve Dower
“the data shows that a focused change to address file system inefficiencies has the potential to broadly and transparently deliver benefit to users without affecting existing code or workflows.” This is consistent with a Node.js experiment I heard about where they compiled an entire application

[Python-Dev] PEP 554 - strange random boldface

2018-05-12 Thread Steve Holden
Does anyone know why some lines in the tables of https://www.python.org/dev/peps/pep-0554/ appear in bold when the markup doesn't seem to call for it? I can't find a way to stop this, and it's bugging me! regards ​ ​ Steve ___ Python-D

Re: [Python-Dev] PEP 554 - strange random boldface

2018-05-12 Thread Steve Holden
It's certainly true that when I split any of those left-hand cells the bizarre emphasis occurs. Still looking for a workaround. regards Steve Steve Holden On Sat, May 12, 2018 at 3:26 PM, Antoine Pitrou wrote: > On Sat, 12 May 2018 15:20:11 +0100 > Steve Holden wrote: > >

Re: [Python-Dev] PEP 554 - strange random boldface

2018-05-13 Thread Steve Holden
On Sat, May 12, 2018 at 4:57 PM, Serhiy Storchaka wrote: > 12.05.18 17:48, Steve Holden пише: > >> It's certainly true that when I split any of those left-hand cells the >> bizarre emphasis occurs. Still looking for a workaround. >> > > Remove an extra indentat

[Python-Dev] Visual Studio Team Services checks on pull requests

2018-05-17 Thread Steve Dower
mplete openness, Microsoft hopes that this will be good publicity for VSTS. If you have any examples of this working (e.g. you adopt it for other projects, start using it at work, etc.) then please pass those on to me as well. It will help convince then to keep giving us free resources :)

Re: [Python-Dev] What is the rationale behind source only releases?

2018-05-17 Thread Steve Dower
ings correctly, our planned migration to VSTS > will include > > eventually automating the signing of the Windows releases so that > part wont > > be an issue (which are currently signed manually be Steve). > > Somewhat off-topic for this discussion, but is the

Re: [Python-Dev] [Webmaster] Possible virus in Win32 build of python?

2018-05-17 Thread Steve Holden
of a virus in the official installer distributions is very low. I understand that the release process for Windows does involve anti-virus scans, and I am not personally aware of even any false positives on 3.6. Since 3.7.0 is a pre-release I am notifying the developers list as a precauti

Re: [Python-Dev] [Python-checkins] bpo-33522: Enable CI builds onVisual Studio Team Services (GH-6865) (GH-6925)

2018-05-17 Thread Steve Dower
? That is inappropriate for something claiming to merely enable a CI platform. -gps On Thu, May 17, 2018 at 6:50 AM Steve Dower wrote: https://github.com/python/cpython/commit/0d8f83f59c8f4cc7fe125434ca4ecdcac111810f commit: 0d8f83f59c8f4cc7fe125434ca4ecdcac111810f branch: 3.6 author: Steve Dower

Re: [Python-Dev] Normalisation of unicode and keywords

2018-05-18 Thread Steve Holden
It's a canonicalisation error. Steve Holden On Fri, May 18, 2018 at 2:38 PM, Ivan Pozdeev via Python-Dev < python-dev@python.org> wrote: > On 18.05.2018 14:46, Steven D'Aprano wrote: > >> Stephan Houben noticed that Python apparently allows identifiers to be >

Re: [Python-Dev] please help triage VSTS failures

2018-05-18 Thread Steve Dower
Unfamiliar maybe, though I’m a big fan of separating build and test logs. If anyone is motivated enough to make unittest/regrtest generate Junit format XML then we can get a nice breakdown by individual test, too, which would save scrolling through the log entirely. The asyncio instability is a

Re: [Python-Dev] please help triage VSTS failures

2018-05-18 Thread Steve Dower
t fix here may not be immediately sufficient. Sent from my Windows 10 phone From: Nathaniel Smith Sent: Friday, May 18, 2018 17:34 To: Steve Dower Cc: Zachary Ware; Python-Dev Subject: Re: [Python-Dev] please help triage VSTS failures On Fri, May 18, 2018 at 1:13 PM, Steve Dower wrote: > Acco

Re: [Python-Dev] Procedure for adding new public C API

2018-05-22 Thread Steve Dower
bug on bpo somewhere with details and helper scripts, as well as unrecorded discussions from the sprints a couple years ago.) Sorry to be the bearer of bad news. Cheers, Steve ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailma

Re: [Python-Dev] PEP: 576 Title: Rationalize Built-in function classes

2018-05-22 Thread Steve Dower
e a number of us are unlikely to click through to github unless we have a specific interest in the topic. Cheers, Steve ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python

Re: [Python-Dev] Compact GC Header

2018-05-29 Thread Steve Dower
Looks like it breaks the 3.7 ABI, which is certainly not allowed at this time. But it’s not a limited API structure, so no problem for 3.8. Top-posted from my Windows 10 phone From: Victor Stinner Sent: Tuesday, May 29, 2018 6:44 To: INADA Naoki Cc: Python-Dev Subject: Re: [Python-Dev] Compact G

Re: [Python-Dev] Forward of moderated message

2018-05-30 Thread Steve Dower
st address for these issues is certainly python-dev@python.org and not python-list. I'm also happy to take them directly to at if it's easier to pass them on internally. Cheers, Steve On 30May2018 0958, Brett Cannon wrote: > If you look you will see this is being executed from wi

Re: [Python-Dev] A more flexible task creation

2018-06-14 Thread Steve Dower
is when I need it, and it looks like asyncio.Semaphore() is sufficient for this: import asyncio task_limiter = asyncio.Semaphore(4) async def my_task(): await task_limiter.acquire() try: await do_db_request() finally: task_limiter.

Re: [Python-Dev] A more flexible task creation

2018-06-15 Thread Steve Holden
On Thu, Jun 14, 2018 at 8:14 PM, Chris Barker via Python-Dev < python-dev@python.org> wrote: > Excuse my ignorance (or maybe it's a vocabulary thing), but I'm trying to > understand the problem here. > > So why do queries fail with 1 tasks? or ANY number? If the async DB > access code is wri

Re: [Python-Dev] Informal educator feedback on PEP 572 (was Re: 2018 Python Language Summit coverage, last part)

2018-06-25 Thread Steve Holden
On Mon, Jun 25, 2018 at 8:37 PM, Terry Reedy wrote: > On 6/24/2018 7:25 PM, Guido van Rossum wrote: > >> I'd wager that the people who might be most horrified about it >> > > the (b) scoping rule change > > would be people who feel strongly that the change to the >> comprehension scope rules in P

Re: [Python-Dev] Enable access to the AST for Python code

2015-05-21 Thread Steve Dower
It's only a macro system when you generate code in unexpected/unobvious places with it. This is more like inspect.getsource(), but going straight to the AST. Cheers, Steve Top-posted from my Windows Phone From: Greg Ewing<mailto:greg.ew...@canterbury.ac.

Re: [Python-Dev] Enable access to the AST for Python code

2015-05-21 Thread Steve Dower
ainly not an unreasonable request. Cheers, Steve Top-posted from my Windows Phone From: Greg Ewing<mailto:greg.ew...@canterbury.ac.nz> Sent: ‎5/‎21/‎2015 17:29 To: python-dev@python.org<mailto:python-dev@python.org> Subject: Re: [Python-Dev] Enable acce

Re: [Python-Dev] [python-committers] Can we clean up the buildbots please?

2015-05-22 Thread Steve Dower
. Cheers, Steve Coming to PyData Seattle 2015<http://conf.pydata.org/seattle2015/>? Hosted by Microsoft on our Redmond campus, July 24-26 From: python-committers [mailto:python-committers-bounces+steve.dower=microsoft@python.org] On Behalf Of Larry Hastings Sent: Friday, May 22, 2015 1

Re: [Python-Dev] [python-committers] Can we clean up the buildbots please?

2015-05-22 Thread Steve Dower
against keeping the one VS 2010 buildbot around for now. When MSFT comes up with a better way of getting the compiler than installing 8GB+ of interactive environment, then I’ll be more forceful about it (and yes, I’m helping encourage the relevant teams). Cheers, Steve Coming to PyData Seattle

Re: [Python-Dev] Unable to build regex module against Python 3.5 32-bit

2015-05-26 Thread Steve Dower
is is what's happened here, I see it as a good enough reason to stop shipping the lib and to add instructions on generating it instead (the gendef/dlltool dance). Cheers, Steve Top-posted from my Windows Phone From: Paul Moore<mailto:p.f.mo...@gmail.com&

Re: [Python-Dev] Usability of the limited API

2015-05-28 Thread Steve Dower
Paul Moore wrote: > On 28 May 2015 at 15:28, Steve Dower wrote: >> I don't have the issue number handy, but it should be near the top of >> the recently modified list. > > I recall seeing that issue. I'm fine with that - getting the two in sync is > obviousl

Re: [Python-Dev] Computed Goto dispatch for Python 2

2015-05-28 Thread Steve Dower
cial Python binaries breaks the signatures, signed executables are fully scanned before running (slow if the file is big), IT departments know how to deal with installers and users know how to deal with installed binaries, and probably more.) Alright everyone, back on topic now unle

[Python-Dev] Single-file Python executables (was: Computed Goto dispatch for Python 2)

2015-05-28 Thread Steve Dower
ng after that is going to fail for some reason. That's an unavoidable 4,257KB. The rest of the stdlib adds another ~16MB once you exclude the test suite, so a fully functioning Python is not cheap. (Using compressed .pyc's in a zip file can make a big difference here though, assuming you

Re: [Python-Dev] Single-file Python executables (was: Computed Goto dispatch for Python 2)

2015-05-28 Thread Steve Dower
Donald Stufft wrote: > On May 28, 2015 at 11:30:37 AM, Steve Dower (steve.do...@microsoft.com) wrote: >> Donald Stufft wrote: >> > Well Python 3.4.3 binary is 4kb for me, so you'd have that + your >> > 1KB Python script + whatever >> other pieces you need. &

Re: [Python-Dev] Usability of the limited API

2015-05-28 Thread Steve Dower
arge set of new APIs. I don't have the issue number handy, but it should be near the top of the recently modified list. Cheers, Steve Top-posted from my Windows Phone From: Paul Moore<mailto:p.f.mo...@gmail.com> Sent: ‎5/‎28/‎2015 7:12 To: Python D

Re: [Python-Dev] Single-file Python executables (was: Computed Goto dispatch for Python 2)

2015-05-29 Thread Steve Dower
lt or into the system directory for an all-users installation. The embeddable distro includes python3.dll alongside the other DLLs as well. Cheers, Steve ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/pytho

Re: [Python-Dev] Computed Goto dispatch for Python 2

2015-05-31 Thread Steve Dower
ight now, but could probably be ported from getpathp.c into getpath.c easily. Cheers, Steve Top-posted from my Windows Phone From: Alexander Walters<mailto:tritium-l...@sdamon.com> Sent: ‎5/‎31/‎2015 6:39 To: python-dev@python.org<mailto:python-dev@python.

Re: [Python-Dev] Windows new 3.5 installer: Command line uninstall

2015-06-01 Thread Steve Dower
b installer exe, and it won't download anything, but the version does have to match exactly. Cheers, Steve Top-posted from my Windows Phone From: Paul Moore<mailto:p.f.mo...@gmail.com> Sent: ‎6/‎1/‎2015 6:54 To: Python Dev<mailto:python-dev@python.org&g

[Python-Dev] Mingw help

2015-06-04 Thread Steve Dower
ns on how to generate it with your own tools. I've done enough guessing and need someone who actually uses mingw to step up and help out. Thanks, Steve ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/

Re: [Python-Dev] Backporting the 3.5+ Windows build project files to 2.7

2015-06-22 Thread Steve Dower
ith support from > PCbuild/build.bat which would make the new project files the default for the > buildbots. Agreed, just replace them. PCBuild is messy enough with the output files in there (I'd avoid moving them - plenty of the stdlib and test suite expects them to be there), we do

<    1   2   3   4   5   6   7   8   9   10   >