| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
logging._handlers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Not sure why/how _handlers/_handlerList is out of sync. This could
indicate a deeper problem.
In test_logging, the only absolutely necessary change to get working
was tcpserver.abort = 1. But we don't want to wait infinitely
to join the threads, so give a 2.0 second timeout.
There doesn't appear to be a need for a local abort variable
in serve_until_stopped, so just use the instance member.
Note the problem is only on HEAD, not in 2.4.
|
|
|
|
|
|
|
|
|
|
|
| |
on both Unix (SVR4 and BSD) and Windows. Restores behaviour of passing -1
for anonymous memory on Unix. Use MAP_ANONYMOUS instead of _ANON since
the latter is deprecated according to Linux (gentoo) man pages.
Should we continue to allow mmap.mmap(0, length) to work on Windows?
0 is a valid fd.
Will backport bugfix portions.
|
| |
|
|
|
|
|
| |
touch the recursion limit. The applied patch inlines the recursive
__helper method in a non-recursive way.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
tty opened by os.openpty() isn't always a tty according to os.isatty(), when
it's tested inside the process that opened it. Doesn't affect actual
functionality, as using a tty this way is rarely, if ever, useful. Ignoring
the failure allows the test for actual functionality to continue.
Will backport to 2.4-maint.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Expand set of errors caught in set_context(). Some new errors, some
old error messages changed for consistency.
Fixed error checking in generator expression code. The first set of
tests were impossible condition given the grammar. In general, the
ast code uses REQ() for those sanity checks.
Fix some error handling for augmented assignments. As comments in the
code explain, set_context() ought to work here, but I got unexpected
crashes when I tried it. Should come back to this.
Add note to Grammar that yield expression is a special case.
Add doctest cases for SyntaxErrors raised by ast.c.
|
|
|
|
|
|
|
|
|
|
| |
before the listener was ready (on gentoo x86 buildslave). This
caused the listener to not exit normally since nobody connected to it
(waited in accept()). The exception was raised in the other thread
and the test failed.
This fix doesn't completely eliminate the race, but should make it
near impossible to trigger. Hopefully it's good enough.
|
| |
|
|
|
|
| |
Will backport.
|
|
|
|
| |
synchronization and termination.
|
|
|
|
|
|
|
| |
- The path separator isn't "/" on Windows.
- Leaving behind a read-only file causes cascades
of bogus failures on Windows.
|
| |
|
| |
|
|
|
|
| |
ref leaks
|
| |
|
| |
|
| |
|
|
|
|
| |
configuration. Contributed by Shane Hathaway.
|
|
|
|
| |
configuration. Contributed by Shane Hathaway.
|
| |
|
|
|
|
| |
locale can be known.
|
| |
|
| |
|
|
|
|
| |
(is the purpose of the crashers directory to scare people? :-)
|
| |
|
| |
|
|
|
|
|
|
|
| |
This didn't crash on Linux, but valgrind complained.
I'm not sure if this test is valid on Windows.
Will backport.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
bugs which cause the interpreter to crash. I'm sure we can find a few
more. Many missing bugs deal with variations on unchecked infinite recursion
(like coerce.py).
|
|
|
|
|
|
| |
Fix signatures to conform to doc (also fixed ungetmouse()).
Will backport.
|
| |
|
|
|
|
|
|
| |
without prior setting of the userptr.
Will backport.
|
|
|
|
|
|
| |
aren't fixed yet.
Includes a first test (for compiler).
|
| |
|
|
|
|
| |
fail everywhere.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
cases if TERM isn't set or is unknown (perhaps we should only check if
unset or empty?)
Skip the test if TERM isn't set. This seems to occur when running under
buildbot and presumably cron.
For some more info check here:
http://mail.python.org/pipermail/python-checkins/2006-January/048704.html
Will backport if it works.
|
| |
|
|
|
|
| |
buildbot). Will backport.
|
|
|
|
|
|
|
|
|
|
| |
the tests. This stops the confusing/annoying:
No handlers could be found for logger "cookielib"
message we got whenever some test running after test_logging
happened to use cookielib.py (when not using regrtest's -r,
this happened during test_urllib2; when using -r, it varied).
|
| |
|
|
|
|
| |
Will backport to 2.4.
|
|
|
|
|
|
|
|
| |
returning 'a' as the delimiter. It now returns '|', but not because I
understood better what the code was supposed to do. Would someone that
understands the idea behind _guess_delimiter() (see its doc string) look to
see if my fallback choice is better than before or if it's just serendipity
that I picked the proper delimiter?
|
|
|
|
|
| |
Floating point literals don't work in non-US locale in 2.5. Patch and
new locale tests by Hye-Shik Chang.
|