| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Remove the last use of veris().
Remove now useless imports and functions.
|
| |
|
|
|
|
|
| |
I should also not that my last checkin did stuff that made failures give
more helpful information.
|
|
|
|
|
|
|
| |
signalling when the TCP server is done. Should hopefully solve hanging
issues for Solaris 8 & 9. Solves the apparent hanging issue with OS X.
Closes patch #729988 .
|
| |
|
| |
|
| |
|
|
|
|
| |
bug report 723962
|
|
|
|
|
| |
Added test that checks for characters allowed in the query part of URLs.
Backport candidate.
|
|
|
|
| |
tests and comments.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
| |
properly after themselves.
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
* 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'.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"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.
|
| |
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Modified Files:
NEWS.txt CREDITS.txt INSTALL.txt setup.cfg
|
| |
|
| |
|
|
|
|
| |
in the last revison
|
| |
|
|
|
|
| |
to migrate.
|
|
|
|
|
| |
This makes the test pass on Windows again (and on other platforms
that don't have these).
|
|
|
|
|
|
|
|
|
| |
mode.
XXX I'm not convinced that this is the right solution -- arguably,
on Windows, the _fileobject class should honor the mode argument
and do newline translation. But it's never done that so I think
there's no urgent need to fix this today.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
due to using a single module-level namespace where multiple namespaces
were used before.
There *really* need to be tests for the sniffer stuff. This could
have been avoided.
Skip, please review, and add sniffer tests!
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
should go in test_urllibnet.py .
Still need to write tests for _urlopener usage and urlretrieve.
|
|
|
|
|
| |
seems much easier to use. Code, docs, NEWS, and additions to test_os.py
(testing this sucker is a bitch!).
|
|
|
|
|
|
|
|
|
| |
- The socket module now provides the functions inet_pton and inet_ntop
for converting between string and packed representation of IP addresses.
See SF patch #658327.
This still needs a bit of work in the doc area, because it is not
available on all platforms (especially not on Windows).
|
| |
|
|
|
|
| |
RuntimeError.
|
| |
|
| |
|