[issue4788] two bare "except" clauses are used in the ssl module

2008-12-30 Thread Benjamin Peterson
Benjamin Peterson added the comment: Fixed in r68089 and r68091. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue4790] Optimization to heapq module

2008-12-30 Thread Raymond Hettinger
Raymond Hettinger added the comment: After looking at the ugly handling of this logic in the 3.0 translation, I've reconsidered. It is better to have a separate path for the case where the key is None. See r68095 and r68096 . -- resolution: rejected -> accepted __

[issue4775] Incorrect documentation - UTC time

2008-12-30 Thread David Morley
David Morley added the comment: > I propose to add this sentence to the explanation of the epoch: > > "It is platform-dependent whether or not 'seconds since the epoch' > includes leap seconds. Most systems likely implement `Unix time`_" That solution is fine. Anyone sufficiently concerned abo

[issue2121] complex constructor doesn't accept string with nan and inf

2008-12-30 Thread Cournapeau David
Cournapeau David added the comment: I started a patch against the trunk to handle nan/inf/infinite (I have not yet tackled the problem of negative zero). The patch is a bit big, because I found the function quite difficult to follow, so I refactored it a bit first (replacing the state machine w

[issue2121] complex constructor doesn't accept string with nan and inf

2008-12-30 Thread Cournapeau David
Cournapeau David added the comment: Of course, I notice two bugs just after sending the patch... New patch to fix those two issues (no check for closing bracket if opening ones are there and a bug when only imaginary part is given). Added file: http://bugs.python.org/file12503/nan_parse.patch

<    1   2