summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Checking mac-specific stuff from the 2.3a2 branch in on the trunk.Jack Jansen2003-02-211-0/+1
|
* getpid doesn't exist on MacOS9.Jack Jansen2003-02-211-1/+4
|
* Remove _reduce_2, it's now implemented in C.Guido van Rossum2003-02-211-42/+5
|
* SF bug 690622: test_cpickle overflows stack on MacOS9.Tim Peters2003-02-211-1/+5
| | | | | | | | 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).
* Doubled TimeoutTestCase.fuzz, to slash the frequency of bogus failuresTim Peters2003-02-211-1/+7
| | | | on the boxes I use.
* Port all string tests to PyUnit and share as much testsWalter Dörwald2003-02-216-935/+921
| | | | | | | 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
* SF bug #690083: test_random fails sometimesRaymond Hettinger2003-02-211-1/+1
| | | | | | 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.
* announce(): use the level argument to control the log level.Guido van Rossum2003-02-201-1/+1
|
* set_verbosity(): do something reasonable for out-of-range verbosityGuido van Rossum2003-02-201-3/+3
| | | | levels. (Previously, -vvv would be the same as -q!)
* Include download_url in the data POSTed to the catalog serverAndrew M. Kuchling2003-02-191-0/+1
|
* [Patch #683939] Add download_url field to metadataAndrew M. Kuchling2003-02-192-2/+9
|
* [Patch #684398] Rename verbose argument to show-response; don't ↵Andrew M. Kuchling2003-02-191-9/+8
| | | | conditionalize the get_classifiers() call
* OS/2 has no concept of file ownership, like DOS & MS Windows versionAndrew MacIntyre2003-02-191-1/+2
| | | | | | 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.
* Reverted whitespace normalization on this file. I should really changeTim Peters2003-02-191-9/+10
| | | | | this thing so it doesn't rely on being unnormalized. (That's the editorial "I", if anyone's listening <wink>.)
* Removed debugging print in test_tarfile.Tim Peters2003-02-191-1/+0
| | | | | In the Windows installer, continued the endless battle to copy over files with new one-shot extensions.
* Whitespace normalization.Tim Peters2003-02-1926-114/+110
|
* Rename _better_reduce to _reduce_2, to make sure that any code thatGuido van Rossum2003-02-191-10/+5
| | | | | was still referencing it will fail. Also removed some debug cruft from _reduce_ex.
* Remove now unused _better_reduce.Guido van Rossum2003-02-191-1/+1
|
* Use __reduce_ex__ in copy.py. The test_*copy_cant() tests are simpler again.Guido van Rossum2003-02-193-33/+66
|
* Fix bug 683658 - PyErr_Warn may cause import deadlock.Mark Hammond2003-02-191-1/+4
|
* Enable argv emulation if required.Jack Jansen2003-02-181-2/+4
| | | | Fixed a bug for applets with their own plist files.
* Added an argv_emulation option (command line option: --argv or -a) whichJack Jansen2003-02-181-2/+36
| | | | | creates the sys.argv emulation wrapper for droplets. Also updates the plist, if needed, and the includedModules (but this last is untested).
* Argvemulator still used the old Alias API. Fixed.Jack Jansen2003-02-181-2/+2
|
* Remove unused _better_reduce (which will disappear soon) andGuido van Rossum2003-02-181-1/+1
| | | | _reconstructor (whose import here is a mystery to me).
* Three test cases for __reduce_ex__. This fails for cPickle, until TimGuido van Rossum2003-02-181-0/+52
| | | | checks in his changes to support this in cPickle.c.
* Introducing __reduce_ex__, which is called with a protocol number argumentGuido van Rossum2003-02-183-15/+26
| | | | | if it exists in preference over __reduce__. Now Tim can go implement this in cPickle.c.
* Use python.org as the repositoryAndrew M. Kuchling2003-02-181-2/+1
|
* One doctest displaying a dict didn't sort it first. *Maybe* this fixesTim Peters2003-02-181-2/+2
| | | | the AIX problem with this test.
* Fix SF bug #688424, 64-bit test problemsNeal Norwitz2003-02-181-26/+71
|
* Fix SF bug #688424, 64-bit test problemsNeal Norwitz2003-02-182-3/+8
|
* Copy the trace module here from Tools/scripts.Jeremy Hylton2003-02-181-0/+729
| | | | | | 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.
* SF patch #687683, Patches to logging (updates from Vinay)Neal Norwitz2003-02-184-53/+87
| | | | | | Mostly rename WARN -> WARNING Other misc tweaks Update tests (not in original patch)
* Use "$@" to pass arguments to Python in stead of "${1}". This passes allJack Jansen2003-02-181-1/+1
| | | | arguments, and also does the right thing for the no argument case.
* [Patch #681504] Call customize_compiler in config commandAndrew M. Kuchling2003-02-181-0/+2
|
* Make changes suggested by Walter to use self.assert*() methods.Neal Norwitz2003-02-171-26/+14
|
* Import test_support properlyNeal Norwitz2003-02-171-1/+1
|
* test_posix is an expected skip on Win32. Also fixed test_posix toTim Peters2003-02-172-1/+2
| | | | import from test.test_support instead of directly from test_support.
* M NEWS.txtKurt B. Kaiser2003-02-175-63/+149
| | | | | | | | | | | | | | | | | | 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().
* Added test_posix (hopefully it works on Windows).Neal Norwitz2003-02-171-0/+172
| | | | | Remove PyArg_ParseTuple() for methods which take no args, use METH_NOARGS instead
* Use correct function name to PyArg_ParseTuple("is_package").Neal Norwitz2003-02-171-1/+4
| | | | | | | | | | | | 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).
* When installing resource files whose name ends in .rsrc use theJack Jansen2003-02-172-5/+45
| | | | | "copy anything to a data fork based resource file" trick of macresource. Fixes #688007.
* Actually run these tests from regrtest.py.Neal Norwitz2003-02-176-10/+38
| | | | | | There was no test_main() and the main body was protected by if __name__ == '__main__' so the test didn't happen on import either.
* - Added support for zip archivesJack Jansen2003-02-171-3/+13
| | | | - Better messages in case of a crash of the install-test script
* Tweak to Skip's checkin of patch 686397:Andrew MacIntyre2003-02-171-3/+2
| | | | | | - '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'.
* Better error messages and warnings.Jack Jansen2003-02-161-7/+11
|
* Fix for SF 686380, from SF patch 686771 by Ping. (errors trying toGuido van Rossum2003-02-161-1/+1
| | | | get help on os attributes)
* cPickle.c, load_build(): Taught cPickle how to pick apartTim Peters2003-02-153-8/+6
| | | | | | | | | | | | | | | | | | 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.
* cPickle produces NEWOBJ appropriately now. It still doesn't knowTim Peters2003-02-141-6/+6
| | | | how to unpickle the new slot-full state tuples.
* Migrate definitions of several platform-dependent path-related variablesSkip Montanaro2003-02-146-57/+70
| | | | into the relevant path modules. See patch #686397.
* - The audio driver tests (test_ossaudiodev.py andGuido van Rossum2003-02-143-0/+8
| | | | | | | 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