Re: [Python-Dev] refleaks and caches

2008-01-27 Thread Christian Heimes
, too. Can somebody please double check the change? The results are promising and I'm sure I've implemented it correctly but you never know ;) Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-d

Re: [Python-Dev] refleaks and caches

2008-01-27 Thread Christian Heimes
Brett Cannon wrote: > Ignoring whether this is the right thing to do, should this be in sys or in > gc? Yeah, good idea. The gc module makes sense. Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/li

Re: [Python-Dev] refleaks and caches

2008-01-27 Thread Christian Heimes
: if we > are going to move attrs out of sys for py3k, we should consider > renaming them to be consistent too. Regardless of moving them, should > we rename them.) The attribute name is the least problem. It's easy to fix. Brett came up with a nice idea, too. He sug

Re: [Python-Dev] refleaks and caches

2008-01-28 Thread Christian Heimes
Jeroen Ruigrok van der Werven wrote: > -On [20080128 03:13], Christian Heimes ([EMAIL PROTECTED]) wrote: >> Do the int/float free lists cause any trouble or can they eat lots of >> memory? > > I hope I am interpreting it correctly, but it seems > http://evanjones.ca/memo

Re: [Python-Dev] Py2.6 release schedule

2008-01-28 Thread Christian Heimes
l. Travis, can you please increase your priority on the port of your PEP to 2.6? Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/

Re: [Python-Dev] Py2.6 release schedule

2008-01-29 Thread Christian Heimes
bytearray needs: PyBuffer_FillInfo PyObject_ReleaseBuffer PyObject_GetBuffer PyBuffer_ToContiguous PyObject_CheckBuffer PyExc_BufferError Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Un

Re: [Python-Dev] Upcoming 2.5.2 release

2008-01-31 Thread Christian Heimes
rt is a new feature. New features must land in the development version(s) of Python, that is Python 2.6 and 3.0. You must change as less code as possible in Python 2.5 to fix a severe problem. Christian ___ Python-Dev mailing list Python-Dev@python.org http:/

Re: [Python-Dev] Python on non IEEE-754 platforms: plea for information.

2008-02-01 Thread Christian Heimes
ttp://en.wikipedia.org/wiki/Qtopia http://www.trolltech.com/products/qtopia/ WinCE: http://en.wikipedia.org/wiki/WinCE Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail

Re: [Python-Dev] Python on non IEEE-754 platforms: plea for information.

2008-02-01 Thread Christian Heimes
link http://discussion.forum.nokia.com/forum/showthread.php?t=97263. I already contacted the developer and asked him to reply here. Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscri

Re: [Python-Dev] Python on non IEEE-754 platforms: plea for information.

2008-02-02 Thread Christian Heimes
lated in software). Some of the devices have a (slow) floating point engine. But it's sometimes disabled to safe power or userland software can't sometimes access the FPU. Some devices can (ab)use the DSP or GPU/OpenGL engine to speed up flo

Re: [Python-Dev] Any tips to tell sprinter at PyCon about developing on Windows?

2008-02-02 Thread Christian Heimes
2 Debug|db_static. build_tkinter.py builds the Tkinter dependencies. I'm trying to hang out on IRC during PyCon so I might be able to assist with Windows questions. It would be really cool if you can recruit some experienced Windows developers. :] Christian

Re: [Python-Dev] Any tips to tell sprinter at PyCon about developing on Windows?

2008-02-03 Thread Christian Heimes
Steve Holden wrote: > Does VS2008 (Express) coexist peacefully with VS2005, which I need to > retain for certain client projects? I've VS2005 and VS2008 (both professional) on my box. I haven't run into problems and they are living happily toge

Re: [Python-Dev] Any tips to tell sprinter at PyCon about developing on Windows?

2008-02-03 Thread Christian Heimes
The build bots are using vcbuild instead of devenv. The professional edition has it. c:\dev\python\trunk\PCbuild>vcbuild /useenv pcbuild.sln "Release|Win32" Microsoft (R) Visual C++ Project Builder - Command Line Version 9.00.21022 Christian ___

Re: [Python-Dev] Any tips to tell sprinter at PyCon about developing on Windows?

