- 29 Apr, 2003 5 commits
-
-
Guido van Rossum authored
on the idlefork-merge-branch as intended.
-
Guido van Rossum authored
On a branch, for now.
-
Brett Cannon authored
-
Raymond Hettinger authored
A newbie found it difficult to translate the exampe into a case that used only short options or long options but not both. He tried to shorten the tuple search but forgot the trailing comma, The appropriate pattern is an equality check. Revised the example to point him in the right direction. Backport candidate.
-
Brett Cannon authored
-
- 28 Apr, 2003 5 commits
-
-
Tim Peters authored
return values are floats.
-
Brett Cannon authored
Raise a ValueError when there is data that was not covered in the format string. Done to match behavior of pre-existing C-based strptime implementations.
-
Tim Peters authored
-
Tim Peters authored
tmpnam() appears essentially useless on Windows, and it finally broke the test for Irmen de Jong. Read the long new comment in test_tmpnam() for details. Since the MS implementation is insane, it might be good if we supplied a different implementation. Bugfix candidate.
-
Tim Peters authored
a brief example where bottom-up walking is essential.
-
- 27 Apr, 2003 7 commits
-
-
Brett Cannon authored
* call tearDown when Setup is called * shutil.rmtree the root of the created directory instead of just the leaf directory * set the LANGUAGE environment variable to what it was originally and not assume 'en'.
-
Gustavo Niemeyer authored
to use LASTMARK_SAVE()/LASTMARK_RESTORE(), based on the discussion in patch #712900. - Cleaned up LASTMARK_SAVE()/LASTMARK_RESTORE() usage, based on the established rules. - Moved the upper part of the just commited patch (relative to bug #725106) to outside the for() loop of BRANCH OP. There's no need to mark_save() in every loop iteration.
-
Gustavo Niemeyer authored
This problem is related to a wrong behavior from mark_save/restore(), which don't restore the mark_stack_base before restoring the marks. Greg's suggestion was to change the asserts, which happen to be the only recursive ops that can continue the loop, but the problem would happen to any operation with the same behavior. So, rather than hardcoding this into asserts, I have changed mark_save/restore() to always restore the stackbase before restoring the marks. Both solutions should fix these two cases, presented by Greg: >>> re.match('(a)(?:(?=(b)*)c)*', 'abb').groups() ('b', None) >>> re.match('(a)((?!(b)*))*', 'abb').groups() ('b', None, None) The rest of the bug and patch in #725149 must be discussed further.
-
Gustavo Niemeyer authored
within repeats of alternatives. The only change to the original patch was to convert the tests to the new test_re.py file. This patch fixes cases like: >>> re.match('((a)|b)*', 'abc').groups() ('b', '') Which is wrong (it's impossible to match the empty string), and incompatible with other regex systems, like the following examples show: % perl -e '"abc" =~ /^((a)|b)*/; print "$1 $2\n";' b a % echo "abc" | sed -r -e "s/^((a)|b)*/\1 \2|/" b a|c
-
Raymond Hettinger authored
-
Gustavo Niemeyer authored
recursion limit for certain setups of FreeBSD and OS/2.
-
Gustavo Niemeyer authored
[#727759] get bzip2 to build on Solaris 8 (old bzip library)
-
- 26 Apr, 2003 7 commits
-
-
Tim Peters authored
Bugfix candidate.
-
Tim Peters authored
-
Tim Peters authored
"import test.autotest", temp_imp failed because the import lock was still held at the test's end (the test assumed it wouldn't be), and then a RuntimeError got raised at the end of the entire suite run because test_imp cleared the import lock as a side effect of trying to test that the import lock wasn't held (but a legitimate import is in progress, so the lock should be held, and the import machinery complained when it found that the lock was unexpectedly cleareed). Also removed the unittest scaffolding. It didn't buy anything here, and the test was raising regrtest's TestFailed instead of using the unittest failure-reporting mechanisms.
-
Skip Montanaro authored
711019.
-
Tim Peters authored
-
Fred Drake authored
-
Guido van Rossum authored
-
- 25 Apr, 2003 16 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
original. New files are written using the eol convention of the platform, given by os.linesep. All files are read and written in binary mode.
-
Fred Drake authored
-
Kurt B. Kaiser authored
NEWS.txt idlever.py
-
Fred Drake authored
This is a modified form of SF patch #718027 (mostly markup changes).
-
Kurt B. Kaiser authored
Modified Files: NEWS.txt CREDITS.txt INSTALL.txt setup.cfg
-
Fred Drake authored
- lots of general cleanup
-
Skip Montanaro authored
-
Skip Montanaro authored
-
Skip Montanaro authored
in the last revison
-
Skip Montanaro authored
-
Fred Drake authored
(SF patch #545480).
-
Guido van Rossum authored
literally from inet_pton.
-
Skip Montanaro authored
to migrate.
-
Skip Montanaro authored
-
Fred Drake authored
os.walk() generator.
-