- 23 Dec, 1996 5 commits
-
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-
- 20 Dec, 1996 22 commits
-
-
Roger E. Masse authored
-
Roger E. Masse authored
'verbose' flag ala GvR updated test harness architecture. Old way: verbose = 0 if __name__ == '__main__': verbose = 1 New way: from test_support import verbose Some other small readablility and functionality updates.
-
Barry Warsaw authored
[NOTE: testall.py and autotest.py might could go away soon, I've played with Guido's new regrtest.py script and it seems to work well. I'll wait until Guido gives the word to completely switch over -- and change the Makefile too!]
-
Roger E. Masse authored
-
Barry Warsaw authored
- Where optional arguments were being used, converted to PyArg_ParseTuple() style instead of nested PyArg_Parse() style. - Check for and handle many potential error conditions that were never being tested. - internal reg_* functions renamed to regobj_* (makes it easier to figure out which are global regex functions and which are for regex objects). - reg_group (now regobj_group) was quite extensively reworked. it no longer recurses to do its job (by factoring core functionality into a separate function that knows about string and integer indexes). - some minor formatting fixes. - regex_set_syntax() now invalidates the cache. Without this change (in the example below), the second search would produce different output depending on whether the first search were performed or not (since performing the first search would cache the compiled object with RE_SYNTAX_EMACS, causing the second test to unexpectedly fail). regex.search('(a+)|(b+)', 'cdb') prev = regex.set_syntax(RE_SYNTAX_AWK) regex.search('(a+)|(b+)', 'cdb')
-
Roger E. Masse authored
-
Roger E. Masse authored
-
Roger E. Masse authored
-
Roger E. Masse authored
-
Roger E. Masse authored
-
Roger E. Masse authored
-
Roger E. Masse authored
-
Roger E. Masse authored
-
Barry Warsaw authored
make the most sense for PyMethodDef structures. [one small fix]
-
Barry Warsaw authored
make the most sense for PyMethodDef structures.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
portable output.
-
Guido van Rossum authored
-
- 19 Dec, 1996 10 commits
-
-
Barry Warsaw authored
-
Barry Warsaw authored
2. Reworked error checking in initposix() and initnt().
-
Guido van Rossum authored
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Fred Drake authored
module.
-
- 18 Dec, 1996 3 commits
-
-
Roger E. Masse authored
substituted the appropriate PyArg_Parse calls. Retested. All appears well.
-
Roger E. Masse authored
proper functions as defined in rename2.h. Thanks Barry!
-
Roger E. Masse authored
-