2008-02-03 Thread Christian Heimes
ble clicking on the exe works, too. sys.path is set up properly. Christian ___ 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/archive%40mail-archive.com

Re: [Python-Dev] Any tips to tell sprinter at PyCon about developing on Windows?

2008-02-03 Thread Christian Heimes
Brett Cannon wrote: > Great! Just let me know if/when the vcbuild change is made to the > build.bat file and the Windows part of the slides are done. Done ;) ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python

Re: [Python-Dev] Initial attempt to PyCon sprint tutorial slides are up

2008-02-04 Thread Christian Heimes
Brett Cannon wrote: > The 1 MB PDF can be found at > http://www.cs.ubc.ca/~drifty/pycon/sprint_tutorial.pdf . If you find > any bad info or some info that is really lacking, let me know. But > please realize that my slides are never really meant to be read on > their own as it just goes against my

Re: [Python-Dev] int/float freelists vs pymalloc

2008-02-07 Thread Christian Heimes
oes it alloc/free directly? Can your profile my patch and compare it to your results? It may be a bit faster if your patch doesn't use a free list. Christian ___ 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/archive%40mail-archive.com

Re: [Python-Dev] int/float freelists vs pymalloc

2008-02-08 Thread Christian Heimes
ation timing. Christian ___ 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/archive%40mail-archive.com

Re: [Python-Dev] int/float freelists vs pymalloc

2008-02-08 Thread Christian Heimes
anything other than an > ugly solution (though there is precedent for the concept via the gc > module). Yeah, I won't argue with that. The compaction function is a crutch. Christian ___ 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/archive%40mail-archive.com

Re: [Python-Dev] int/float freelists vs pymalloc

2008-02-08 Thread Christian Heimes
nd slightly faster to use unsigned ints instead of unsigned shorts? Christian ___ 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/archive%40mail-archive.com

Re: [Python-Dev] int/float freelists vs pymalloc

2008-02-08 Thread Christian Heimes
Neal Norwitz wrote: > It's not just size. Architectures may require data aligned on 4, 8, > or 16 addresses for optimal performance depending on data type. IIRC, > malloc aligns by 8 (not sure if that was a particular arch or very > common). I don't know if pymalloc handles alignment. Yes, pyma

Re: [Python-Dev] int/float freelists vs pymalloc

2008-02-08 Thread Christian Heimes
u extend the digits, > you might get 64-bit results, which will be slow on 32-bit systems > (plus some 32-bit systems don't support a 64-bit integer type at all > in their compilers). I pass! :) It may be worth a try for Python 4.0 when mos

Re: [Python-Dev] Initial attempt to PyCon sprint tutorial slides are up

2008-02-08 Thread Christian Heimes
Brett Cannon wrote: > The corrected version of the slides are now up at the same location. I found a minor mistake PC/ * Build files for compilers older than VS 7.1. The PC directory contains build directories for VC6.0, VC 7.1, VC8.0 and OS2. Christ

Re: [Python-Dev] Error from SVN commit

2008-02-09 Thread Christian Heimes
cts/db/transactions/60708-1.txn': No space left on device > -- I tried myself. It's failing with the same error message. Somebody has to call janitor; the hard disk needs some cleaning. ;) Christian ___ Python-Dev mailing list Pyt

Re: [Python-Dev] int/float freelists vs pymalloc

2008-02-10 Thread Christian Heimes
ery hard to beat it though. A fixed size LIFO array like PyFloatObject *free_list[PyFloat_MAXFREELIST] increased the speed slightly. IMHO a value of about 80-200 floats and ints is realistic for most apps. More objects in the free lists could keep too many pymallo

Re: [Python-Dev] int/float freelists vs pymalloc

2008-02-10 Thread Christian Heimes
list[PyFloat_MAXFREELIST] is even faster than block allocation. A small free list with 80 objects each would speed up the creation of floats and ints a bit *and* result in a quicker return of memory to the OS. Christian ___ Python-Dev mailing list

Re: [Python-Dev] int/float freelists vs pymalloc

