[Python-Dev] release is done, but release25-maint branch remains near-frozen

2006-09-13 Thread Anthony Baxter
Ok - we're looking at a final release in 7 days time. I really, really, really don't want to have to cut an rc3, so unless it's a seriously critical brown-paper-bag bug, let's hold off on the checkins. Documentation, I don't mind so much - particularly any formatting errors. -- Anthony Baxter

Re: [Python-Dev] .pyc file has different result for value "1.79769313486232e+308" than .py file

2006-09-13 Thread Tim Peters
[Dino Viehland] > FYI I've opened a bug against the VC++ team to fix their round tripping on > floating > point values (doesn't sound like it'll make the next release, but hopefully > it'll make it > someday). Cool! That would be helpful to many languages implemented in C/C++ relying on the pla

Re: [Python-Dev] .pyc file has different result for value "1.79769313486232e+308" than .py file

2006-09-13 Thread Dino Viehland
Thanks for the link - it's a good explanation. FYI I've opened a bug against the VC++ team to fix their round tripping on floating point values (doesn't sound like it'll make the next release, but hopefully it'll make it someday). -Original Message- From: Tim Peters [mailto:[EMAIL PROTE

Re: [Python-Dev] .pyc file has different result for value "1.79769313486232e+308" than .py file

2006-09-13 Thread Tim Peters
[Dino Viehland] > We've noticed a strange occurance on Python 2.4.3 w/ the floating point > value 1.79769313486232e+308 and how it interacts w/ a .pyc. Given x.py: > > def foo(): > print str(1.79769313486232e+308) > print str(1.79769313486232e+308) == "1.#INF" > > > The 1st time yo

[Python-Dev] .pyc file has different result for value "1.79769313486232e+308" than .py file

2006-09-13 Thread Dino Viehland
We've noticed a strange occurance on Python 2.4.3 w/ the floating point value 1.79769313486232e+308 and how it interacts w/ a .pyc. Given x.py: def foo(): print str(1.79769313486232e+308) print str(1.79769313486232e+308) == "1.#INF" The 1st time you run this you get the correct

[Python-Dev] Maybe we should have a C++ extension for testing...

2006-09-13 Thread skip
Building Python with C and then linking in extensions written in or wrapped with C++ can present problems, at least in some situations. I don't know if it's kosher to build that way, but folks do. We're bumping into such problems at work using Solaris 10 and Python 2.4 (building matplotlib, whic

Re: [Python-Dev] Signals, threads, blocking C functions

2006-09-13 Thread Gustavo Carneiro
On 9/12/06, Adam Olsen <[EMAIL PROTECTED]> wrote: > On 9/12/06, Gustavo Carneiro <[EMAIL PROTECTED]> wrote: > > On 9/12/06, Adam Olsen <[EMAIL PROTECTED]> wrote: > > > My previous mention of using a *single* flag may survive corruption > > > simply because we can tolerate false positives. Signal h

[Python-Dev] RELEASED Python 2.5 (release candidate 2)

2006-09-13 Thread Anthony Baxter
On behalf of the Python development team and the Python community, I'm happy to announce the second RELEASE CANDIDATE of Python 2.5. After the first release candidate a number of new bugfixes have been applied to the Python 2.5 code. In the interests of making 2.5 the best release possible, we've

Re: [Python-Dev] Signals, threads, blocking C functions

2006-09-13 Thread Michael Hudson
"Martin v. Löwis" <[EMAIL PROTECTED]> writes: > Michael Hudson schrieb: >>> According to [1], all python needs to do to avoid this problem is >>> block all signals in all but the main thread; >> >> Argh, no: then people who call system() from non-main threads end up >> running subprocesses with a