Author: Armin Rigo <ar...@tunes.org>
Branch: 
Changeset: r96409:570adebe6118
Date: 2019-04-03 18:14 +0200
http://bitbucket.org/pypy/pypy/changeset/570adebe6118/

Log:    add --lonepycfiles in cpython_differences

diff --git a/pypy/doc/cpython_differences.rst b/pypy/doc/cpython_differences.rst
--- a/pypy/doc/cpython_differences.rst
+++ b/pypy/doc/cpython_differences.rst
@@ -485,6 +485,15 @@
 * Dictionaries and sets are ordered on PyPy.  On CPython < 3.6 they are not;
   on CPython >= 3.6 dictionaries (but not sets) are ordered.
 
+* PyPy2 refuses to load lone ``.pyc`` files, i.e. ``.pyc`` files that are
+  still there after you deleted the ``.py`` file.  PyPy3 instead behaves like
+  CPython.  We could be amenable to fix this difference in PyPy2: the current
+  version reflects `our annoyance`__ with this detail of CPython, which bit
+  us too often while developing PyPy.  (It is as easy as passing the
+  ``--lonepycfile`` flag when translating PyPy, if you really need it.)
+
+.. __: https://stackoverflow.com/a/55499713/1556290
+
 
 .. _extension-modules:
 
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to