| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
tests and comments.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
that was used to start the thread. This is useful to track down the
source of the problem when there is no traceback, as can happen when a
daemon thread gets to run after Python is finialized (a new kind of
event, somehow this is now possible due to changes in Py_Finalize()).
|
|
|
|
|
| |
throughput-sensitive methods are grabbed from the underlying _socket.socket
object. Closes SF patch 729293.
|
|
|
|
|
|
|
|
|
| |
[ 708901 ] Lineno calculation sometimes broken
A one line patch to compile.c and a rather-more-than-one-line patch
to test_dis. Hey ho.
Possibly a backport candidate -- tho' lnotab is less used in 2.2...
|
|
|
|
|
|
| |
[ 729622 ] line tracing hook errors
with massaging from me to integrate test into test suite.
|
|
|
|
| |
bz2 files. Also, included a testcase for this problem.
|
| |
|
|
|
|
|
| |
- fix a typo and one markup nit
- normalize whitespace
|
| |
|
|
|
|
| |
idlefork-merge-branch.
|
|
|
|
| |
on the idlefork-merge-branch as intended.
|
|
|
|
| |
On a branch, for now.
|
|
|
|
| |
properly after themselves.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
return values are floats.
|
|
|
|
| |
string. Done to match behavior of pre-existing C-based strptime implementations.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
a brief example where bottom-up walking is essential.
|
|
|
|
|
|
|
|
| |
* 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'.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
recursion limit for certain setups of FreeBSD and OS/2.
|
|
|
|
| |
[#727759] get bzip2 to build on Solaris 8 (old bzip library)
|
|
|
|
| |
Bugfix candidate.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"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.
|
|
|
|
| |
711019.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
NEWS.txt idlever.py
|
|
|
|
| |
This is a modified form of SF patch #718027 (mostly markup changes).
|
|
|
|
|
| |
Modified Files:
NEWS.txt CREDITS.txt INSTALL.txt setup.cfg
|
|
|
|
| |
- lots of general cleanup
|
| |
|
| |
|
|
|
|
| |
in the last revison
|
| |
|
|
|
|
| |
(SF patch #545480).
|