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
3aec568e
Commit
3aec568e
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
4e171d12
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 @
3aec568e
...
...
@@ -248,7 +248,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 @
3aec568e
...
...
@@ -162,7 +162,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 @
3aec568e
...
...
@@ -105,9 +105,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