| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Also correct typo in Control.mapping.
|
|
|
|
| |
specific encodings.
|
| |
|
| |
|
|
|
|
| |
Python 2.6
|
| |
|
|
|
|
|
|
| |
foreign function argtypes sequence as long as they provide a
from_param method, no longer is it required that the object is a
ctypes type.
|
|
|
|
| |
resulting Windows access violation will not be run by default.
|
|
|
|
| |
returns a borrowed ref. Many of the calls are open to attack.
|
|
|
|
|
|
| |
Add a new function uses_seh() to the _ctypes extension module. This
will return True if Windows Structured Exception handling (SEH) is
used when calling functions, False otherwise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
str() or repr()) would work, just not multi-value tuples. Probably not a
backport candidate, since it changes the behaviour of passing a
single-element tuple:
>>> string.Template("$foo").substitute(dict(foo=(1,)))
'(1,)'
versus
'1'
|
| |
|
|
|
|
| |
read_until. Will backport to 2.4.
|
|
|
|
| |
spec file generated by bdist_rpm.
|
|
|
|
| |
and atof().
|
|
|
|
| |
degrees and radians.
|
|
|
|
| |
filling of arcs. Also fixes #1514693.
|
|
|
|
| |
Fixes #1514703
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
will return True if Windows Structured Exception handling (SEH) is
used when calling functions, False otherwise.
Currently, only MSVC supports SEH.
Fix the test so that it doesn't crash when run with MingW compiled
_ctypes. Note that two tests are still failing when mingw is used, I
suspect structure layout differences and function calling conventions
between MSVC and MingW.
|
|
|
|
| |
flag.
|
| |
|
|
|
|
| |
character before sending it to a custom converter. This has been fixed now.
|
|
|
|
|
|
|
|
| |
handler would cause a segfault. This merges in Expat's lib/xmlparse.c
revisions 1.154 and 1.155, which fix this and a closely related problem
(the later does not affect Python).
Moved the crasher test to the tests for xml.parsers.expat.
|
| |
|
|
|
|
| |
itself correctly.
|
| |
|
| |
|
|
|
|
|
|
| |
It makes the error message consistent and always sends to stderr.
It would be much better for all the networking tests to hit only python.org.
|
|
|
|
|
|
|
|
|
|
| |
be called at the end of each test that spawns children (perhaps it
should be called from regrtest instead?). This will hopefully prevent
some of the unexplained failures in the buildbots (hppa and alpha)
during tests that spawn children. The problems were not reproducible.
There were many zombies that remained at the end of several tests.
In the worst case, this shouldn't cause any more problems,
though it may not help either. Time will tell.
|
|
|
|
|
|
|
| |
(modified patch by Sam Ruby; changed to use separate REs for start and end
tags to reduce matching cost for end tags; extended tests; updated to avoid
breaking previous changes to support IPv6 addresses in unquoted attribute
values)
|
| |
|
| |
|
|
|
|
| |
to something else (like '__main__')
|
|
|
|
|
| |
can be returned if fcntl (lockf) fails. This fixes the test failure
on Tru64 by checking for either error rather than just EAGAIN.
|
| |
|
|
|
|
| |
OSX 10.3 when using a binary distribution build on 10.4.
|
|
|
|
| |
Exceptions now propagate to caller.
|
|
|
|
|
|
|
|
|
|
| |
consistent with os.wait() returning immediately because some other
subprocess had previously exited; the test suite then immediately
tries to lock the mailbox and gets an error saying it's already
locked.
To fix this, do a waitpid() so the test suite only continues once
the intended child process has exited.
|
| |
|
|
|
|
|
| |
On slow machines, maybe the time intervals (2 sec, 0.5 sec) will be too tight.
I'll see how the buildbots like it.
|
|
|
|
|
|
|
|
|
| |
remove the flock() calls.
On FreeBSD, the two methods lockf() and flock() end up using the same
mechanism and the second one fails. A Linux man page claims that the
two methods are orthogonal (so locks acquired one way don't interact
with locks acquired the other way) but that clearly must be false.
|
|
|
|
|
| |
This change will probably break tests on FreeBSD buildbots, but I'll check in
a fix for that next.
|
|
|
|
|
|
| |
Without this patch IDLE will get unresponsive when you open the debugger
window on OSX. This is both using the system Tcl/Tk on Tiger as the latest
universal download from tk-components.sf.net.
|
|
|
|
|
|
|
|
|
|
| |
('[' and ']' were not accepted in unquoted attribute values)
- cleaned up tests of character and entity reference decoding so the
tests cover the documented relationships among handle_charref,
handle_entityref, convert_charref, convert_codepoint, and
convert_entityref, without bringing up Unicode issues that sgmllib
cannot be involved in
|
| |
|
|
|
|
| |
test_support.is_resource_enabled.
|
|
|
|
|
|
|
| |
both a subclass of Warning and a subclass of types.ClassType. The latter is no
longer true thanks to new-style exceptions.
Closes bug #1510580. Thanks to AMK for the test.
|
|
|
|
| |
Test for correct lineno on list, tuple, dict literals.
|
| |
|