Commits

Show all
Author Commit Message Labels Comments Date
cvs2svn
This commit was manufactured by cvs2svn to create tag 'release21'.
Tags
v2.1
Branches
legacy-trunk
Guido van Rossum
Noted what's new in 2.1 (final). Hopefully this is the last checkin for 2.1!
Branches
legacy-trunk
Jeremy Hylton
Fix three PyChecker-detected gotchas. Import OPT_ symbols from _symtable. Define has_exec() and has_import_star().
Branches
legacy-trunk
Jeremy Hylton
Export three optimization (fast locals) flags
Branches
legacy-trunk
Tim Peters
Update Windows installer & buildno for 2.1 final.
Branches
legacy-trunk
Guido van Rossum
In walk(), don't die when os.lstat() raises os.error, e.g. because a file was deleted by a previous call to the visitor function. This used to be the behavior in 1.5.2 and before, but a patch to avoid making two stat() calls accidentally broke this in 2.0. Moshe, this would be a good one for 2.0.1 too!
Branches
legacy-trunk
Guido van Rossum
Update the version to 2.1final (again :-).
Branches
legacy-trunk
Fred Drake
Add a test case for Weak*Dictionary.update() that would have caught a recently reported bug; also exposed some other bugs in the implementation.
Branches
legacy-trunk
Fred Drake
Weak*Dictionary.update(): Fix calls to [].append() to only have one parameter. Weak*Dictionary.get(): Make the second parameter optional. WeakKeyDictionary.has_key(), .keys(): Make these actually work!
Branches
legacy-trunk
Guido van Rossum
Implement Mark Favas's suggestion. There's a clear bug in _group(): its first return statement returns a single value while its caller always expects it to return a tuple of two items. Fix this by returning (s, 0) instead. This won't make the locale test on Irix succeed, but now it will fail because of a bug in the platform's en_US locale rather than because of a bug in the locale module.
Branches
legacy-trunk
Andrew Kuchling
Update document for the actual 2.1rc1
Branches
legacy-trunk
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
  1. Prev
  2. Next