PyCon: please review miy pending patches

Dear sprinters! I've a batch of pending patches I like to get into Python before the next alphas are send out. The math, epoll/kqueue and shell folder patches just need a review. The memory management patches are more complex. Please refer to the thread "int/float freelists vs pymalloc", too. epoll and kqueue patch: http://bugs.python.org/issue1657 Mark's and my math branch: trunk$ svnmerge.py merge -S svn+ssh://pythondev@svn.python.org/python/branches/trunk-math Windows shell folder patch for os.path: http://bugs.python.org/issue1763 Memory management of ints, floats and longs http://bugs.python.org/issue2039 http://bugs.python.org/issue2013 I've also two pending PEPs. I like to see at least PEP 370 in Python 2.6 and 3.0. It's not as intrusive as PEP 370 and IMHO very useful for deployment of Python applications. Post import hooks http://www.python.org/dev/peps/pep-0369/ Per user site-packages directory http://www.python.org/dev/peps/pep-0370/ Christian

Christian Heimes wrote:
Memory management of ints, floats and longs http://bugs.python.org/issue2039 http://bugs.python.org/issue2013
wrt 2039 - I would like to see the free list compaction called from gc.collect() rather than a function in sys... something you suggested. As I noted in the comments to 2039, in the presence of pymalloc there is almost no value to floats having a freelist as far as I can test - other than in microbenchmarks. I see from a comment in 2013 that you were testing that patch with a debug build, which skews the timings. If your performance evaluation of 2039 was also done with a debug build, I suggest you try it with a non-debug build (which is what I used for all my testing). -- ------------------------------------------------------------------------- Andrew I MacIntyre "These thoughts are mine alone..." E-mail: andymac@bullseye.apana.org.au (pref) | Snail: PO Box 370 andymac@pcug.org.au (alt) | Belconnen ACT 2616 Web: http://www.andymac.org/ | Australia
participants (2)
-
Andrew MacIntyre
-
Christian Heimes