Commits

Benjamin Peterson  committed 6075df2

don't need this hack anymore

  • Participants
  • Parent commits 76d72e9
  • Branches 2.6

Comments (0)

Files changed (1)

File Modules/main.c

 
         case 'W':
             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;
 
         case 'R':