Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r44711:3765a46e3ff2 Date: 2011-06-05 11:12 +0200 http://bitbucket.org/pypy/pypy/changeset/3765a46e3ff2/
Log: merge heads diff --git a/pypy/doc/project-ideas.rst b/pypy/doc/project-ideas.rst --- a/pypy/doc/project-ideas.rst +++ b/pypy/doc/project-ideas.rst @@ -11,8 +11,11 @@ `mailing list`_. This is simply for the reason that small possible projects tend to change very rapidly. -XXX: write a paragraph that this is a loose collection and where to go -from here +This list is mostly for having on overview on potential projects. This list is +by definition not exhaustive and we're pleased if people come up with their +own improvement ideas. In any case, if you feel like working on some of those +projects, or anything else in PyPy, pop up on IRC or write to us on the +`mailing list`_. Numpy improvements ------------------ @@ -33,6 +36,13 @@ tools, for example a `jitviewer`_ that help us analyze performance. Improvements to existing tools as well as new tools would be of great help. +Translation Toolchain +--------------------- + +* Incremental or distributed translation. + +* Allow separate compilation of extension modules. + Work on some of other languages ------------------------------- diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py --- a/pypy/module/cpyext/api.py +++ b/pypy/module/cpyext/api.py @@ -348,6 +348,7 @@ '_Py_TrueStruct#': ('PyObject*', 'space.w_True'), '_Py_ZeroStruct#': ('PyObject*', 'space.w_False'), '_Py_NotImplementedStruct#': ('PyObject*', 'space.w_NotImplemented'), + '_Py_EllipsisObject#': ('PyObject*', 'space.w_Ellipsis'), 'PyDateTimeAPI': ('PyDateTime_CAPI*', 'None'), } FORWARD_DECLS = [] diff --git a/pypy/module/cpyext/test/test_sliceobject.py b/pypy/module/cpyext/test/test_sliceobject.py --- a/pypy/module/cpyext/test/test_sliceobject.py +++ b/pypy/module/cpyext/test/test_sliceobject.py @@ -67,3 +67,14 @@ """), ]) assert module.nullslice() == slice(None, None, None) + + def test_ellipsis(self): + module = self.import_extension('foo', [ + ("get_ellipsis", "METH_NOARGS", + """ + PyObject *ret = Py_Ellipsis; + Py_INCREF(ret); + return ret; + """), + ]) + assert module.get_ellipsis() is Ellipsis _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit