Author: Ronny Pfannschmidt <ronny.pfannschm...@gmx.de> Branch: Changeset: r55425:49fbd7ec3560 Date: 2012-06-06 11:17 +0200 http://bitbucket.org/pypy/pypy/changeset/49fbd7ec3560/
Log: update the docs wrt modified-stdlib removal diff --git a/pypy/doc/coding-guide.rst b/pypy/doc/coding-guide.rst --- a/pypy/doc/coding-guide.rst +++ b/pypy/doc/coding-guide.rst @@ -610,10 +610,6 @@ >>>> cPickle.__file__ '/home/hpk/pypy-dist/lib_pypy/cPickle..py' - >>>> import opcode - >>>> opcode.__file__ - '/home/hpk/pypy-dist/lib-python/modified-2.7/opcode.py' - >>>> import os >>>> os.__file__ '/home/hpk/pypy-dist/lib-python/2.7/os.py' @@ -639,13 +635,9 @@ contains pure Python reimplementation of modules. -*lib-python/modified-2.7/* - - The files and tests that we have modified from the CPython library. - *lib-python/2.7/* - The unmodified CPython library. **Never ever check anything in there**. + The modified CPython library. .. _`modify modules`: @@ -658,16 +650,9 @@ by default and CPython has a number of places where it relies on some classes being old-style. -If you want to change a module or test contained in ``lib-python/2.7`` -then make sure that you copy the file to our ``lib-python/modified-2.7`` -directory first. In mercurial commandline terms this reads:: - - $ hg cp lib-python/2.7/somemodule.py lib-python/modified-2.7/ - -and subsequently you edit and commit -``lib-python/modified-2.7/somemodule.py``. This copying operation is -important because it keeps the original CPython tree clean and makes it -obvious what we had to change. +We just maintain those changes in place, +to see what is changed we have a branch called `vendot/stdlib` +wich contains the unmodified cpython stdlib .. _`mixed module mechanism`: .. _`mixed modules`: diff --git a/pypy/doc/getting-started-python.rst b/pypy/doc/getting-started-python.rst --- a/pypy/doc/getting-started-python.rst +++ b/pypy/doc/getting-started-python.rst @@ -220,7 +220,6 @@ ./include/ ./lib_pypy/ ./lib-python/2.7 - ./lib-python/modified-2.7 ./site-packages/ The hierarchy shown above is relative to a PREFIX directory. PREFIX is _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit