summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - Finally fixed the bug in compile() and exec where a string endingGuido van Rossum2003-02-1310-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 Peters2003-02-131-16/+17
|
* Removed unused cut'n'paste import.Tim Peters2003-02-131-1/+0
|
* We didn't have any tests making pickles with one of {pickle, cPickle},Tim Peters2003-02-132-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 Rossum2003-02-131-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 theTim Peters2003-02-131-0/+15
| | | | test for now (cPickle can't yet produce NEWOBJ).
* Remove filecmpAndrew M. Kuchling2003-02-131-1/+0
|
* first cut at a shell script to view a single section from the librarySkip Montanaro2003-02-131-0/+129
| | | | reference manual
* Taught cPickle how to read pickles containing NEWOBJ. This won't getTim Peters2003-02-131-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 codeWalter Dörwald2003-02-131-197/+257
| | | | coverage. From SF patch #662807
* SF patch #685738 by Michael Stone.Guido van Rossum2003-02-134-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 Rossum2003-02-132-2/+1
|
* Added a HIGHEST_PROTOCOL module attribute to pickle and cPickle.Tim Peters2003-02-133-10/+20
|
* Conditionalize another constantAndrew M. Kuchling2003-02-131-0/+2
|
* Use python_d.exe to build _ssl_d.pyd - we can not express that we dependMark Hammond2003-02-131-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 theTim Peters2003-02-131-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 Norwitz2003-02-131-7/+63
| | | | Needs review.
* SF patch #682432, add lookbehind testsNeal Norwitz2003-02-131-0/+7
|
* Ummm, try to get it right this timeNeal Norwitz2003-02-131-1/+1
|
* Use configure to check for inet_aton.Neal Norwitz2003-02-134-4/+8
|
* Fix typo.Walter Dörwald2003-02-121-1/+1
|
* Add test to ensure files (fds) don't leakNeal Norwitz2003-02-121-0/+6
|
* Addressing SF bug #643005, implement socket.inet_aton() usingGuido van Rossum2003-02-121-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 Norwitz2003-02-123-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 isGuido van Rossum2003-02-122-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 signGuido van Rossum2003-02-122-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 Rossum2003-02-121-0/+1
| | | | Volunteers wanted to fix it!)
* Systematic testing of hex/oct constants.Guido van Rossum2003-02-121-0/+81
|
* SF #660455 : patch by NNorwitz.Guido van Rossum2003-02-121-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 Rossum2003-02-123-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 Jansen2003-02-121-7/+3
| | | | - Fixed a bug for packages without MD5 checksum.
* Icons for the package manager.Jack Jansen2003-02-121-0/+0
|
* Thank you sir, can I have another.Just van Rossum2003-02-121-3/+3
|
* Photoshop source file for package manager icon.Jack Jansen2003-02-121-0/+0
|
* Use bundlebuilder directly to build applets.Jack Jansen2003-02-121-7/+34
|
* Allow this to run both standalone and as a window in the IDE.Jack Jansen2003-02-121-1/+35
|
* More int() around float arguments.Jack Jansen2003-02-121-1/+1
|
* Create applets slightly differently: by saving the sourcecode to aJack Jansen2003-02-121-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 Jansen2003-02-124-181/+53
|
* - Better way to find site-packagesJack Jansen2003-02-121-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 theJack Jansen2003-02-122-11/+43
| | | | implementation and integrated it into the IDE.
* In a MultiList select all cells in the row, not only the first one.Jack Jansen2003-02-121-4/+5
|
* Updated the Mac documentation to the current state of affairs.Jack Jansen2003-02-1212-384/+199
|
* Minor cleanup of new batch-list/dict code.Tim Peters2003-02-121-16/+12
|
* Implement another useful feature for proxies: in super(X, x), x mayGuido van Rossum2003-02-123-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 Rossum2003-02-121-1/+2
|
* SF #532767: isinstance(x, X) should work when x is a proxy for an XGuido van Rossum2003-02-123-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 Jansen2003-02-111-0/+251
|
* Add more missing PyErr_NoMemory() after failled memory allocsNeal Norwitz2003-02-113-4/+4
|
* Implemented batching for dicts in cPickle. This is after two failedTim Peters2003-02-113-48/+138
| | | | | attempts to merge the C list-batch and dict-batch code -- they worked, but it was a godawful mess to read.