2008-02-12 Thread Christian Heimes
ots of ints at once a larger number doesn't make a performance difference. I'd stick to 80, maybe 120 for ints for now. > I'd like to think that these changes could be considered fixes for > performance bugs so that they could be applied for 2.5.2, but I doubt > that will fl

Re: [Python-Dev] int/float freelists vs pymalloc

2008-02-13 Thread Christian Heimes
e lists during a full gc sweep. Every type with a free list gets a new function PySpam_ClearFreeList() which frees all items in the type's free list. The latter counteracts the potential issue with arenas. By the way objects are always aligned at 8 byte addre

Re: [Python-Dev] int/float freelists vs pymalloc

2008-02-13 Thread Christian Heimes
. It should read "12 or 14 byte object". Christian ___ 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/archive%40mail-archive.com

Re: [Python-Dev] New math functions

2008-02-15 Thread Christian Heimes
return NULL; } Py_INCREF(o); return o; } Christian ___ 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/archive%40mail-archive.com

[Python-Dev] Use Python 3.0 syntax for except and raise?

2008-02-17 Thread Christian Heimes
ob with svnmerge a little bit easier. Thanks! Christian ___ 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/archive%40mail-archive.com

Re: [Python-Dev] Small RFEs and the Bug Tracker

2008-02-19 Thread Christian Heimes
7;ve put an issue on pending state when it was fixed on the trunk but we haven't decided if the bugs needs to be fixed in 2.5 as well. I've also set old bugs as pending to give the op a change to reopen the bug within a month. Christian ___ Python-

Re: [Python-Dev] Small RFEs and the Bug Tracker

2008-02-19 Thread Christian Heimes
Facundo Batista wrote: > What would happen with PEP 42? will it be deprecated? It seems 42 isn't the answer at all. What a shame. *scnr* :) Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/py

Re: [Python-Dev] Small RFEs and the Bug Tracker

2008-02-19 Thread Christian Heimes
Martin v. Löwis wrote: > What's wrong with the rfe type? Why does it have to be a keyword? For one it's the name. Personally I didn't know the meaning of RFE until I googled it. Christian ___ Python-Dev mailing list Python-D

Re: [Python-Dev] Unit Test Guide

2008-02-21 Thread Christian Heimes
the directory. Otherwise the unit test *will* fail on Windows. Christian ___ 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/archive%40mail-archive.com

Re: [Python-Dev] trunk-math

2008-02-21 Thread Christian Heimes
gets accepted. For the experimental branch it was much easier to write it in Python. Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python

Re: [Python-Dev] Small RFEs and the Bug Tracker

2008-02-22 Thread Christian Heimes
t the flow seems reasonably efficient to me. We have over 1,700 open issues - bug reports, feature requests and patches - in our bug tracker. In my humble opinion it's a sure sign for a problem. Christian ___ Python-Dev mailing list Python-Dev

Re: [Python-Dev] Proposed revision of PEP 3 (using the issue tracker)

2008-02-24 Thread Christian Heimes
Steve Holden wrote: > +1 for "cannot reproduce". "cannot reproduce" is ambiguous in a slightly different, more family oriented manner ... :] Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mail

Re: [Python-Dev] Python 2.6 and 3.0

2008-02-24 Thread Christian Heimes
RT redist issue. IIRC Martin had a working solution for it in his sandbox. http://bugs.python.org/issue1657 my kqueue and epoll patch, just needs another review Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/py

Re: [Python-Dev] Buildbots for trunk are all red

2008-02-25 Thread Christian Heimes
Facundo Batista wrote: > All fail in test_compiler.py. Thomas Herve has worked out a patch: http://bugs.python.org/issue2177 Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscr

Re: [Python-Dev] optimizing out local variables

2008-02-25 Thread Christian Heimes
when it's giving them a speedup for real. How does -O affect Python code nowadays? IIRC it set __debug__ to false and removes asserts from the byte code. Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailma

Re: [Python-Dev] [Python-3000] Python 2.6 and 3.0

2008-02-25 Thread Christian Heimes
ython.org/issue1569)? Maybe Mark is able to assist you. Christian ___ 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/archive%40mail-archive.com

