Changeset 391 for python/trunk/Misc/python.man
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
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$" 2 2 3 3 .\" To view this file while editing, run it through groff: … … 32 32 ] 33 33 [ 34 .B \-O0 34 .B \-OO 35 ] 36 [ 37 .B \-R 35 38 ] 36 39 [ … … 149 152 to \fI.pyo\fP. Given twice, causes docstrings to be discarded. 150 153 .TP 151 .B \-O 0154 .B \-OO 152 155 Discard docstrings in addition to the \fB-O\fP optimizations. 156 .TP 157 .B \-R 158 Turn on "hash randomization", so that the hash() values of str, bytes and 159 datetime objects are "salted" with an unpredictable pseudo-random value. 160 Although they remain constant within an individual Python process, they are 161 not predictable between repeated invocations of Python. 162 .IP 163 This is intended to provide protection against a denial of service 164 caused by carefully-chosen inputs that exploit the worst case performance 165 of a dict construction, O(n^2) complexity. See 166 http://www.ocert.org/advisories/ocert-2011-003.html 167 for details. 153 168 .TP 154 169 .BI "\-Q " argument … … 402 417 If this is set to a non-empty string it is equivalent to specifying 403 418 the \fB\-i\fP option. 419 .IP PYTHONIOENCODING 420 If this is set before running the interpreter, it overrides the encoding used 421 for stdin/stdout/stderr, in the syntax 422 .IB encodingname ":" errorhandler 423 The 424 .IB errorhandler 425 part 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\'. 404 428 .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).429 If 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). 407 431 .IP PYTHONUNBUFFERED 408 432 If this is set to a non-empty string it is equivalent to specifying … … 412 436 the \fB\-v\fP option. If set to an integer, it is equivalent to 413 437 specifying \fB\-v\fP multiple times. 438 .IP PYTHONWARNINGS 439 If this is set to a comma-separated string it is equivalent to 440 specifying the \fB\-W\fP option for each separate value. 441 .IP PYTHONHASHSEED 442 If this variable is set to "random", the effect is the same as specifying 443 the \fB-R\fP option: a random value is used to seed the hashes of str, 444 bytes and datetime objects. 445 446 If PYTHONHASHSEED is set to an integer value, it is used as a fixed seed for 447 generating the hash() of the types covered by the hash randomization. Its 448 purpose is to allow repeatable hashing, such as for selftests for the 449 interpreter itself, or to allow a cluster of python processes to share hash 450 values. 451 452 The integer must be a decimal number in the range [0,4294967295]. Specifying 453 the value 0 will lead to the same hash values as when hash randomization is 454 disabled. 414 455 .SH AUTHOR 415 456 The Python Software Foundation: http://www.python.org/psf … … 419 460 Documentation: http://docs.python.org/ 420 461 .br 421 Developer resources: http:// www.python.org/dev/462 Developer resources: http://docs.python.org/devguide/ 422 463 .br 423 464 Downloads: http://python.org/download/
Note:
See TracChangeset
for help on using the changeset viewer.