1. Armin Rigo
  2. cpython-withatomic


Benjamin Peterson  committed 54a7829 Merge

merge heads

  • Participants
  • Parent commits 357e268, 4c69ec7
  • Branches 2.6

Comments (0)

Files changed (1)

File Modules/main.c

View file
  • Ignore whitespace
         case 'W':
+            /* 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();
         case 'R':