Re: [Python-Dev] [Python-3000] Python 2.6 and 3.0

2008-02-25 Thread Christian Heimes
could be easier to maintain. On the other hand it would introduce another dependency to a 3rd party tool and things may get complicated if we leave the road. Automation tools tend to make common things really easy but special and uncommon stuff really hard. Christian

Re: [Python-Dev] [Python-3000] Python 2.6 and 3.0

2008-02-25 Thread Christian Heimes
7;ve replaced my installer with a new one. The issue should be resolved before Python 2.6 and 3.0 are reaching beta stage. Maybe we can get some help from outside? Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/m

Re: [Python-Dev] [Python-3000] Python 2.6 and 3.0

2008-02-25 Thread Christian Heimes
rt it. Yeah, been there, got frustrated, went back :/ Christian ___ 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/archive%40mail-archive.com

Re: [Python-Dev] Python 2.6 and 3.0

2008-02-25 Thread Christian Heimes
l > bugs (as described in roundup) hold up the release. Right now there are > no critical bugs open. #1569 is critical but not important enough to stop an alpha. As I said in the other mail it should be fixed for the first beta and must be fixed for the first rc. Christian _

Re: [Python-Dev] Python 2.6 and 3.0 ...and applink.c?

2008-02-26 Thread Christian Heimes
n't understand how applink is going to help you. The SSL libs are statically linked into the _ssl extension DLL. Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://ma

Re: [Python-Dev] Python 2.6 and 3.0

2008-02-26 Thread Christian Heimes
*daily* builds are available at http://www.python.org/dev/daily-msi/ Christian signature.asc Description: OpenPGP digital signature ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe:

Re: [Python-Dev] Python 2.6 and 3.0 ...and applink.c?

2008-02-26 Thread Christian Heimes
Bill Janssen wrote: [snip] Do you have an opinion on the initial proposal of applink.c? The proposal does neither seem harmful nor problematic but I also don't see how it is going to help the op. Christian ___ Python-Dev mailing list Pytho

Re: [Python-Dev] Python 2.6 and 3.0

2008-02-26 Thread Christian Heimes
st coffee. I sometimes work until dawn so technically speaking 11:00 UTC could fit my definition of nightly build. :) Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail

[Python-Dev] Code freeze?

2008-02-28 Thread Christian Heimes
st Windows later. Christian ___ 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/archive%40mail-archive.com

Re: [Python-Dev] Buildbots for trunk are all red

2008-02-28 Thread Christian Heimes
ds may read the Python dev list. :) Christian ___ 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/archive%40mail-archive.com

Re: [Python-Dev] Buildbots for trunk are all red

2008-02-28 Thread Christian Heimes
. Thanks for the correction! It seems my information is a bit outdated. Several years ago we have moved most or all subversion repositories to fsfs because we had major issue with the Berkeley backend. I haven't used the bdb backend since then. Christian

Re: [Python-Dev] Buildbots for trunk are all red

2008-02-28 Thread Christian Heimes
Guido van Rossum wrote: > This was the fault of the svn developers, not of BerkeleyDB. And svn > has fixed the issues. I got that in your last mail ;) Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/li

Re: [Python-Dev] Buildbots for trunk are all red

2008-02-28 Thread Christian Heimes
well known database instead of a self made one. The project failed due to problems with the Berkeley db. I vaguely remember something with transactions and speed ... Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/

Re: [Python-Dev] Code freeze?

2008-02-28 Thread Christian Heimes
27;ve fixed some minor Windows issue in the last 30 minutes. I found one strange behavior. Some tests were failing because iter(fileobj) where fileobj is a tempfile._TemporaryFileWrapper failed. Apparently iter() doesn't use __getattr__ to acquire the __iter__ method. Is this behavior deliber

Re: [Python-Dev] Fixing buildbot/external(-amd64).bat files on Windows

2008-02-29 Thread Christian Heimes
Thomas Heller wrote: > I guess it will be merged automatically by Christian. I won't have time today. Sorry Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscrib

Re: [Python-Dev] Fixing buildbot/external(-amd64).bat files on Windows

