| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Python's own setup.py that did the same thing (and tested on Solaris,
where LDSHARED is needed...)
|
|
|
|
| |
detection to configure &c.
|
| |
|
|
|
|
| |
a few remaining calls to signal() were converted to PyOS_setsig().
|
|
|
|
| |
non-ascii characters.
|
| |
|
|
|
|
|
|
| |
This support was only a first cut, and doesn't deserve to be in
a released version (where we have to support it in an ongoing
manner)
|
|
|
|
| |
it's rather expensive to create new processes.
|
|
|
|
| |
"Khalid A. B." on python-dev)
|
|
|
|
|
| |
(should probably remove all traces of _xmlrpclib, but I'll leave that
for another day.)
|
| |
|
|
|
|
|
| |
debug build on Windows now. More applications of the helper may be needed
on non-Windows platforms.
|
|
|
|
|
|
|
|
|
|
|
| |
Turns out the mysterious "expected output" file contained exactly N dots,
because test_poll() has a loop that *usually* went around N times,
printing one dot on each loop trip. But there's no guarantee of that,
because the exact value of N depended on the vagaries of scheduling
time.sleep()s across two different processes. So stopped printing dots,
and got rid of the expected output file. Add a loop counter instead,
and verify that the loop goes around at least a couple of times. Also
cut the minimum time needed for this test from 4 seconds to 1.
|
|
|
|
|
| |
of the test. It's testing stdout in a different process, so it has to
print something, but I didn't find "banana" to be self-explanatory.
|
|
|
|
|
|
| |
tester that a DOS box is expected to flash. Slash the sleep from 2
seconds to a quarter second (why would we want to wait 2 seconds just
to stare at a DOS box?).
|
| |
|
|
|
|
|
|
| |
what this is trying to do. If it's necessary for it to create > 1000
processes, it should be controlled by a new resource and not run by
default on Windows.
|
|
|
|
|
|
| |
display a test's docstring as "the name" of the test. So changed most
test docstrings to comments, and removed the clearly useless ones. Now
unittest reports the actual names of the test methods.
|
| |
|
| |
|
|
|
|
| |
of this should be on non-WIN32 Windows variants.
|
|
|
|
| |
hard tab indents in C code.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bug fixes:
* Use fresh copy of globals/locals so the script being debugged can't access
the pdb namespace (e.g.: p line_prefix will no longer work).
* Remove pdb.py's path from sys.path. Having it in there is normally not a
problem, but it could prove irritating when messing with PYTHONPATH or
invoking pdb via /usr/bin/pdf.
* You can now set a breakpoint on the script being debugged, even if the script
doesn't end with a '.py' extension. Also, setting breakpoints with absolute
paths now works reliably.
Enhancements:
* Go directly to the first line of the script.
* Enter post-mortem debugging if the script being debugged doesn't catch an
exception.
* Restart the script being debugged and preserve debugger state when the script
being debugged exits.
Cleanup:
* Moved the __main__ method into a main() function.
* Kill the (undocumented, not in __all__) mainmodule/mainpyfile globals, add a
mainpyfile attribute to pdb.
Thanks Ilya Sandler for the patch!
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
popen2.popen2/3/4 functions can be a sequence. All texts are a variation on the
following:
On \UNIX, \var{cmd} may be a sequence, in which case arguments will be passed
directly to the program without shell intervention (as with
\function{os.spawnv()}). If \var{cmd} is a string it will be passed to the shell
(as with \function{os.system()}).
|
|
|
|
| |
[ 1042238 ] Lib/compiler chokes on certain genexps
|
| |
|
| |
|
|
|
|
|
| |
used to replace rfc822.formatdate for protocols like HTTP (where 'GMT' must
be the timezone string).
|
|
|
|
|
| |
Coghlan, for determining whether PyEval_InitThreads() has been called.
Also purged the undocumented+unused _PyThread_Started int.
|
|
|
|
|
|
|
| |
thread's id can't get duplicated, because (of course!) the current thread
is still running. The code should work either way, but reverting the
gratuitous change should make backporting easier, and gets the bad
reasoning out of 2.35's new comments.
|
|
|
|
|
|
| |
This appears to finish repairs for SF bug 1041645.
This is a critical bugfix.
|
|
|
|
|
|
| |
release-build failures noted in bug 1041645.
This is a critical bugfix. I'm not going to backport it, though (no time).
|
|
|
|
|
| |
that must be done under protection of the GIL, for reasons explained in
new comments.
|
|
|
|
| |
email's version number to 3.0b1.
|
|
|
|
|
|
|
| |
capturing_preamble but we found a StartBoundaryNotFoundDefect, we need to
consume all lines from the current position to the EOF, which we'll set as the
epilogue of the current message. If we're not at EOF when we return from
here, the outer message's capturing_preamble assertion will fail.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
can fail, check its return value, and die if it does fail.
_PyGILState_Init(): Assert that the thread doesn't already have an
association for autoTLSkey. If it does, PyThread_set_key_value() will
ignore the attempt to (re)set the association, which the code clearly
doesn't want.
|
|
|
|
|
|
|
|
|
| |
code.
PyThread_set_key_value(): It's clear that this code assumes the passed-in
value isn't NULL, so document that it must not be, and assert that it
isn't. It remains unclear whether existing callers want the odd semantics
actually implemented by this function.
|
| |
|
|
|
|
|
|
| |
calling .lower() on it. This fixes the problem described in SF patch # 866982
where in the tr_TR.ISO-8859-9 locale, 'I'.lower() isn't 'i'. unicodes are
locale insensitive.
|
| |
|
| |
|