Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
c9a42070
Commit
c9a42070
authored
Feb 21, 2012
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove reST markup from --help output. Also: O(n**2) is dict construction, not single insertion.
parent
69e97276
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
Doc/using/cmdline.rst
Doc/using/cmdline.rst
+1
-1
Misc/python.man
Misc/python.man
+1
-1
Modules/main.c
Modules/main.c
+3
-3
No files found.
Doc/using/cmdline.rst
View file @
c9a42070
...
...
@@ -224,7 +224,7 @@ Miscellaneous options
This is intended to provide protection against a denial-of-service caused by
carefully-chosen inputs that exploit the worst case performance of a dict
inser
tion, O(n^2) complexity. See
construc
tion, O(n^2) complexity. See
http://www.ocert.org/advisories/ocert-2011-003.html for details.
Changing hash values affects the order in which keys are retrieved from a
...
...
Misc/python.man
View file @
c9a42070
...
...
@@ -156,7 +156,7 @@ not predictable between repeated invocations of Python.
.IP
This is intended to provide protection against a denial of service
caused by carefully-chosen inputs that exploit the worst case performance
of a dict
inser
tion, O(n^2) complexity. See
of a dict
construc
tion, O(n^2) complexity. See
http://www.ocert.org/advisories/ocert-2011-003.html
for details.
.TP
...
...
Modules/main.c
View file @
c9a42070
...
...
@@ -103,9 +103,9 @@ PYTHONCASEOK : ignore case in 'import' statements (Windows).\n\
PYTHONIOENCODING: Encoding[:errors] used for stdin/stdout/stderr.
\n
\
"
;
static
char
*
usage_6
=
"\
PYTHONHASHSEED: if this variable is set to
``random``, the effect is the same
\n
\
as specifying the
:option:`-R` option: a random value is used to seed the
\n
\
hashes of
str, bytes and datetime objects. It can also be set to an integer
\n
\
PYTHONHASHSEED: if this variable is set to
'random', the effect is the same
\n
\
as specifying the
-R option: a random value is used to seed the hashes of
\n
\
str, bytes and datetime objects. It can also be set to an integer
\n
\
in the range [0,4294967295] to get hash values with a predictable seed.
\n
\
"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment