Commits

Show all
Author Commit Message Labels Comments Date
cvs2svn
This commit was manufactured by cvs2svn to create tag 'r21c2'.
Tags
v2.1c2
Branches
legacy-trunk
Guido van Rossum
This is (hopefully) last checkin before releasing 2.1c2 -- get rid of trailing whitespace.
Branches
legacy-trunk
Guido van Rossum
Added news for 2.1c2. Greatly updated news for 2.1c1 (!).
Branches
legacy-trunk
Tim Peters
Update Windows installer & build number to 2.1c2 release.
Branches
legacy-trunk
Guido van Rossum
We need another release candidate after so many "small" changes. DO NOT CHECK ANYTHHING IN FROM NOW ON WITHOUT ASKING ME.
Branches
legacy-trunk
Guido van Rossum
Change the test data to ask for class C from module __main__ rather than from module pickletester. Using the latter turned out to cause the test to break when invoked as "import test.test_pickle" or "import test.autotest".
Branches
legacy-trunk
Guido van Rossum
Reverting Moshe's EGD patch *and* Martin's patch to make it work with OpenSSL versions beore 0.9.5. This just is too experimental to be worth it, especially since the user would have to do some severe hacking of the Modules/Setup file to even enable the EGD code, and without the EGD code it would always spit out a warning on some systems -- even when socket.ssl() is not used. Fixing that properly is not my job; the EGD patch is clearly not so important that it sho…
Branches
legacy-trunk
Guido van Rossum
Tim pointed out a remaining vulnerability in popitem(): the PyTuple_New() could *conceivably* clear the dict, so move the test for an empty dict after the tuple allocation. It means that we waste time allocating and deallocating a 2-tuple when the dict is empty, but who cares. It also means that when the dict is empty *and* there's no memory to allocate a 2-tuple, we raise MemoryError, not KeyError -- but that may actually a good idea: if there's no room…
Branches
legacy-trunk
Guido van Rossum
Tentative fix for a problem that Tim discovered at the last moment, and reported to python-dev: because we were calling dict_resize() in PyDict_Next(), and because GC's dict_traverse() uses PyDict_Next(), and because PyTuple_New() can cause GC, and because dict_items() calls PyTuple_New(), it was possible for dict_items() to have the dict resized right under its nose. The solution is convoluted, and touches several places: keys(), values(), items(), popitem(), PyDict_Next(), and PyDict_SetItem(). There are two parts to it. First, we no longer call dict_resize() in PyDict_Next(), which seems to solve the immediate problem. But then PyDict_SetItem() must have a different policy about when *it* calls dict_resize(), because we want to guarantee (e.g. for an algor…
Branches
legacy-trunk
Guido van Rossum
SF bug reporters.
Branches
legacy-trunk
Guido van Rossum
Fix SF bug [ #416231 ] urllib.basejoin fails to apply some ../. Reported by Juan M. Bello Rivas.
Branches
legacy-trunk
Fredrik Lundh
SRE: made "copyright" string static, to avoid potential linking conflicts.
Branches
legacy-trunk
Guido van Rossum
Patch by Mark Favas to ensure that the zlib we find is 1.1.3 or later. This assumes that zlib.h has a line of the form #define ZLIB_VERSION "1.1.3" This solves the problem where a zlib installation is found but it is an older version -- this would break the build, while a better solution is to simply ignore that zlib installation.
Branches
legacy-trunk
Guido van Rossum
Get rid of the seek() method on the _Mailbox class. This was a cut-and-paste copy of the seek() method on the _Subfile class, but it didn't make one bit of sense: it sets self.pos, which is not used in this class or its subclasses, and it uses self.start and self.stop, which aren't defined on this class or its subclasses. This is purely my own fault -- I added this in rev 1.4 and apparently never tried to use it. Since it's not documented, and of very questionable use given that there's no tell(), I'm ripping it out. This resolves SF bug 416199 by Andrew Dalke: mailbox.py seek problems.
Branches
legacy-trunk
Guido van Rossum
In order to make this test work on Windows, the test locale has to be set to 'en' there -- Windows does not understand the 'en_US' locale. The test succeeds there.
Branches
legacy-trunk
Guido van Rossum
Fix typo (missing "req." prefix on error_302_dict) found by Neil Norwitz's PyChecker.
Branches
legacy-trunk
Guido van Rossum
Fix typo in exception name (UnimplementedError should be NotImplementedError) found by Neil Norwitz's PyChecker.
Branches
legacy-trunk
Guido van Rossum
Fix typo in exception name (SGMLParserError should be SGMLParseError) found by Neil Norwitz's PyChecker.
Branches
legacy-trunk
Guido van Rossum
Fix typo in attribute name (file should be filename) found by Neil Norwitz's PyChecker.
Branches
legacy-trunk
Guido van Rossum
Fix typo in attribute name (chunk_size should be chunksize) found by Neil Norwitz's PyChecker.
Branches
legacy-trunk
Steve Purcell
- Typo in message for TestCase.failIfEqual() - Removed unused variable 'opts' in TestProgram.__init__ (thanks to PyChecker)
Branches
legacy-trunk
Guido van Rossum
Set the SO_REUSEADDR socket option in the server thread -- this seems needed on some platforms (e.g. Solaris 8) when the test is run twice in quick succession.
Branches
legacy-trunk
Fred Drake
Bump version number and set date.
Branches
legacy-trunk
Guido van Rossum
Remove shared libraries as part of "make clean" rather than in "make clobber". This is done so that after a "make clean", setup.py will also recompile all extensions.
Branches
legacy-trunk
Guido van Rossum
Make one more private symbol static.
Branches
legacy-trunk
Guido van Rossum
Make some private symbols static.
Branches
legacy-trunk
Guido van Rossum
Mark Favas points out that there's an 'self.fp.flush()' call in the ZipFile.close() method that should be part of the preceding 'if' block. On some platforms (Mark noticed this on FreeBSD 4.2) doing a flush() on a file open for reading is not allowed.
Branches
legacy-trunk
Guido van Rossum
Another ACK.
Branches
legacy-trunk
Guido van Rossum
Pete Shinners discovered that zipfile.ZipFile() is called with mode argument "wb", while the only valid modes are "r", "w" or "a". Fix this by changing the mode to "w".
Branches
legacy-trunk
Eric Raymond
Should resolve [ #416039 ] pstats browser crashes.
Branches
legacy-trunk
  1. Prev
  2. Next