Re: [Python-Dev] How does this help? Re: [Python-checkins] r51366 - python/trunk/Lib/idlelib/NEWS.txt python/trunk/Lib/idlelib/idlever.py

2006-08-19 Thread Anthony Baxter
On Saturday 19 August 2006 06:24, Jim Jewett wrote: > This makes things more consistent for today, but does it really ease > maintenance? > > Why not just change it to: > > from sys import version as IDLE_VERSION > > so that it can be ignored from now on? After the fuss about changing distutils' v

Re: [Python-Dev] One-line fix for urllib2 regression

2006-08-19 Thread Anthony Baxter
On Saturday 19 August 2006 15:28, Georg Brandl wrote: > John J Lee wrote: > > Revision 50842 made a change to an undocumented interface of urllib2 that > > I'm sure will break real code. > > > > Patch 1542948 reverts the part of that commit that applied to urllib2, > > and adds a one-line fix in it

Re: [Python-Dev] ctypes and win64

2006-08-19 Thread Tim Peters
[Steve Holden] >> Reasonable enough, but I suspect that Thomas' suggestion might save us >> from raising false hopes. I'd suggest that the final release >> announcement point out that this is the first release containing >> specific support for 64-bit architectures (if indeed it is) [Martin v. Löw

Re: [Python-Dev] ctypes and win64

2006-08-19 Thread Steve Holden
Tim Peters wrote: > [Steve Holden] > >>> Reasonable enough, but I suspect that Thomas' suggestion might save us >>> from raising false hopes. I'd suggest that the final release >>> announcement point out that this is the first release containing >>> specific support for 64-bit architectures (if in

Re: [Python-Dev] [Python-checkins] How does this help? Re: r51366 - python/trunk/Lib/idlelib/NEWS.txt python/trunk/Lib/idlelib/idlever.py

2006-08-19 Thread Kurt B. Kaiser
Anthony Baxter <[EMAIL PROTECTED]> writes: > On Saturday 19 August 2006 06:24, Jim Jewett wrote: >> This makes things more consistent for today, but does it really ease >> maintenance? >> >> Why not just change it to: >> >> from sys import version as IDLE_VERSION >> >> so that it can be ignored fr

Re: [Python-Dev] os.spawnlp() missing on Windows in 2.4?

2006-08-19 Thread Jack Diederich
On Sat, Aug 19, 2006 at 04:34:16AM +0100, Steve Holden wrote: > Scott Dial wrote: > > Guido van Rossum wrote: > > > >>I just got a report from a Windows user that os.spawnlp() is missing > >>from Python 2.4, despite being mentioned in the docs. Can someone > >>confirm this? My Windows box is resti

Re: [Python-Dev] ctypes and win64

2006-08-19 Thread Jack Diederich
On Sat, Aug 19, 2006 at 05:19:40AM -0400, Tim Peters wrote: > [Steve Holden] > >> Reasonable enough, but I suspect that Thomas' suggestion might save us > >> from raising false hopes. I'd suggest that the final release > >> announcement point out that this is the first release containing > >> speci

Re: [Python-Dev] Questions on unittest behaviour

2006-08-19 Thread Collin Winter
On 8/19/06, Nick Coghlan <[EMAIL PROTECTED]> wrote: > Alternatively, someone who prefers your style (with a tearDown() method that > can handle a partially executed call to the setUp() method), can just write > it as: > > def setUp(self) > try: > lock_file(testfile) # open_socket

Re: [Python-Dev] os.spawnlp() missing on Windows in 2.4?

2006-08-19 Thread Terry Reedy
"Jack Diederich" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > *Availability: Unix: All, Windows: spawnl(), spawnle(), spawnv(), > spawnve() only. New in version 1.6 > > Might as well positively list the half that is there instead of the half > that isn't. Definitately. Succinc

Re: [Python-Dev] Questions on unittest behaviour

2006-08-19 Thread Nick Coghlan
Collin Winter wrote: > Any thoughts on the other four items? Generally speaking, I'm not sure it's worth the effort to do the input validation. All of the cases you suggest ruling out do indeed seem to be insane, but someone may have defined a subclass that does something based on the current b

[Python-Dev] String formatting / unicode 2.5 bug?

2006-08-19 Thread John J Lee
Is this a bug? # run with 2.4 and then with 2.5 (I'm running release25-maint:51410) class a(object): def __getattribute__(self, name): print "accessing %r.%s" % (self, name) return object.__getattribute__(self, name) def __str__(self): print "__str__"

[Python-Dev] SSH Key Added

2006-08-19 Thread Jackilyn Hoxworth
Can I have this key added?-- Jackilyn Hoxworth jah_key.pub Description: Binary data ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/arc

Re: [Python-Dev] String formatting / unicode 2.5 bug?

2006-08-19 Thread Nick Coghlan
John J Lee wrote: > Is this a bug? I don't believe so - the string formatting documentation states that the result will be unicode if either the format string is unicode or any of the objects passed to a %s format code is unicode. That latter part has just been extended to include any object th

Re: [Python-Dev] uuid module - byte order issue

2006-08-19 Thread Ka-Ping Yee
On Fri, 4 Aug 2006, Oren Tirosh wrote: > Compatibility with Windows "GUIDs" may be one of the most important > use cases for the UUID module. It's important to resolve this or users > will have unpleasant surprises. I did. [...] > alternatives: > > 1. Default is big endian byte order. Little endia

Re: [Python-Dev] ctypes and win64

2006-08-19 Thread Thomas Wouters
On 8/19/06, Jack Diederich <[EMAIL PROTECTED]> wrote: It has always "just worked" for me on Opterons + Debian.Python 2.4 (#1, May 31 2005, 10:19:45)[GCC 3.3.5 (Debian 1:3.3.5-12)] on linux2Type "help", "copyright", "credits" or "license" for more information. >>> import sys>>> sys.maxint92233720368