Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/Misc/python.man

    r2 r391  
    1 .TH PYTHON "1" "$Date: 2010-01-31 11:09:16 -0500 (Sun, 31 Jan 2010) $"
     1.TH PYTHON "1" "$Date$"
    22
    33.\" To view this file while editing, run it through groff:
     
    3232]
    3333[
    34 .B \-O0
     34.B \-OO
     35]
     36[
     37.B \-R
    3538]
    3639[
     
    149152to \fI.pyo\fP.  Given twice, causes docstrings to be discarded.
    150153.TP
    151 .B \-O0
     154.B \-OO
    152155Discard docstrings in addition to the \fB-O\fP optimizations.
     156.TP
     157.B \-R
     158Turn on "hash randomization", so that the hash() values of str, bytes and
     159datetime objects are "salted" with an unpredictable pseudo-random value.
     160Although they remain constant within an individual Python process, they are
     161not predictable between repeated invocations of Python.
     162.IP
     163This is intended to provide protection against a denial of service
     164caused by carefully-chosen inputs that exploit the worst case performance
     165of a dict construction, O(n^2) complexity.  See
     166http://www.ocert.org/advisories/ocert-2011-003.html
     167for details.
    153168.TP
    154169.BI "\-Q " argument
     
    402417If this is set to a non-empty string it is equivalent to specifying
    403418the \fB\-i\fP option.
     419.IP PYTHONIOENCODING
     420If this is set before running the interpreter, it overrides the encoding used
     421for stdin/stdout/stderr, in the syntax
     422.IB encodingname ":" errorhandler
     423The
     424.IB errorhandler
     425part is optional and has the same meaning as in str.encode. For stderr, the
     426.IB errorhandler
     427 part is ignored; the handler will always be \'backslashreplace\'.
    404428.IP PYTHONNOUSERSITE
    405 If this is set to a non-empty string it is equivalent to specifying
    406 the \fB\-s\fP option (Don't add the user site directory to sys.path).
     429If this is set to a non-empty string it is equivalent to specifying the
     430\fB\-s\fP option (Don't add the user site directory to sys.path).
    407431.IP PYTHONUNBUFFERED
    408432If this is set to a non-empty string it is equivalent to specifying
     
    412436the \fB\-v\fP option. If set to an integer, it is equivalent to
    413437specifying \fB\-v\fP multiple times.
     438.IP PYTHONWARNINGS
     439If this is set to a comma-separated string it is equivalent to
     440specifying the \fB\-W\fP option for each separate value.
     441.IP PYTHONHASHSEED
     442If this variable is set to "random", the effect is the same as specifying
     443the \fB-R\fP option: a random value is used to seed the hashes of str,
     444bytes and datetime objects.
     445
     446If PYTHONHASHSEED is set to an integer value, it is used as a fixed seed for
     447generating the hash() of the types covered by the hash randomization.  Its
     448purpose is to allow repeatable hashing, such as for selftests for the
     449interpreter itself, or to allow a cluster of python processes to share hash
     450values.
     451
     452The integer must be a decimal number in the range [0,4294967295].  Specifying
     453the value 0 will lead to the same hash values as when hash randomization is
     454disabled.
    414455.SH AUTHOR
    415456The Python Software Foundation: http://www.python.org/psf
     
    419460Documentation:  http://docs.python.org/
    420461.br
    421 Developer resources:  http://www.python.org/dev/
     462Developer resources:  http://docs.python.org/devguide/
    422463.br
    423464Downloads:  http://python.org/download/
Note: See TracChangeset for help on using the changeset viewer.