Commits

Antonio Cuni committed 206b0f7

some minimal tweaks, and two words about what I did

Comments (0)

Files changed (1)

blog/draft/py3k-status-update-8.rst

 
 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)
+* ``test_marshal`` now passes, and there's been significant progress on pickling
+  (thanks Kenny Levinsen and Amaury for implementing ``int.{to,from}_bytes``)
 
-* We now have a _posixsubprocess module
+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
+* ``_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
+  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/src/py3k
+.. _`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/