Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added test_posix (hopefully it works on Windows). | Neal Norwitz | 2003-02-17 | 2 | -130/+236 |
| | | | | | Remove PyArg_ParseTuple() for methods which take no args, use METH_NOARGS instead | ||||
* | Use correct function name to PyArg_ParseTuple("is_package"). | Neal Norwitz | 2003-02-17 | 2 | -6/+6 |
| | | | | | | | | | | | | 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 the | Jack Jansen | 2003-02-17 | 2 | -5/+45 |
| | | | | | "copy anything to a data fork based resource file" trick of macresource. Fixes #688007. | ||||
* | Optionally honour #! paths in scripts. Fixes #676358. | Jack Jansen | 2003-02-17 | 14 | -14/+54 |
| | |||||
* | Actually run these tests from regrtest.py. | Neal Norwitz | 2003-02-17 | 6 | -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. | ||||
* | Reword section about moving variables to os.path to match intent (or | Michael W. Hudson | 2003-02-17 | 1 | -3/+4 |
| | | | | at least, what I thought the intent was). | ||||
* | - Added support for zip archives | Jack Jansen | 2003-02-17 | 1 | -3/+13 |
| | | | | - Better messages in case of a crash of the install-test script | ||||
* | Patch 686397: | Andrew MacIntyre | 2003-02-17 | 1 | -0/+6 |
| | | | | | move definition of platform dependent path related variables from os.py to platform dependent path modules (ntpath, etc). | ||||
* | Tweak to Skip's checkin of patch 686397: | Andrew MacIntyre | 2003-02-17 | 1 | -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 Jansen | 2003-02-16 | 1 | -7/+11 |
| | |||||
* | Added notes about pimp and bundlebuilder to the Mac section. | Jack Jansen | 2003-02-16 | 1 | -0/+8 |
| | |||||
* | When building an applet clear out the tempfile and dir afterwards. | Jack Jansen | 2003-02-16 | 1 | -0/+5 |
| | |||||
* | Fix for SF 686380, from SF patch 686771 by Ping. (errors trying to | Guido van Rossum | 2003-02-16 | 1 | -1/+1 |
| | | | | get help on os attributes) | ||||
* | Make 2 module variables static. Assuming this is correct. | Neal Norwitz | 2003-02-15 | 1 | -2/+2 |
| | |||||
* | Add closing ) in comment | Neal Norwitz | 2003-02-15 | 1 | -1/+1 |
| | |||||
* | cPickle.c, load_build(): Taught cPickle how to pick apart | Tim Peters | 2003-02-15 | 5 | -30/+88 |
| | | | | | | | | | | | | | | | | | | 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. | ||||
* | Moved setupDocs.py to Doc/setup.py and did some cleanup. It now at least | Jack Jansen | 2003-02-14 | 1 | -49/+61 |
| | | | | allows bdist, but it's still one big hack:-( | ||||
* | cPickle produces NEWOBJ appropriately now. It still doesn't know | Tim Peters | 2003-02-14 | 2 | -75/+201 |
| | | | | how to unpickle the new slot-full state tuples. | ||||
* | Patch for bug reported in patch #686627: import race condition in | Marc-André Lemburg | 2003-02-14 | 1 | -1/+1 |
| | | | | codecs registry startup. | ||||
* | Migrate definitions of several platform-dependent path-related variables | Skip Montanaro | 2003-02-14 | 7 | -57/+77 |
| | | | | into the relevant path modules. See patch #686397. | ||||
* | - The audio driver tests (test_ossaudiodev.py and | Guido van Rossum | 2003-02-14 | 4 | -0/+14 |
| | | | | | | | 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 | ||||
* | Allow opening of alternate databases. | Jack Jansen | 2003-02-14 | 1 | -7/+38 |
| | |||||
* | Factored out classes for handling source and binary distributions. Source | Jack Jansen | 2003-02-14 | 1 | -40/+126 |
| | | | | | now means "distutils-based source", binary "bdist format archive". Also fixed various lurking bugs. | ||||
* | Got building documentation from source to work. | Jack Jansen | 2003-02-14 | 1 | -4/+3 |
| | |||||
* | Port test_charmapcodec to PyUnit. From SF patch #662807 | Walter Dörwald | 2003-02-14 | 2 | -44/+32 |
| | |||||
* | extsep description: | Fred Drake | 2003-02-14 | 1 | -2/+3 |
| | | | | | | - avoid "e.g." in text - record version information (should be backported) | ||||
* | add missing description of os.extsep | Skip Montanaro | 2003-02-14 | 1 | -0/+5 |
| | |||||
* | SF bug #663701: sets module review | Raymond Hettinger | 2003-02-14 | 2 | -11/+11 |
| | | | | Renamed hook methods to use the double underscore convention. | ||||
* | SF bug #663701. The caret wasn't printing well in the PDF documentation. | Raymond Hettinger | 2003-02-14 | 1 | -1/+1 |
| | |||||
* | Remove deps on mac doc files which have been removed | Neal Norwitz | 2003-02-14 | 1 | -2/+0 |
| | |||||
* | Fix docstring typo | Andrew M. Kuchling | 2003-02-14 | 1 | -1/+1 |
| | |||||
* | Fix comment typo | Andrew M. Kuchling | 2003-02-14 | 1 | -1/+1 |
| | |||||
* | Minor assorted cleanups; no semantic changes. | Tim Peters | 2003-02-13 | 1 | -10/+16 |
| | |||||
* | SF 685011: calendar module overflow handling | Raymond Hettinger | 2003-02-13 | 1 | -1/+1 |
| | | | | | Restored a Py2.2 behavior to not range check the day of the month. A user application was this exploiting undocumented, accidental "feature". | ||||
* | Add SF reference to news item. | Guido van Rossum | 2003-02-13 | 1 | -1/+1 |
| | |||||
* | The version of PyImport_Import() in cPickle is no longer needed (an edited | Tim Peters | 2003-02-13 | 1 | -64/+0 |
| | | | | version was moved into import.c long ago), so squashed the duplication. | ||||
* | - Finally fixed the bug in compile() and exec where a string ending | Guido van Rossum | 2003-02-13 | 10 | -13/+47 |
| | | | | | | | | | with an indented code block but no newline would raise SyntaxError. This would have been a four-line change in parsetok.c... Except codeop.py depends on this behavior, so a compilation flag had to be invented that causes the tokenizer to revert to the old behavior; this required extra changes to 2 .h files, 2 .c files, and 2 .py files. (Fixes SF bug #501622.) | ||||
* | save(): Reformat tail end just for clarity. | Tim Peters | 2003-02-13 | 1 | -16/+17 |
| | |||||
* | Removed unused cut'n'paste import. | Tim Peters | 2003-02-13 | 1 | -1/+0 |
| | |||||
* | We didn't have any tests making pickles with one of {pickle, cPickle}, | Tim Peters | 2003-02-13 | 2 | -0/+52 |
| | | | | | | | and loading them via the other, except for the special cases of this Guido added to test_datetime.py for datetime module objects. The new test_xpickle.py tries all of pickletester's AbstractPickleTests in both x-module ways. | ||||
* | Another dummy type. | Guido van Rossum | 2003-02-13 | 1 | -0/+61 |
| | | | | | Curious: Str didn't need me to put something in tp_new, but Null did. Why the difference? | ||||
* | Added a simple NEWOBJ test. This is in the pickle-only part of the | Tim Peters | 2003-02-13 | 1 | -0/+15 |
| | | | | test for now (cPickle can't yet produce NEWOBJ). | ||||
* | Remove filecmp | Andrew M. Kuchling | 2003-02-13 | 1 | -1/+0 |
| | |||||
* | first cut at a shell script to view a single section from the library | Skip Montanaro | 2003-02-13 | 1 | -0/+129 |
| | | | | reference manual | ||||
* | Taught cPickle how to read pickles containing NEWOBJ. This won't get | Tim Peters | 2003-02-13 | 1 | -1/+75 |
| | | | | | | exercised by the test suite before cPickle knows how to create NEWOBJ too. For now, it was just tried once by hand (via loading a NEWOBJ pickle created by pickle.py). | ||||
* | Port test_userlist to PyUnit and add a few tests to increase code | Walter Dörwald | 2003-02-13 | 1 | -197/+257 |
| | | | | coverage. From SF patch #662807 | ||||
* | SF patch #685738 by Michael Stone. | Guido van Rossum | 2003-02-13 | 4 | -12/+39 |
| | | | | | | | This changes the default __new__ to refuse arguments iff tp_init is the default __init__ implementation -- thus making it a TypeError when you try to pass arguments to a constructor if the class doesn't override at least __init__ or __new__. | ||||
* | Re-enable compiling ossaudiodev now that it seems to work again. | Guido van Rossum | 2003-02-13 | 2 | -2/+1 |
| | |||||
* | Added a HIGHEST_PROTOCOL module attribute to pickle and cPickle. | Tim Peters | 2003-02-13 | 3 | -10/+20 |
| | |||||
* | Conditionalize another constant | Andrew M. Kuchling | 2003-02-13 | 1 | -0/+2 |
| |