1. 02 Sep, 2000 5 commits
    • Guido van Rossum's avatar
      Patch by Martin von Löwis to give him his umlaut, to remove Christian · ff07f8c7
      Guido van Rossum authored
      Tismer's clone, and to list Hajime Saitou's real name.
      
      Added a note that the file uses Latin-1 (as distributed).
      ff07f8c7
    • Fredrik Lundh's avatar
      -- tightened up parsing of octal numbers · 143328ba
      Fredrik Lundh authored
      -- improved the SRE test harness: don't use asserts, test a few more
         things (including more boundary conditions)
      143328ba
    • Tim Peters's avatar
      PyInterpreterState_New is not thread-safe, and the recent fix to _PyPclose · 412f2460
      Tim Peters authored
      can cause it to get called by multiple threads simultaneously.
      
      Ditto for PyInterpreterState_Delete.
      
      Of the former, the docs say "The interpreter lock need not be held, but may
      be held if it is necessary to serialize calls to this function".  This
      kinda implies it both is and isn't thread-safe.
      
      Of the latter, the docs merely say "The interpreter lock need not be
      held.", and the clause about serializing is absent.
      
      I expect it was *believed* these are both thread-safe, and the bit about
      serializing via the global lock was meant as a permission rather than a
      caution.
      
      I also expect we've never seen a problem here because the Python core
      (prior to the _PyPclose fix) only calls these functions once per run.
      The Py_NewInterpreter subsystem exposed by the C API (but not used by
      Python itself) also calls them, but that subsystem appears to be very
      rarely used.
      
      Whatever, they're both thread-safe now.
      412f2460
    • Thomas Wouters's avatar
      Cosmetic cleanup by Vladimir. · f2b332dc
      Thomas Wouters authored
      f2b332dc
    • Tim Peters's avatar
      SourceForge patch 101396, by an anonymous friend. · 17289426
      Tim Peters authored
      "sre_parse.py missing '7' in DIGITS"
      17289426
  2. 01 Sep, 2000 35 commits