[pypy-svn] pypy fast-forward: Add sys.dont_write_bytecode,

amauryfa commits-noreply at bitbucket.org
Sun Jan 9 21:17:27 CET 2011


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: fast-forward
Changeset: r40539:33a91829ad6d
Date: 2011-01-09 21:14 +0100
http://bitbucket.org/pypy/pypy/changeset/33a91829ad6d/

Log:	Add sys.dont_write_bytecode, with the same tests as CPython, i.e.
	none :-(

diff --git a/pypy/module/sys/__init__.py b/pypy/module/sys/__init__.py
--- a/pypy/module/sys/__init__.py
+++ b/pypy/module/sys/__init__.py
@@ -71,6 +71,7 @@
         'meta_path'             : 'space.wrap([])',
         'path_hooks'            : 'space.wrap([])',
         'path_importer_cache'   : 'space.wrap({})',
+        'dont_write_bytecode'   : 'space.w_False',
         
         'getdefaultencoding'    : 'interp_encoding.getdefaultencoding', 
         'setdefaultencoding'    : 'interp_encoding.setdefaultencoding',


More information about the Pypy-commit mailing list