Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Migrate definitions of several platform-dependent path-related variables | Skip Montanaro | 2003-02-14 | 6 | -57/+70 |
| | | | | into the relevant path modules. See patch #686397. | ||||
* | - The audio driver tests (test_ossaudiodev.py and | Guido van Rossum | 2003-02-14 | 3 | -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 | ||||
* | 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. | ||||
* | Port test_charmapcodec to PyUnit. From SF patch #662807 | Walter Dörwald | 2003-02-14 | 2 | -44/+32 |
| | |||||
* | SF bug #663701: sets module review | Raymond Hettinger | 2003-02-14 | 1 | -7/+7 |
| | | | | Renamed hook methods to use the double underscore convention. | ||||
* | Fix docstring typo | Andrew M. Kuchling | 2003-02-14 | 1 | -1/+1 |
| | |||||
* | Fix comment typo | Andrew M. Kuchling | 2003-02-14 | 1 | -1/+1 |
| | |||||
* | 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". | ||||
* | - Finally fixed the bug in compile() and exec where a string ending | Guido van Rossum | 2003-02-13 | 4 | -6/+22 |
| | | | | | | | | | 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.) | ||||
* | 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. | ||||
* | 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 |
| | |||||
* | 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 | 2 | -11/+14 |
| | | | | | | | 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 | 1 | -1/+0 |
| | |||||
* | Added a HIGHEST_PROTOCOL module attribute to pickle and cPickle. | Tim Peters | 2003-02-13 | 2 | -5/+11 |
| | |||||
* | SF patch #682432, add lookbehind tests | Neal Norwitz | 2003-02-13 | 1 | -0/+7 |
| | |||||
* | Fix typo. | Walter Dörwald | 2003-02-12 | 1 | -1/+1 |
| | |||||
* | Add test to ensure files (fds) don't leak | Neal Norwitz | 2003-02-12 | 1 | -0/+6 |
| | |||||
* | Cleanup from patch #683257: | Neal Norwitz | 2003-02-12 | 1 | -0/+26 |
| | | | | | | | Add missing INCREFs and re-indent returns to be consistent. Add \n\ for lines in docstring Add a pathetic test Add docs | ||||
* | Expect test_ossaudiodev to skip on Linux, too. (It's broken. | Guido van Rossum | 2003-02-12 | 1 | -0/+1 |
| | | | | Volunteers wanted to fix it!) | ||||
* | Systematic testing of hex/oct constants. | Guido van Rossum | 2003-02-12 | 1 | -0/+81 |
| | |||||
* | SF #660455 : patch by NNorwitz. | Guido van Rossum | 2003-02-12 | 2 | -7/+12 |
| | | | | | | | | | | "Unsigned" (i.e., positive-looking, but really negative) hex/oct constants with a leading minus sign are once again properly negated. The micro-optimization for negated numeric constants did the wrong thing for such hex/oct constants. The patch avoids the optimization for all hex/oct constants. This needs to be backported to Python 2.2! | ||||
* | - Use distutils to find site-python (suggested by Thomas Heller, thanks!) | Jack Jansen | 2003-02-12 | 1 | -7/+3 |
| | | | | - Fixed a bug for packages without MD5 checksum. | ||||
* | Thank you sir, can I have another. | Just van Rossum | 2003-02-12 | 1 | -3/+3 |
| | |||||
* | When in MacPython-OSX use bundlebuilder to create .app bundles. | Jack Jansen | 2003-02-12 | 4 | -181/+53 |
| | |||||
* | - Better way to find site-packages | Jack Jansen | 2003-02-12 | 1 | -3/+43 |
| | | | | | | | - Catch stderr as well as stdout - Fixed a bug with non-installable packages - Parse .pth files after installing, so you don't have to restart Python (or the IDE) after installing. | ||||
* | Implement another useful feature for proxies: in super(X, x), x may | Guido van Rossum | 2003-02-12 | 1 | -0/+39 |
| | | | | now be a proxy for an X instance, as long as issubclass(x.__class__, X). | ||||
* | SF #532767: isinstance(x, X) should work when x is a proxy for an X | Guido van Rossum | 2003-02-12 | 1 | -1/+29 |
| | | | | | instance, as long as x.__class__ is X or a subclass thereof. Did a little cleanup of PyObject_IsInstance() too. | ||||
* | Implemented batching for dicts in cPickle. This is after two failed | Tim Peters | 2003-02-11 | 2 | -18/+19 |
| | | | | | attempts to merge the C list-batch and dict-batch code -- they worked, but it was a godawful mess to read. | ||||
* | Changed database format to make fields adhere to PEP 241 where | Jack Jansen | 2003-02-11 | 1 | -116/+113 |
| | | | | | | applicable, and use a similar naming scheme for other fields. This has drastically changed the structure, as the PEP241 names aren't identifiers. | ||||
* | Implemented list batching in cPickle. | Tim Peters | 2003-02-11 | 2 | -17/+18 |
| | |||||
* | Put proper tests in classmethod_get(). Remove the type argument to | Guido van Rossum | 2003-02-11 | 1 | -0/+40 |
| | | | | | | descr_check(); it wasn't useful. Change the type argument of the various _get() methods to PyObject * because the call signature of tp_descr_get doesn't guarantee its type. | ||||
* | Added tests to ensure that list and dict "chunking" are actually | Tim Peters | 2003-02-11 | 1 | -1/+51 |
| | | | | | | getting done. Since this isn't yet implemented in cPickle, the new tests are in TempAbstractPickleTests (which cPickle doesn't run). | ||||
* | Get rid of the "bozo" __getstate__ that was inserted when __slots__ | Guido van Rossum | 2003-02-10 | 2 | -28/+22 |
| | | | | | | was used. This simplifies some logic in copy_reg.py (used by pickling). It also broke a test, but this was rewritten to test the new feature. :-) | ||||
* | [ 683376 ] Adding NotImplementedType to types.py | Just van Rossum | 2003-02-10 | 1 | -0/+1 |
| | |||||
* | Add a few tests to test_count() to increase coverage in | Walter Dörwald | 2003-02-10 | 1 | -0/+6 |
| | | | | Object/unicodeobject.c::unicode_count(). | ||||
* | Fix copy&paste error: call title instead of count | Walter Dörwald | 2003-02-10 | 1 | -1/+1 |
| | |||||
* | Change filtertuple() to use tp_as_sequence->sq_item | Walter Dörwald | 2003-02-10 | 1 | -2/+1 |
| | | | | | instead of PyTuple_GetItem, so an overwritten __getitem__ in a tuple subclass works. SF bug #665835. | ||||
* | Punctuation fixes in docstrings. | Jack Jansen | 2003-02-10 | 1 | -3/+3 |
| | |||||
* | Added docstrings. | Jack Jansen | 2003-02-10 | 1 | -6/+130 |
| | |||||
* | - Better exception when the database isn't found. | Jack Jansen | 2003-02-10 | 1 | -1/+3 |
| | | | | | - Allow for "manual:" pseudo-scheme in downloadURL to signal that the download should be done manually. | ||||
* | Pick up Makefile variable BASECFLAGS too. This is needed since OPT was | Jack Jansen | 2003-02-10 | 1 | -2/+4 |
| | | | | | split into OPT and BASECFLAGS (Makefile.pre.in rev. 1.108), because now there are essential CFLAGS in BASECFLAGS. | ||||
* | Use MD5 checksums to check archive integrity and forestall downloads. | Jack Jansen | 2003-02-10 | 1 | -11/+38 |
| | |||||
* | Change filterstring() and filterunicode(): If the | Walter Dörwald | 2003-02-10 | 1 | -13/+27 |
| | | | | | | | | | | | | object is not a real str or unicode but an instance of a subclass, construct the output via looping over __getitem__. This guarantees that the result is the same for function==None and function==lambda x:x This doesn't happen for tuples, because filtertuple() uses PyTuple_GetItem(). (This was discussed on SF bug #665835). | ||||
* | Added preInstall and postInstall commands to packages. PIL needs this | Jack Jansen | 2003-02-10 | 1 | -1/+17 |
| | | | | (preInstall, at least). | ||||
* | patch #683515: "Add unicode support to compile(), eval() and exec" | Just van Rossum | 2003-02-10 | 1 | -0/+4 |
| | | | | Incorporated nnorwitz's comment re. Py__USING_UNICODE. | ||||
* | Fix SF bug #683467, 'int' ability to generate longs not inherited | Neal Norwitz | 2003-02-10 | 1 | -0/+8 |
| | | | | | | When subclassing from an int but not overriding __new__, long values were not converted properly. Try to convert longs into an int. | ||||
* | Add tests and news entry about parser errors from bug #678518. | Neal Norwitz | 2003-02-10 | 1 | -0/+17 |
| |