1. 06 Kas, 2002 1 kayıt (commit)
    • Gustavo Niemeyer's avatar
      Fixed bug #470582, using a modified version of patch #527371, · 4e7be06a
      Gustavo Niemeyer yazdı
      from Greg Chapman.
      
      * Modules/_sre.c
        (lastmark_restore): New function, implementing algorithm to restore
        a state to a given lastmark. In addition to the similar algorithm used
        in a few places of SRE_MATCH, restore lastindex when restoring lastmark.
        (SRE_MATCH): Replace lastmark inline restoring by lastmark_restore(),
        function. Also include it where missing. In SRE_OP_MARK, set lastindex
        only if i > lastmark.
      
      * Lib/test/re_tests.py
      * Lib/test/test_sre.py
        Included regression tests for the fixed bugs.
      
      * Misc/NEWS
        Mention fixes.
      4e7be06a
  2. 30 Tem, 2002 1 kayıt (commit)
    • Barry Warsaw's avatar
      Complete the absolute import patch for the test suite. All relative · 408b6d34
      Barry Warsaw yazdı
      imports of test modules now import from the test package.  Other
      related oddities are also fixed (like DeprecationWarning filters that
      weren't specifying the full import part, etc.).  Also did a general
      code cleanup to remove all "from test.test_support import *"'s.  Other
      from...import *'s weren't changed.
      408b6d34
  3. 23 Tem, 2002 1 kayıt (commit)
    • Barry Warsaw's avatar
      Get rid of relative imports in all unittests. Now anything that · 04f357cf
      Barry Warsaw yazdı
      imports e.g. test_support must do so using an absolute package name
      such as "import test.test_support" or "from test import test_support".
      
      This also updates the README in Lib/test, and gets rid of the
      duplicate data dirctory in Lib/test/data (replaced by
      Lib/email/test/data).
      
      Now Tim and Jack can have at it. :)
      04f357cf
  4. 09 Ara, 2001 1 kayıt (commit)
    • Fredrik Lundh's avatar
      bug #133283, #477728, #483789, #490573 · 82b23073
      Fredrik Lundh yazdı
      backed out of broken minimal repeat patch from July
      
      also fixed a couple of minor potential resource leaks in pattern_subx
      (Guido had already fixed the big one)
      82b23073
  5. 08 Ara, 2001 1 kayıt (commit)
  6. 28 Eki, 2001 1 kayıt (commit)
  7. 22 Eki, 2001 1 kayıt (commit)
  8. 21 Eki, 2001 1 kayıt (commit)
  9. 18 Eki, 2001 1 kayıt (commit)
    • Fredrik Lundh's avatar
      SRE bug #441409: · 397a6547
      Fredrik Lundh yazdı
          compile should raise error for non-strings
      SRE bug #432570, 448951:
          reset group after failed match
      
      also bumped version number to 2.2.0
      397a6547
  10. 18 Eyl, 2001 2 kayıt (commit)
  11. 17 Agu, 2001 1 kayıt (commit)
    • Martin v. Löwis's avatar
      Patch #445762: Support --disable-unicode · 339d0f72
      Martin v. Löwis yazdı
      - Do not compile unicodeobject, unicodectype, and unicodedata if Unicode is disabled
      - check for Py_USING_UNICODE in all places that use Unicode functions
      - disables unicode literals, and the builtin functions
      - add the types.StringTypes list
      - remove Unicode literals from most tests.
      339d0f72
  12. 10 Agu, 2001 1 kayıt (commit)
  13. 02 Tem, 2001 1 kayıt (commit)
  14. 22 Mar, 2001 2 kayıt (commit)
  15. 18 Şub, 2001 1 kayıt (commit)
  16. 09 Şub, 2001 1 kayıt (commit)
  17. 17 Ock, 2001 2 kayıt (commit)
  18. 16 Ock, 2001 1 kayıt (commit)
  19. 14 Ock, 2001 3 kayıt (commit)
    • Fredrik Lundh's avatar
      -- don't use recursion for unbounded non-greedy repeat · fa25a7d5
      Fredrik Lundh yazdı
      (bugs #115903, #115696)
      
      This is based on a patch by Darrel Gallion.  I'm not 100%
      sure about this fix, but I haven't managed to come up with
      any test case it cannot handle...
      fa25a7d5
    • Fredrik Lundh's avatar
      538f05c9
    • Fredrik Lundh's avatar
      SRE fixes for 2.1 alpha: · 770617b2
      Fredrik Lundh yazdı
      -- added some more docstrings
      -- fixed typo in scanner class (#125531)
      -- the multiline flag (?m) should't affect the \Z operator (#127259)
      -- fixed non-greedy backtracking bug (#123769, #127259)
      -- added sre.DEBUG flag (currently dumps the parsed pattern structure)
      -- fixed a couple of glitches in groupdict (the #126587 memory leak
         had already been fixed by AMK)
      770617b2
  20. 12 Ara, 2000 1 kayıt (commit)
  21. 28 Eki, 2000 1 kayıt (commit)
  22. 24 Eyl, 2000 1 kayıt (commit)
  23. 03 Eyl, 2000 2 kayıt (commit)
  24. 02 Eyl, 2000 2 kayıt (commit)
  25. 09 Agu, 2000 1 kayıt (commit)
  26. 03 Agu, 2000 1 kayıt (commit)
  27. 01 Agu, 2000 2 kayıt (commit)
  28. 03 Tem, 2000 1 kayıt (commit)
    • Fredrik Lundh's avatar
      - added lookbehind support (?<=pattern), (?<!pattern). · 6f013982
      Fredrik Lundh yazdı
        the pattern must have a fixed width.
      
      - got rid of array-module dependencies; the match pro-
        gram is now stored inside the pattern object, rather
        than in an extra string buffer.
      
      - cleaned up a various of potential leaks, api abuses,
        and other minors in the engine module.
      
      - use mal's new isalnum macro, rather than my own work-
        around.
      
      - untabified test_sre.py.  seems like I removed a couple
        of trailing spaces in the process...
      6f013982
  29. 30 Haz, 2000 2 kayıt (commit)