]> granicus.if.org Git - python/commitdiff
Document the -J and -X options for CPython. Note that unlike for py2k, we
authorBarry Warsaw <barry@python.org>
Fri, 5 Feb 2010 19:12:30 +0000 (19:12 +0000)
committerBarry Warsaw <barry@python.org>
Fri, 5 Feb 2010 19:12:30 +0000 (19:12 +0000)
don't need to document -U becuase it's gone in py3k.

Doc/using/cmdline.rst
Misc/NEWS

index 7c9b511ad6697f8bac99b0e2966534795e5baafa..540e4d7b0f929291427b7a66ff0484ca72bb1454 100644 (file)
@@ -238,8 +238,6 @@ Miscellaneous options
    See also :envvar:`PYTHONUNBUFFERED`.
 
 
-.. XXX should the -U option be documented?
-
 .. cmdoption:: -v
 
    Print a message each time a module is initialized, showing the place
@@ -315,6 +313,20 @@ Miscellaneous options
 
    .. note:: The line numbers in error messages will be off by one.
 
+Options you shouldn't use
+~~~~~~~~~~~~~~~~~~~~~~~~~
+
+.. cmdoption:: -J
+
+   Reserved for use by Jython_.
+
+.. _Jython: http://jython.org
+
+.. cmdoption:: -X
+
+    Reserved for alternative implementations of Python to use for their own
+    purposes.
+
 .. _using-on-envvars:
 
 Environment variables
index 3dd680a6355bd77a6c2c82792108ca0c965aff15..fe7e6f6ad0c6aecbc0dd1355a7c29bc3812d776d 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -701,6 +701,9 @@ Build
 Documentation
 ------------
 
+- Updating `Using Python` documentation to include description of CPython's
+  -J and -X options.
+
 - Document that importing a module that has None in sys.modules triggers an
   ImportError.