Collin Winter wrote:
[Sorry for accidentally cross-posting this to python-list]
While working on a test suite for unittest these past few weeks, I've
run across some behaviours that, while not obviously wrong, don't
strike me as quite right, either. Submitted for your consideration:
1)
On 8/19/06, Collin Winter [EMAIL PROTECTED] wrote:
1) TestCase.tearDown() is only run if TestCase.setUp() succeeded. It
seems to me that tearDown() should always be run, regardless of any
failures in setUp() or the test method itself.
The case I'm considering is something like this, ie, a
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' version
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 its place
[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öwis]
It
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 indeed it is)
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 from now on?
After
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 resting. :-)
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
specific support
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(),
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. Succinct and
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
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__
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:
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 endian is
15 matches
Mail list logo