2008-02-29 Thread Christian Heimes
s only once. It probably belongs next to the checkout or svn up and not in the build section. Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/pyt

Re: [Python-Dev] Fixing buildbot/external(-amd64).bat files on Windows

2008-02-29 Thread Christian Heimes
build stuff. devenv doesn't work for Express Edition. vcbuild seems to be the preferred CLI app to build a project but it's limited. I think it doesn't support /upgrade. MvL probably has a better answer ;) Christian ___ Python-Dev mail

Re: [Python-Dev] Code freeze?

2008-02-29 Thread Christian Heimes
e 'direct-to-type' optimisation, so > those tests work with the tempfile module as written on 2.x. tempfile is also using different implementation for TemporaryFile on Win32. On Windows it's an alias for NamedTemporaryFile while on Unix it's using a file de

Re: [Python-Dev] Fixing buildbot/external(-amd64).bat files on Windows

2008-02-29 Thread Christian Heimes
0 failed, 1 up-to-date, 0 skipped == > > I don't know how the existing vcbuild line ever worked, given the following > output from vcbuild /?: > > Usage: vcbuild [options] [project|solution] [config|$ALL] Try: vcbuild /useenv db_

Re: [Python-Dev] No releases tonight

2008-03-01 Thread Christian Heimes
ench, German, Japanese, Portuguese and Spanish. I'm willing to help with the German translation. Christian ___ 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/archive%40mail-archive.com

Re: [Python-Dev] No releases tonight

2008-03-01 Thread Christian Heimes
Steve Holden wrote: > PyCon is using a PR team to help with publicity. Maybe we can ask them > for assistance on how to get the word out? That's a *very* good idea! Let's ask some professionals rather than writing something on our

Re: [Python-Dev] The release process

2008-03-01 Thread Christian Heimes
reports, feature request and important changes have an entry in Misc/NEWS. So in general Misc/NEWS isn't an issue but Docs/whatsnew/ is. Only a couple of people - mostly Georg and Andrew - are updating the files. Christian ___ Python-Dev

Re: [Python-Dev] C-API status of Python 3?

2008-03-01 Thread Christian Heimes
bytes PyBytes - bytearray See? :) The documentation for the PyString functions is outdated and IIRC the PyBytes docs are non existing. Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/pyt

Re: [Python-Dev] [Python-3000] The release process

2008-03-01 Thread Christian Heimes
e release process of 3.0a2. Almost every step of the build process required human interaction. I don't want to diminish the effort that was put into welease though. But maybe (!) the same time spent for fixing some bugs would have helped the RM more. Christian

Re: [Python-Dev] C-API status of Python 3?

2008-03-02 Thread Christian Heimes
ake the migration process easier I can add a header file that provides PyString_* functions as aliases for PyBytes_* Comments? Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev U

Re: [Python-Dev] C-API status of Python 3?

2008-03-02 Thread Christian Heimes
one and integers are PyLong based, the distinction between bytes and text is much easier ... Christian ___ 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/archive%40mail-archive.com

Re: [Python-Dev] [Python-3000] No releases tonight

2008-03-03 Thread Christian Heimes
had a differnt target in mind, mainly large IT news sites with broader audience. It'd be great if we can mobilize some professional PR people to write an announcement for the press. Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail

Re: [Python-Dev] Compiler used to build Python for Windows

2008-03-04 Thread Christian Heimes
ent enought for you? :] Christian ___ 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/archive%40mail-archive.com

Re: [Python-Dev] Compiler used to build Python for Windows

2008-03-04 Thread Christian Heimes
Greg Ewing wrote: > Christian Heimes wrote: >> The latest alphas of Python 2.6 and 3.0 are build with VS 2088. > > Wow, that must be a very, very pre-alpha release... > > Or has someone at Redmond stolen Guid

Re: [Python-Dev] No __bases__ in dir()

2008-03-15 Thread Christian Heimes
'__flags__', '__getattribute__', '__hash__', '__init__', '__itemsize__', '__module__', '__mro__', '__name__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__

Re: [Python-Dev] 2.6 and 3.0 project management

