- 05 Apr, 2002 12 commits
-
-
Fred Drake authored
-
Guido van Rossum authored
Change pickling format for bools to use a backwards compatible encoding. This means you can pickle True or False on Python 2.3 and Python 2.2 or before will read it back as 1 or 0. The code used for pickling bools before would create pickles that could not be read in previous Python versions.
-
Fred Drake authored
-
Fred Drake authored
either.
-
Guido van Rossum authored
Bugfix candidate.
-
Martin v. Löwis authored
-
Marc-André Lemburg authored
-
Marc-André Lemburg authored
They now raise an NotImplementedError to hint to the truth ;-)
-
Tim Peters authored
-
Tim Peters authored
accounts for every byte.
-
Tim Peters authored
runtime multiplications and divisions, via the scheme developed with Vladimir Marangozov on Python-Dev. The pool_header struct loses its capacity member, but gains nextoffset and maxnextoffset members; this still leaves it at 32 bytes on a 32-bit box (it has to be padded to a multiple of 8 bytes).
-
Neal Norwitz authored
-
- 04 Apr, 2002 28 commits
-
-
Guido van Rossum authored
speeds up __getitem__ and __setitem__ in subclasses of built-in sequences. It's much revised because I took the opportunity to refactor the code somewhat (moving a large section of duplicated code to a helper function) and added comments to a series of functions.
-
Tim Peters authored
-
Guido van Rossum authored
-
Fred Drake authored
-
Tim Peters authored
-
Tim Peters authored
-
Fred Drake authored
Updated productionlist environment.
-
Jeremy Hylton authored
-
Fred Drake authored
-
Fred Drake authored
This change is similar to the supplied patch, but does not save the opener when a proxy configuration is specified. This closes SF patch #523415.
-
Fred Drake authored
urlopen(). This is part of SF patch #523415.
-
Fred Drake authored
This closes SF patch #523415.
-
Tim Peters authored
Fix Windows-specific install glitch. Tested on Win2K, but I can't test on XP. Already checked in to the release22-maint branch.
-
Fred Drake authored
-
Fred Drake authored
We should get attributes from the right object.
-
Fred Drake authored
to be archived. Most of these are pretty bland. ;-)
-
Fred Drake authored
ContentHandler. While GC will eventually clean up, it can take longer than normal for applications that create a lot of strings (or other immutables) rather without creating many containers. This closes SF bug #535474.
-
Guido van Rossum authored
permission from Paul Everitt). Also removed a few other references to Digital Creations and changed the remaining ones to Zope Corporation.
-
Guido van Rossum authored
got to admit that I haven't reviewed this carefully, but it looks okay from 30,000 views, and doesn't break anything. (SF patch 536407.)
-
Guido van Rossum authored
-
Guido van Rossum authored
Bugfix candidate.
-
Marc-André Lemburg authored
-
Marc-André Lemburg authored
Fixed a few compiler warnings. freeze.py now produces binaries which can import shared modules (unlike before).
-
Guido van Rossum authored
-
Neal Norwitz authored
-
Tim Peters authored
-
Tim Peters authored
what these do given a 0 size argument. This is so that when pymalloc is enabled, we don't need to wrap pymalloc calls in goofy little routines special-casing 0. Note that it's virtually impossible to meet the doc's promise that malloc(0) will never return NULL; this makes a best effort, but not an insane effort. The code does promise that realloc(not-NULL, 0) will never return NULL (malloc(0) is much harder). _PyMalloc_Realloc: Changed to take over all requests for 0 bytes, and rearranged to be a little quicker in expected cases. All over the place: when resorting to the platform allocator, call free/malloc/realloc directly, without indirecting thru macros. This should avoid needing a nightmarish pile of #ifdef-ery if PYMALLOC_DEBUG is changed so that pymalloc takes over all Py(Mem, Object} memory operations (which would add useful debugging info to PyMem_xyz allocations too).
-
Fred Drake authored
This closes SF bug #539081.
-