Philip Jenvey 19ed415 2012-12-03 Antonio Cuni 206b0f7 2012-12-04 Philip Jenvey 19ed415 2012-12-03 Antonio Cuni 206b0f7 2012-12-04 Philip Jenvey 19ed415 2012-12-03 Antonio Cuni 206b0f7 2012-12-04 Philip Jenvey 19ed415 2012-12-03 Antonio Cuni 206b0f7 2012-12-04 Philip Jenvey 19ed415 2012-12-03 Antonio Cuni 206b0f7 2012-12-04 Philip Jenvey 19ed415 2012-12-03 Antonio Cuni 206b0f7 2012-12-04 Philip Jenvey 19ed415 2012-12-03   1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 Py3k status update #8 --------------------- This is the eight status update about our work on the py3k branch_, which we can work on thanks to all of the people who donated_ to the py3k proposal_. Just a short update on November's work: we're now passing about 194 of approximately 355 modules of CPython's regression test suite, up from passing 160 last month. Many test modules only fail a small number of individual tests now. We'd like to thank Amaury Forgeot d'Arc for his contributions, in particular he has made significant progress on updating CPyExt_ for Python 3 this month. Some other highlights: * test_marshal now passes, and there's been significant progress on pickling (thanks Kenny Levinsen and Amaury for implementing int.{to,from}_bytes) XXX: should we put a link to Kenny's twitter/webpage? * We now have a _posixsubprocess module * More encoding related fixes, which affects many failing tests * _sre was updated and now test_re almost passes * Exception behavior is almost complete per the Python 3 specs, what's mostly missing now are the new __context__ and __traceback__ attributes (PEP 3134_) * Fixed some crashes and deadlocks occurring during the regression tests * We merged the unicode-strategies_ branch both to default and to py3k: now we have versions of lists, dictionaries and sets specialized for unicode elements, as we already had for strings. * However, for string-specialized containers are still faster in some cases because there are shortcuts which have not been implemented for unicode yet (e.g., constructing a set of strings from a list of strings). The plan is to completely kill the shortcuts and improve the JIT to produce the fast version automatically for both the string and unicode versions, to have a more maintainable codebase without sacrificing the speed. The autoreds_ branch (already merged) was a first step in this direction. cheers, Philip&Antonio .. _donated: http://morepypy.blogspot.com/2012/01/py3k-and-numpy-first-stage-thanks-to.html .. _py3k proposal: http://pypy.org/py3donate.html .. _py3k branch: https://bitbucket.org/pypy/pypy/commits/all/tip/branch%28%22py3k%22%29 .. _autoreds: https://bitbucket.org/pypy/pypy/commits/all/tip/branch%28%22autoreds%22%29 .. _unicode-strategies: https://bitbucket.org/pypy/pypy/commits/all/tip/branch%28%22unicode-strategies%22%29 .. _CPyExt: http://morepypy.blogspot.com/2010/04/using-cpython-extension-modules-with.html .. _PEP 3134: http://www.python.org/dev/peps/pep-3134/