2008-03-16 Thread Christian Heimes
the new IO framework. * Replace Windows API calls with wide versions to support unicode for file names, environment etc. * Get the stdlib reorg done and add the fixers to 2to3 * Speed up 2to3. I suggested a GSoC task to improve and speed up 2to3 but it may be too late when we plan to ship out 3.0

Re: [Python-Dev] 2.6 and 3.0 tasks

2008-03-16 Thread Christian Heimes
#x27;m not sure if and how 2to3 can be speed up. Maybe some profiling and some C code can increase the speed. It's worth a shot. Christian ___ 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/archive%40mail-archive.com

Re: [Python-Dev] 2.6 and 3.0 tasks

2008-03-16 Thread Christian Heimes
rsive system, and as > such bombs out when it encounters, e.g., files with a thousand > assignment statements in a row. I'd also like something more > expressive: the current DSL can't express recursive patterns. Do you have time to mentor a GSoC project? Or can you men

Re: [Python-Dev] 2.6 and 3.0 tasks

2008-03-16 Thread Christian Heimes
bodies are going to rot and stink sooner than later. By Python 3.2 everybody surely regrets the confusing names. ;) Christian ___ 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/archive%40mail-archive.com

Re: [Python-Dev] 2.6 and 3.0 project management

2008-03-16 Thread Christian Heimes
o > keep organized. However, if this is Python's way, I'm not going to stand in > it. Despite the url bugs.python.org it's an issue tracker and not a bug tracker. We track patches, feature requests, ideas and bugs in the same tracker. Christian _

Re: [Python-Dev] Currently adding known 2.6 showstoppers to the tracker

2008-03-17 Thread Christian Heimes
or beta/final show stoppers, "urgent" for show stoppers for the next release and "immediate" for critical bugs that either affects security or the current development process. I like to keep one priority reserved for issue that must be resolevd ASAP and within hours and not

Re: [Python-Dev] Installing Python 2.6 alpha1 on Windows XP

2008-03-18 Thread Christian Heimes
module into our MSI. Martin is working on the problem. In the mean time you can work around the problem by installing the MSVCRT 9.0 Redist. Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev

Re: [Python-Dev] test_support.have_unicode

2008-03-18 Thread Christian Heimes
break it. About two months ago I fixed the most critical bugs but the unicode free build is treated like a poor cousin at best. It's neither actively developed nor tested in regular intervals. IMO it's a deprecation candiate. Christian ___

Re: [Python-Dev] Installing Python 2.6 alpha1 on Windows XP

2008-03-18 Thread Christian Heimes
Home around somewhere. I'm going to install yet another XP in a VM, too. VMware supports snapshots and roll backs. I can try out multiple approaches and roll back the changes easily. Christian ___ Python-Dev mailing list Python-Dev@python.or

Re: [Python-Dev] Consistent platform name for 64bit windows (was: distutils.util.get_platform() for Windows)

2008-03-18 Thread Christian Heimes
banner (which already uses AMD64). +1 for AMD64 If we ever need names for Itanium and i386 compatible arch I propose IA64 and X86. Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscri

[Python-Dev] PyCon: please review miy pending patches

2008-03-19 Thread Christian Heimes
on.org/dev/peps/pep-0369/ Per user site-packages directory http://www.python.org/dev/peps/pep-0370/ Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mail

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

2008-03-20 Thread Christian Heimes
e the packages aren't signed yet sudo apt-get --force-yes -y install bzr bzr-gtk bzrtools Also read https://launchpad.net/~bzr/+archive and http://bazaar-vcs.org/DistroDownloads Christian ___ Python-Dev mailing list Python-Dev@python.org htt

Re: [Python-Dev] svnmerge and added files

2008-03-20 Thread Christian Heimes
27;t warn me when the file already exists. Christian ___ 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/archive%40mail-archive.com

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

2008-03-20 Thread Christian Heimes
MAIL PROTECTED]:~/dev/python/bzr/trunk$ ./python Fatal Python error: subversion keywords missing Aborted (core dumped) Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://m

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-21 Thread Christian Heimes
ers home directory. I think it quite related to the discussion. Christian ___ 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/archive%40mail-archive.com

