[pypy-commit] extradoc extradoc: some minimal tweaks, and two words about what I did

antocuni noreply at buildbot.pypy.org
Tue Dec 4 21:34:08 CET 2012


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: extradoc
Changeset: r4930:206b0f765247
Date: 2012-12-04 21:33 +0100
http://bitbucket.org/pypy/extradoc/changeset/206b0f765247/

Log:	some minimal tweaks, and two words about what I did

diff --git a/blog/draft/py3k-status-update-8.rst b/blog/draft/py3k-status-update-8.rst
--- a/blog/draft/py3k-status-update-8.rst
+++ b/blog/draft/py3k-status-update-8.rst
@@ -15,26 +15,42 @@
 
 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/


More information about the pypy-commit mailing list