[Python-Dev] fixing tests on windows

2008-03-31 Thread Neal Norwitz
The Windows buildbots are still failing because some tests keep files opened. This causes subsequent tests which use the same file to fail. Here is a recent run which had a failure early on: http://www.python.org/dev/buildbot/stable/x86%20XP-3%20trunk/builds/1209/step-test/0 I'm assuming the fir

[Python-Dev] refleaks on trunk

2008-03-31 Thread Neal Norwitz
test_io is the only leaky test on trunk that I know of. I narrowed down the leaks to the code below. It's possible there are other leaks in test_io. n -- import sys, gc import _fileio, io class FileIO(_fileio._FileIO, io.RawIOBase): def close(self): io.RawIOBase.close(self) def mai

[Python-Dev] Thread-safe file objects, the return

2008-03-31 Thread Antoine Pitrou
Hello, It seems this subject has had quite a bit of history. Tim Peters demonstrated the problem in 2003 in this message: http://mail.python.org/pipermail/python-dev/2003-June/036537.html In short, Python file objects release the GIL before calling any C stdlib function on their embedded FILE po

Re: [Python-Dev] [Python-3000] Python source code on Bazaar vcs

2008-03-31 Thread
[EMAIL PROTECTED] wrote: > Benjamin> Once you've pushed the branches, is there a way to remove them? > > Related question: is there a way to view the various branches in a non-local > repository? IIUC, conceptually, no. A branch is not *in* a repository; a branch *is* a repository (*). So you

[Python-Dev] Next alphas, this Wednesday

2008-03-31 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Just another heartbeat reminder that I intend to release the next alphas for Python 2.6 and 3.0 this Wednesday April 2nd, at approximately 6pm Eastern time (UTC 2200). Current status: the buildbots for both the trunk and 3.0 look relatively good

Re: [Python-Dev] No time for svn merge

2008-03-31 Thread Facundo Batista
2008/3/31, Christian Heimes <[EMAIL PROTECTED]>: > In most cases it's easy. Usually it takes me less than 20 minutes per > day to merge the chances from trunk -> py3k. In this particular case > several obstacles come together. The changes in the AST and parser code > aren't trivial, I'm not fam

Re: [Python-Dev] [Python-3000] Python source code on Bazaar vcs

2008-03-31 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mar 30, 2008, at 3:35 AM, Martin v. Löwis wrote: > Likewise, if you are accessing the repository over bzr+ssh, in > general, > you can just ssh to the machine, and do a regular ls. In the specific

Re: [Python-Dev] No time for svn merge

2008-03-31 Thread Christian Heimes
Facundo Batista schrieb: > Me for myself, I thought that the trunk -> 3k merge was easier! > > Sometimes I commited changes to the trunk, don't worrying about 3k at > all, thinking it was a mostly automatic process. > > Now that I know this, I will start patching both trunk & 3k simultaneously..

Re: [Python-Dev] No time for svn merge

2008-03-31 Thread Facundo Batista
2008/3/30, "Martin v. Löwis" <[EMAIL PROTECTED]>: > > If you'd like, I can merge the rest. > > If you have the time to figure it all out, sure. > I found that quite a tedious task, and had to spent > on some patches quite a long time to figure out what > they do, and what the 3.x equivalent sho

[Python-Dev] FW: [issue2513] 64bit cross compilation on windows

2008-03-31 Thread Mark Hammond
FYI, I've uploaded a patch that provides for cross-compilation on Windows between 32 and 64 bit platforms - all comments invited! Thanks, Mark -Original Message- From: Mark Hammond [mailto:[EMAIL PROTECTED] Sent: Sunday, 30 March 2008 6:01 PM To: [EMAIL PROTECTED] Subject: [issue2513] 6

Re: [Python-Dev] Py3k and asyncore/asynchat

2008-03-31 Thread Neal Norwitz
On Sun, Mar 30, 2008 at 7:44 PM, Josiah Carlson <[EMAIL PROTECTED]> wrote: > > I haven't really had time to update the tests/documentation, but > again, I wasn't experiencing any strange test failures with > asyncore/asynchat, nor have I been able to find the buildbot failures > that you are re