Re: [Python-Dev] PEP 447: add type.__locallookup__

2013-09-12 Thread Steve Dower
What about __getlocalattribute__ or __getattributenorecurse__? Long, but this isn't going to be used often. Putting type or class in the name would be misleading. It's an instance method (that is most useful when implemented on a metaclass). (Apologies for the top post.) Sent from my Windows

Re: [Python-Dev] PEP 447: add type.__locallookup__

2013-09-12 Thread Steve Dower
:49AM +, Steve Dower wrote: What about __getlocalattribute__ or __getattributenorecurse__? Long, but this isn't going to be used often. This has nothing to do with locals, nor does it have anything to do with recursion, so both those names are misleading. Putting type or class in the name

Re: [Python-Dev] Adding Python scripts to PATHEXT on Windows

2013-07-28 Thread Steve Dower
: ‎7/‎28/‎2013 1:00 To: Steve Dowermailto:steve.do...@microsoft.com Cc: Martin v. Löwismailto:mar...@v.loewis.de; Python Devmailto:python-dev@python.org Subject: Re: [Python-Dev] Adding Python scripts to PATHEXT on Windows On 28 July 2013 00:30, Steve Dower steve.do...@microsoft.commailto:steve.do

Re: [Python-Dev] Adding Python scripts to PATHEXT on Windows

2013-07-27 Thread Steve Dower
From: Paul Moore p.f.mo...@gmail.com I'm a bit confused by your comment about people who prefer to associate scripts with an editor, though. This is only done in precisely those situations when the installer associates .py scripts with py.exe (the launcher). So if you switch that off, you

Re: [Python-Dev] Building a Faster Python

2013-07-21 Thread Steve Dower
From: Ben Hoyt PyBench2.0 shows the total running time dropping from 5653ms to 4571ms. That's very cool -- a significant improvement. Is this the kind of change that could go into 2.7.6 binaries? As a Windows user, it makes me wonder if compiling with the latest version of the Microsoft

Re: [Python-Dev] Python 3.4 and Windows XP: just 45 days until EOL

2013-07-11 Thread Steve Dower
+1. And maybe amend PEP 11 to specify whose extended support phase does not expire within 6 months of release? (I picked 6 for no particular reason.) I don't see any good reason for Python to support an OS that Microsoft doesn't, but once 3.4.0 has been released with XP support it can't really

Re: [Python-Dev] Hooking into super() attribute resolution

2013-07-08 Thread Steve Dower
() attribute resolution On 7 Jul, 2013, at 17:17, Steve Dower steve.do...@microsoft.com wrote: Could the same result be achieved by hooking the MRO that super uses and returning a list of proxy objects? What is the advantage over adding a hook to the class itself? That seems to be the right place

Re: [Python-Dev] Hooking into super() attribute resolution

2013-07-08 Thread Steve Dower
From: Ronald Oussoren [mailto:ronaldousso...@mac.com] Sent: Monday, July 8, 2013 0858 On 8 Jul, 2013, at 17:19, Steve Dower steve.do...@microsoft.com wrote: The only real advantage is a simpler signature and more easily explained use (assuming the person you're explaining

Re: [Python-Dev] How to debug python crashes

2013-05-15 Thread Steve Dower
From: Catalin Iacob Hi Philippe, I don't have access to VS right now but out of my head what you need to do is roughly outlined below. On Tue, May 14, 2013 at 5:29 PM, Philippe Fremy p...@freehackers.org wrote: But what's the reason for releasing them ? If you need to recompile

Re: [Python-Dev] PEP 4XX: pyzaa Improving Python ZIP Application Support

2013-05-06 Thread Steve Dower
of confirmation that 4-letter extensions work reliably in such cases, it seems wise to abbreviate the Windows GUI application extension as .pzw. I've also cc'ed Steve Dower, since investigation of this kind of Windows behavioural question is one of the things he offered distuils-sig help

Re: [Python-Dev] PEP 4XX: pyzaa Improving Python ZIP Application Support

2013-04-02 Thread Steve Dower
python -m pyzaa pack [-o path/name] [-m module.submodule:callable] [-c] [-w] [-p interpreter] directory: ZIP the contents of directory as directory.pyz or [-w] directory.pyzw. Adds the executable flag to the archive. ... -p interpreter include #!interpreter as the first line of

Re: [Python-Dev] VC++ 2008 Express Edition now locked away?

2013-03-07 Thread Steve Dower
From: Terry Reedy On 3/6/2013 12:29 PM, Steve Dower wrote: From: Case Van Horsen The Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1 is still available for download. It includes the command line compilers that are used with VS 2008. I have used to create extensions

Re: [Python-Dev] VC++ 2008 Express Edition now locked away?

2013-03-06 Thread Steve Dower
From: Terry Reedy Clicking this link http://www.microsoft.com/en-us/download/details.aspx?id=14597 on this Developer Guide page http://docs.python.org/devguide/setup.html#windows now returns a We are sorry, the page you requested cannot be found. page with search results. The first

Re: [Python-Dev] VC++ 2008 Express Edition now locked away?

2013-03-06 Thread Steve Dower
From: Case Van Horsen On Wed, Mar 6, 2013 at 2:20 AM, Terry Reedy tjre...@udel.edu wrote: Clicking this link http://www.microsoft.com/en-us/download/details.aspx?id=14597 on this Developer Guide page http://docs.python.org/devguide/setup.html#windows now returns a We are sorry, the

Re: [Python-Dev] Draft PEP for time zone support.

2012-12-12 Thread Steve Dower
Paul Moore wrote: On 12 December 2012 16:11, Brian Curtin br...@python.org wrote: I don't think it's all that bad to include a small script on Windows which runs every few days to check PyPI, then present an option to update the info. This is what Java itself is doing anyway. What would

<    3   4   5   6   7   8