Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(16)

Unified Diff: Python/sysmodule.c

Issue 13704: Random number generator in Python core
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« Python/random.c ('K') | « Python/random.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Python/sysmodule.c Fri Dec 30 21:26:08 2011 +0100
+++ b/Python/sysmodule.c Tue Jan 03 21:48:43 2012 +0100
@@ -1332,6 +1332,7 @@
/* {"skip_first", "-x"}, */
{"bytes_warning", "-b"},
{"quiet", "-q"},
+ {"no_random_hash", "-r"},
{0}
};
@@ -1340,9 +1341,9 @@
flags__doc__, /* doc */
flags_fields, /* fields */
#ifdef RISCOS
+ 13
+#else
12
-#else
- 11
#endif
};
@@ -1375,6 +1376,7 @@
/* SetFlag(skipfirstline); */
SetFlag(Py_BytesWarningFlag);
SetFlag(Py_QuietFlag);
+ SetFlag(Py_NoRandomHashFlag);
#undef SetFlag
if (PyErr_Occurred()) {
« Python/random.c ('K') | « Python/random.c ('k') | no next file » | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+