Re: [Python-Dev] Proposal: from __future__ import unicode_string_literals

2008-03-21 Thread Christian Heimes
#x27;t use plain ''. For this particular issue one could probably and easily come up with a fast fixer. A simple regexp should be cover 99% of all occurrences of u'' and u"". Christian ___ Python-Dev mailing list Python-Dev

Re: [Python-Dev] SVN FAQ for Windows users

2008-03-21 Thread Christian Heimes
Thanks Giampaolo! Totally unrelated to your posting: I wonder why http://www.python.org/dev/faq/#how-to-make-a-patch uses tee instead of > file ? Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listi

Re: [Python-Dev] SVN FAQ for Windows users

2008-03-21 Thread Christian Heimes
o look at a patch). Oh yeah, Tortoise tries to be "clever". Stupid turtle :( TortoiseSVN is great tool and IMHO the best GUI app for svn but its patching system it's more than annoying. Christian ___ Python-Dev mailing list Python-Dev@p

Re: [Python-Dev] 2.6 and 3.0 tasks

2008-03-21 Thread Christian Heimes
ith PyBytes_ in both Python 2.6 and 3.0 core code. In Python 2.6 some macros replace the PyBytes_* functions with PyString_ so the linker sees PyString_*? Mmh, it sounds like an interesting idea :] Christian ___ Python-Dev mailing list Python-Dev@pyth

Re: [Python-Dev] 2.6 and 3.0 tasks

2008-03-22 Thread Christian Heimes
e down the PyString / PyBytes problem? Christian ___ 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/archive%40mail-archive.com

Re: [Python-Dev] 2.6 and 3.0 tasks

2008-03-22 Thread Christian Heimes
codecs) * Add old style read write buffer interface to bytearray (for file.readinto) * Fix pickle and copy support for bytearray Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/pyt

[Python-Dev] Backport of bytearray type and io module

2008-03-23 Thread Christian Heimes
to get the remaining tests fixed for the upcoming release in a week. Please checkout the branch and help me figure out the remaining issues. Christian [1] svn+ssh://[EMAIL PROTECTED]/python/branches/trunk-bytearray ___ Python-Dev mailing list Python-Dev@

Re: [Python-Dev] Proposal: from __future__ import unicode_string_literals

2008-03-24 Thread Christian Heimes
;m working on a node based __future__ parser based on the Python 2.3 code as MvL suggested. I'm making good progress. If I get it working it should be trivial to implement a __future__ unicode_string_literals feature. Christian ___ Python-Dev mailing li

Re: [Python-Dev] Proposal: from __future__ import unicode_string_literals

2008-03-25 Thread Christian Heimes
of a input only variable. The rest of the code is straight forward. I like to get the review of another developer before I commit the code. Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/pytho

Re: [Python-Dev] Backport of bytearray type and io module

2008-03-25 Thread Christian Heimes
Christian Heimes schrieb: > Hello! > > I've successfully back ported the bytearray type and the io module from > 3.0 to 2.6. The code is available in the branch trunk-bytearray [1]. I'm > down to four failing byte tests and one failing io test. The failing > byte tests

Re: [Python-Dev] Backport of bytearray type and io module

2008-03-25 Thread Christian Heimes
ork in 3.0? It *seems* like the comparison ops don't work correctly for subclasses. In general subclassing works but comparison of subclasses result in wrong results. It's probably easy to fix but I haven't figured it out yet. Christian ___ Pyt

Re: [Python-Dev] Backport of bytearray type and io module

2008-03-26 Thread Christian Heimes
COPYBUF(bf_releasebuffer); } basebase = base->tp_base; Christian ___ 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/archive%40mail-archive.com

Re: [Python-Dev] Backport of bytearray type and io module

2008-03-26 Thread Christian Heimes
Facundo Batista schrieb: > So, now the byte object behaves equal in 2.6 and 3.0, right? > > Thanks! Correct! The bytearray type and the new IO system are now backported to Python 2.6. Christian ___ Python-Dev mailing list Python-Dev@python

<    4   5   6   7   8   9   10   11   12   13   >