summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bumping version number.Barry Warsaw2001-11-161-2/+2
|
* Post-release bumps. Do *NOT* merge into the 2.2b2 branch.Fred Drake2001-11-162-3/+3
|
* Merged in NEWS changes from the r22b2 branch.Barry Warsaw2001-11-161-3/+57
|
* Clean up some markup a little bit more. Make this work with the PDF format,Fred Drake2001-11-161-43/+56
| | | | | which is a little more strict than the other formats on some things (fixable, but not tonight).
* Document the urlsplit() and urlunsplit() functions.Fred Drake2001-11-161-0/+19
|
* Fix parsing of parameters from a URL; urlparse() did not check that it onlyFred Drake2001-11-161-34/+46
| | | | | | | | split parameters from the last path segment. Introduces two new functions, urlsplit() and urlunsplit(), that do the simpler job of splitting the URL without monkeying around with the parameters field, since that was not being handled properly. This closes bug #478038.
* Switched a couple of sections around.Fred Drake2001-11-161-245/+279
| | | | | Cleaned up some markup nits. Add a few more of the Tk-related modules to the list of modules.
* A few minor updates to make it clear(er) that pickle should be usedBarry Warsaw2001-11-151-2/+8
| | | | | | instead of marshal for object serialization. Fred, please proofread!
* A change to sync with pickle.py:Barry Warsaw2001-11-151-8/+0
| | | | | | | | | | find_class(): We no longer mask all exceptions[1] by transforming them into SystemError. The latter is definitely not the right thing to do, so we let any exceptions that occur in the PyObject_GetAttr() call to simply propagate up if they occur. [1] Note that pickle only masked ImportError, KeyError, and AttributeError, but cPickle masked all exceptions.
* Two changes:Barry Warsaw2001-11-151-8/+6
| | | | | | | | | | | | | | load_inst(): Implement the security hook that cPickle already had. When unpickling callables which are not classes, we look to see if the object has an attribute __safe_for_unpickling__. If this exists and has a true value, then we can call it to create the unpickled object. Otherwise we raise an UnpicklingError. find_class(): We no longer mask ImportError, KeyError, and AttributeError by transforming them into SystemError. The latter is definitely not the right thing to do, so we let the former three exceptions simply propagate up if they occur, i.e. we remove the try/except!
* A massive rewrite affecting both the pickle and cPickle moduleBarry Warsaw2001-11-151-232/+610
| | | | | | | | documentation. This addresses previously undocumented parts of the public interfaces, the differences between pickle and cPickle, security concerns, and on and on. Fred please proofread!
* Minor updates to add more pointers to the pickle documentation, and toBarry Warsaw2001-11-151-1/+7
| | | | clarify some of the interface.
* The turtle docs will be moving to another location in the Tkinter chapter.Fred Drake2001-11-151-1/+0
|
* Clean up the descriptions of multi-signature functions so we do the rightFred Drake2001-11-151-15/+10
| | | | thing in the index.
* Group dict[ionary] news together; and use dict() instead ofGuido van Rossum2001-11-151-5/+4
| | | | dictionary().
* Correct the description of mixed multiple inheritance: the codeGuido van Rossum2001-11-151-5/+3
| | | | | | | special-cases classic classes, it doesn't do anything about other cases where different metaclasses are involved (except for the trivial case where one metaclass is a subclass of the others). Also note that it's metaclass, not metatype.
* News about mixing classic and new-style classes in MI.Tim Peters2001-11-151-1/+14
|
* Bump Windows buildno for 2.2b2.Tim Peters2001-11-152-2/+4
|
* Thanks for the Tkinter chapter, Mike!Fred Drake2001-11-151-0/+1
|
* Add entries for the new Tkinter chapter.Fred Drake2001-11-152-0/+5
|
* Tkinter chapter, contributed by Mike Clarkson. Based in part on the "TkinterFred Drake2001-11-151-0/+1674
| | | | Life Preserver" by Matt Conway.
* More simple test cases for mixed classic+new multiple inheritance.Tim Peters2001-11-141-0/+35
|
* Changing diapers reminded Guido that he wanted to allow for some measureTim Peters2001-11-142-37/+144
| | | | | | of multiple inheritance from a mix of new- and classic-style classes. This is his patch, plus a start at some test cases from me. Will check in more, plus a NEWS blurb, later tonight.
* Finally commit the font changes that have been live on the development siteFred Drake2001-11-141-2/+7
| | | | for a month or more.
* Bump release number & date.Fred Drake2001-11-142-3/+3
|
* Fred observes that the typo was not the only problem with this sentence.Jeremy Hylton2001-11-141-1/+1
|
* typoJeremy Hylton2001-11-141-2/+2
|
* Don't initialize tp_type statically, it won't work on Windows. SpottedJack Jansen2001-11-141-1/+1
| | | | by Thomas Heller (patch 459442).
* OSX tests used specific version numbers to test for new features andJack Jansen2001-11-142-21/+21
| | | | | | | | | used the default Darwin/* for the old code. Reversed those tests so that compatibility code is in a switch leg with a specific version and newer systems take the default leg. This should allow Python to build on OSX 10.1.1 (which jumps from Darwin/1.4 to Darwin/5.1 due to a new numbering scheme).
* Removed print that executes only on Unix boxes; that made it impossibleTim Peters2001-11-131-2/+2
| | | | to have single "expected output" file.
* CVS patch #477161: New "access" keyword for mmap, from Jay T Miller.Tim Peters2001-11-135-145/+412
| | | | | | | | | | This gives mmap() on Windows the ability to create read-only, write- through and copy-on-write mmaps. A new keyword argument is introduced because the mmap() signatures diverged between Windows and Unix, so while they (now) both support this functionality, there wasn't a way to spell it in a common way without introducing a new spelling gimmick. The old spellings are still accepted, so there isn't a backward- compatibility issue here.
* PyOS_getsig(), PyOS_setsig(): The minimal amount of work to avoid theBarry Warsaw2001-11-131-0/+12
| | | | | | | | | | | | | uninitialized memory reads reported in bug #478001. Note that this doesn't address the following larger issues: - Error conditions are not documented for PyOS_*sig() in the C API. - Nothing that actually calls PyOS_*sig() in the core interpreter and extension modules actually /checks/ the return value of the call. Fixing those is left as an exercise for a later day.
* Don't munge __debug__ and leave it that way.Jeremy Hylton2001-11-131-0/+2
|
* Whitespace normalization.Tim Peters2001-11-135-8/+6
|
* A specific test for bug #481221, getaddrlist() failing on longBarry Warsaw2001-11-131-0/+8
| | | | addresses. Commented out because it still takes too long to run.
* Fix for bug #481221, getaddrlist() failing on long addresses.Barry Warsaw2001-11-131-4/+8
|
* Committing the second part of patch #480902, an improved test suiteBarry Warsaw2001-11-131-31/+66
| | | | | for dumbdbm.py, by Skip Montanaro. The first half of Skip's patch has been postponed until Py2.3 since it adds new features.
* new_code(): The last patch to this left behind an unreferenced local;Tim Peters2001-11-131-1/+0
| | | | deleted its declaration.
* Add tests for bug #478115, parsedate_tz() IndexError when a Date:Barry Warsaw2001-11-132-0/+11
| | | | field exists with an empty value.
* parsedate_tz(): If data is false, return None. Fixes bug #478115,Barry Warsaw2001-11-131-0/+2
| | | | IndexError when a Date: field exists with an empty value.
* load_string(): Force use of unsigned compare in a context that wasTim Peters2001-11-121-6/+8
| | | | clearly (but incorrectly) assuming it.
* OSX notes:Jack Jansen2001-11-121-5/+10
| | | | | | - Added a note about the limit stack command - Revoved the note about largefile - Added a note about /usr/local not existing by default.
* No need to preprocess the header files - use ctags -I flag instead toThomas Heller2001-11-121-27/+15
| | | | remove DL_IMPORT.
* Fix obvious typos.Thomas Heller2001-11-121-3/+3
|
* Limit string size on one-character-strings. Fixes #480384.Martin v. Löwis2001-11-111-2/+2
|
* Patch in bug report #477700: Fix memory leaks in gdbm & curses.Martin v. Löwis2001-11-112-3/+5
|
* Patch #473002: Update Demo/tix tixwidgets.py et al.Martin v. Löwis2001-11-117-154/+542
|
* Add the MSL C library to the set of standard librariesJack Jansen2001-11-102-1/+37
| | | | | | | linked against. Most, but not all, of it is included in PythonCore, but extensions may want to use some of the routines not included. Fixes a bug reported by Tom Loredo.
* The libraries argument was completely ignored, fixed. Reported byJack Jansen2001-11-101-1/+2
| | | | Tom Loredo.
* Patch #473265: UpdatePairedHandlers nonsensical.Martin v. Löwis2001-11-101-3/+3
|