[pypy-svn] r32712 - pypy/branch/config-in-more-places/pypy/tool

cfbolz at codespeak.net cfbolz at codespeak.net
Thu Sep 28 20:01:27 CEST 2006


Author: cfbolz
Date: Thu Sep 28 20:01:25 2006
New Revision: 32712

Modified:
   pypy/branch/config-in-more-places/pypy/tool/option.py
Log:
small cleanups


Modified: pypy/branch/config-in-more-places/pypy/tool/option.py
==============================================================================
--- pypy/branch/config-in-more-places/pypy/tool/option.py	(original)
+++ pypy/branch/config-in-more-places/pypy/tool/option.py	Thu Sep 28 20:01:25 2006
@@ -6,7 +6,6 @@
 make_option = optparse.make_option
 
 class Options:
-    showwarning = 0
     objspace = "std" 
     oldstyle = 0
     uselibfile = 0
@@ -46,9 +45,6 @@
         '--nofaking', action="store_true", dest="nofaking",
         help="avoid faking of modules or objects"))
     options.append(make_option(
-        '-w', action="store_true", dest="showwarning",
-        help="enable warnings (disabled by default)"))
-    options.append(make_option(
         '-H', action="callback",
         callback=run_tb_server,
         help="use web browser for traceback info"))
@@ -61,11 +57,6 @@
         '--parser', action="store",type="string", dest="parser", default=None,
         help="select the parser module to use",
         metavar="[pypy|cpython]"))
-## for this to work the option module need to be loaded before the grammar!
-##     options.append(make_option(
-##         '--version', action="store",type="string", dest="version",
-##         help="select the Python version to emulate",
-##         metavar="[native|2.3|2.4]"))
 
     return options
 



More information about the Pypy-commit mailing list