mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
merge heads
This commit is contained in:
commit
876e789f65
1 changed files with 6 additions and 0 deletions
|
@ -396,6 +396,12 @@ Py_Main(int argc, char **argv)
|
||||||
|
|
||||||
case 'W':
|
case 'W':
|
||||||
PySys_AddWarnOption(_PyOS_optarg);
|
PySys_AddWarnOption(_PyOS_optarg);
|
||||||
|
/* Extremely obscure hack: if _PyOS_optarg was one character,
|
||||||
|
PyString_FromString in PySys_AddWarnOption will try to intern
|
||||||
|
it. This is bad because hash randomization has not been setup
|
||||||
|
yet, so the string will get the wrong hash. The following call
|
||||||
|
will cause all the cached characters to be released. */
|
||||||
|
PyString_Fini();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'R':
|
case 'R':
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue