• 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
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
RISCOS Loading commit data...
Tools Loading commit data...
.cvsignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
setup.py Loading commit data...