| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
test_nonrecursive_deep(): Reduced nesting depth to 60.
Not a bugfix candidate. 2.3 increased the number of stack frames
needed to pickle a list (in order to get implement the "list
batching" unpickling memory optimization new in 2.3).
|
|
|
|
| |
on the boxes I use.
|
|
|
|
|
|
|
| |
between str, unicode, UserString and the string module
as possible. This increases code coverage in stringobject.c
from 83% to 86% and should help keep the string classes
in sync in the future. From SF patch #662807
|
|
|
|
|
|
| |
time.sleep(1) sometimes delays for fractionally less than a second
resulting in too short of an interval for C's time.time() function
to create a distinct seed.
|
| |
|
|
|
|
| |
levels. (Previously, -vvv would be the same as -q!)
|
| |
|
| |
|
|
|
|
| |
conditionalize the get_classifiers() call
|
|
|
|
|
|
| |
prior to NT. EMX has a number of Posix emulation routines, including
geteuid() but lacks chown(), so silently skip trying to actually set
a file ownership when extracting a file from a tar archive.
|
|
|
|
|
| |
this thing so it doesn't rely on being unnormalized. (That's the
editorial "I", if anyone's listening <wink>.)
|
|
|
|
|
| |
In the Windows installer, continued the endless battle to copy over files
with new one-shot extensions.
|
| |
|
|
|
|
|
| |
was still referencing it will fail. Also removed some debug cruft
from _reduce_ex.
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixed a bug for applets with their own plist files.
|
|
|
|
|
| |
creates the sys.argv emulation wrapper for droplets. Also updates
the plist, if needed, and the includedModules (but this last is untested).
|
| |
|
|
|
|
| |
_reconstructor (whose import here is a mystery to me).
|
|
|
|
| |
checks in his changes to support this in cPickle.c.
|
|
|
|
|
| |
if it exists in preference over __reduce__. Now Tim can go implement this
in cPickle.c.
|
| |
|
|
|
|
| |
the AIX problem with this test.
|
| |
|
| |
|
|
|
|
|
|
| |
There are some problems with this module, but the tool works for
simple tasks and no one else has volunteered a better code coverage
tool. Should cleanup and document before the beta release.
|
|
|
|
|
|
| |
Mostly rename WARN -> WARNING
Other misc tweaks
Update tests (not in original patch)
|
|
|
|
| |
arguments, and also does the right thing for the no argument case.
|
| |
|
| |
|
| |
|
|
|
|
| |
import from test.test_support instead of directly from test_support.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
M PyShell.py
M ScriptBinding.py
M rpc.py
M run.py
Clean up the way IDLEfork handles termination of the subprocess, restore
ability to interrupt user code in Windows (so long as it's doing terminal
I/O).
1. Handle subprocess interrupts in Windows with an RPC message.
2. Run/F5 will restart the subprocess even if user code is running.
3. Restart the subprocess if the link is dropped.
4. Exit IDLE cleanly even during I/O.
4. In rpc.py, remove explicit calls to statelock, let the condition
variable handle acquire() and release().
|
|
|
|
|
| |
Remove PyArg_ParseTuple() for methods which take no args,
use METH_NOARGS instead
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix off-by-1 error in normalize_line_endings():
when *p == '\0' the NUL was copied into q and q was auto-incremented,
the loop was broken out of,
then a newline was appended followed by a NUL.
So the function, in effect, was strcpy() but added two extra chars
which was caught by obmalloc in debug mode, since there was only
room for 1 additional newline.
Get test working under regrtest (added test_main).
|
|
|
|
|
| |
"copy anything to a data fork based resource file" trick of macresource.
Fixes #688007.
|
|
|
|
|
|
| |
There was no test_main() and the main body was protected
by if __name__ == '__main__' so the test didn't happen
on import either.
|
|
|
|
| |
- Better messages in case of a crash of the install-test script
|
|
|
|
|
|
| |
- 'os2' references in ntpath.py relate to the VACPP port, not the EMX port;
- the VACPP port uses the same defpath as all other ntpath.py supported
platforms except 'ce'.
|
| |
|
|
|
|
| |
get help on os attributes)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the optional proto 2 slot state.
pickle.py, load_build(): CAUTION: Noted that cPickle's
load_build and pickle's load_build really don't do the same
things with the state, and didn't before this patch either.
cPickle never tries to do .update(), and has no backoff if
instance.__dict__ can't be retrieved. There are no tests
that can tell the difference, and part of what cPickle's
load_build() did looked accidental to me, so I don't know
what the true intent is here.
pickletester.py, test_pickle.py: Got rid of the hack for
exempting cPickle from running some of the proto 2 tests.
dictobject.c, PyDict_Next(): documented intended use.
|
|
|
|
| |
how to unpickle the new slot-full state tuples.
|
|
|
|
| |
into the relevant path modules. See patch #686397.
|
|
|
|
|
|
|
| |
test_linuxaudiodev.py) are no longer run by default. This is
because they don't always work, depending on your hardware and
software. To run these tests, you must use an invocation like
./python Lib/test/regrtest.py -u audio test_ossaudiodev
|