Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - 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 |
| | |||||
* | Use python_d.exe to build _ssl_d.pyd - we can not express that we depend | Mark Hammond | 2003-02-13 | 1 | -1/+1 |
| | | | | | on a release 'python.exe' for a debug build of _ssl. It may happen that Python.exe is currently broken, and we are trying to rebuild from scratch. | ||||
* | socket_inet_aton(): ip_addr was left undefined before use in the | Tim Peters | 2003-02-13 | 1 | -9/+9 |
| | | | | | !HAVE_INET_ATON case. Repaired that, and tried to repair what looked like out-of-date comments. | ||||
* | Try to doc the new pickle details being implemented as part of PEP 307. | Neal Norwitz | 2003-02-13 | 1 | -7/+63 |
| | | | | Needs review. | ||||
* | SF patch #682432, add lookbehind tests | Neal Norwitz | 2003-02-13 | 1 | -0/+7 |
| | |||||
* | Ummm, try to get it right this time | Neal Norwitz | 2003-02-13 | 1 | -1/+1 |
| | |||||
* | Use configure to check for inet_aton. | Neal Norwitz | 2003-02-13 | 4 | -4/+8 |
| | |||||
* | 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 |
| | |||||
* | Addressing SF bug #643005, implement socket.inet_aton() using | Guido van Rossum | 2003-02-12 | 1 | -1/+17 |
| | | | | | | | | | inet_aton() rather than inet_addr() -- the latter is obsolete because it has a problem: "255.255.255.255" is a valid address but indistinguishable from an error. (I'm not sure if inet_aton() exists everywhere -- in case it doesn't, I've left the old code in with an #ifdef.) | ||||
* | Cleanup from patch #683257: | Neal Norwitz | 2003-02-12 | 3 | -4/+46 |
| | | | | | | | Add missing INCREFs and re-indent returns to be consistent. Add \n\ for lines in docstring Add a pathetic test Add docs | ||||
* | Provide access to the import lock, fixing SF bug #580952. This is | Guido van Rossum | 2003-02-12 | 2 | -7/+59 |
| | | | | | | | | mostly from SF patch #683257, but I had to change unlock_import() to return an error value to avoid fatal error. Should this be backported? The patch requested this, but it's a new feature. | ||||
* | Issue a warning when int('0...', 0) returns an int with the sign | Guido van Rossum | 2003-02-12 | 2 | -3/+20 |
| | | | | | | | | folded; this will change in Python 2.4. On a 32-bit machine, this happens for 0x80000000 through 0xffffffff, and for octal constants in the same value range. No warning is issued if an explicit base is given, *or* if the string contains a sign (since in those cases no sign folding ever happens). | ||||
* | 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 | 1 | -0/+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! | ||||
* | SF #660455 : patch by NNorwitz. | Guido van Rossum | 2003-02-12 | 3 | -8/+14 |
| | | | | | | | | | | "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. | ||||
* | Icons for the package manager. | Jack Jansen | 2003-02-12 | 1 | -0/+0 |
| | |||||
* | Thank you sir, can I have another. | Just van Rossum | 2003-02-12 | 1 | -3/+3 |
| | |||||
* | Photoshop source file for package manager icon. | Jack Jansen | 2003-02-12 | 1 | -0/+0 |
| | |||||
* | Use bundlebuilder directly to build applets. | Jack Jansen | 2003-02-12 | 1 | -7/+34 |
| | |||||
* | Allow this to run both standalone and as a window in the IDE. | Jack Jansen | 2003-02-12 | 1 | -1/+35 |
| | |||||
* | More int() around float arguments. | Jack Jansen | 2003-02-12 | 1 | -1/+1 |
| | |||||
* | Create applets slightly differently: by saving the sourcecode to a | Jack Jansen | 2003-02-12 | 1 | -1/+11 |
| | | | | | temporary location. This is needed to makethings work with the new buildtools based on bundlebuilder. | ||||
* | 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. | ||||
* | Renamed InstallManager to PackageManager, finished a first stab at the | Jack Jansen | 2003-02-12 | 2 | -11/+43 |
| | | | | implementation and integrated it into the IDE. | ||||
* | In a MultiList select all cells in the row, not only the first one. | Jack Jansen | 2003-02-12 | 1 | -4/+5 |
| | |||||
* | Updated the Mac documentation to the current state of affairs. | Jack Jansen | 2003-02-12 | 12 | -384/+199 |
| | |||||
* | Minor cleanup of new batch-list/dict code. | Tim Peters | 2003-02-12 | 1 | -16/+12 |
| | |||||
* | Implement another useful feature for proxies: in super(X, x), x may | Guido van Rossum | 2003-02-12 | 3 | -17/+125 |
| | | | | now be a proxy for an X instance, as long as issubclass(x.__class__, X). | ||||
* | Add missing cast in previous fix. | Guido van Rossum | 2003-02-12 | 1 | -1/+2 |
| | |||||
* | SF #532767: isinstance(x, X) should work when x is a proxy for an X | Guido van Rossum | 2003-02-12 | 3 | -7/+53 |
| | | | | | instance, as long as x.__class__ is X or a subclass thereof. Did a little cleanup of PyObject_IsInstance() too. | ||||
* | An install manager window for the IDE and standalone use. Unfinished. | Jack Jansen | 2003-02-11 | 1 | -0/+251 |
| | |||||
* | Add more missing PyErr_NoMemory() after failled memory allocs | Neal Norwitz | 2003-02-11 | 3 | -4/+4 |
| | |||||
* | Implemented batching for dicts in cPickle. This is after two failed | Tim Peters | 2003-02-11 | 3 | -48/+138 |
| | | | | | attempts to merge the C list-batch and dict-batch code -- they worked, but it was a godawful mess to read. |