don't need this hack anymore

This commit is contained in:
Benjamin Peterson 2012-02-21 15:08:51 -05:00
parent 776af4002b
commit 4e171d12da
1 changed files with 0 additions and 6 deletions

View File

@ -422,12 +422,6 @@ 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':