- 25 Eyl, 2002 4 kayıt (commit)
-
-
Michael W. Hudson yazdı
revision 1.32 of urllib2.py Fix from SF patch #527518: proxy config with user+pass authentication. Bug fix candidate.
-
Michael W. Hudson yazdı
revision 2.36 of binascii.c Another stab at SF 576327: zipfile when sizeof(long) == 8 binascii_crc32(): The previous patch forced this to return the same result across platforms. This patch deals with that, on a 64-bit box, the *entry* value may have "unexpected" bits in the high four bytes. Bugfix candidate. -------- More whitespace cleanup related conflict removal... sigh.
-
Michael W. Hudson yazdı
revision 2.35 of binascii.c Fix for SF bug #576327: zipfile when sizeof(long) == 8 binascii_crc32(): Make this return a signed 4-byte result across platforms. The other way to make this platform-independent would be to make it return an unsigned unbounded int, but the evidence suggests other code out there treats it like a signed 4-byte int (e.g., existing code writing the result with struct.pack "l" format). Bugfix candidate.
-
Fred Drake yazdı
-
- 24 Eyl, 2002 27 kayıt (commit)
-
-
Fred Drake yazdı
-
Guido van Rossum yazdı
2.3, support for source code encodings, so it shouldn't be backported (no matter how attractive the checkin msg sounded). Please, try to *use* IDLE before committing changes!
-
Thomas Heller yazdı
On Windows, select() does not accept empty lists. Patch suggested by Guido, fixes SF item 611464. Bugfix candidate, will backport to release22-maint myself.
-
Thomas Heller yazdı
On Windows, call WSAGetLastError() to retrieve the error number. Bugfix candidate, will backport to release22-maint myself.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
alpha or beta at all isn't clear; but while it's unreleased, I think a0 is the best indicator we've got.)
-
Fred Drake yazdı
count behavior.
-
Fred Drake yazdı
XML_Parser, which happens to be a pointer type, not an XML_Parser*. This generated warnings when compiled with Expat 1.95.5, which no longer defines XML_Parser to be void*.
-
Tim Peters yazdı
fixes for the "try to resize it" test (Windows grows the underlying file then, and that screws up later tests that assume the underlying file has not changed size, as was true on the box (Linux) the person who changed this test in 2.2 to begin with tried it on). Without this change, test_mmap fails on Windows. Now it passes again.
-
Tim Peters yazdı
-
Marc-André Lemburg yazdı
-
Marc-André Lemburg yazdı
UTF-8 decoder accept broken UTF-8 sequences which encode lone high surrogates (the pre-2.2.2 versions forgot to generate the UTF-8 prefix \xed for these). Fixes SF bug #610783: Lone surrogates cause bad .pyc files.
-
Fred Drake yazdı
not abstract characters.
-
Michael W. Hudson yazdı
revision 1.74 of marshal.c Whitespace normalization.
-
Michael W. Hudson yazdı
revision 1.3 of test_marshal.py Fix SF 588452: debug build crashes on marshal.dumps([128] * 1000). See there for a description. Added test case. Bugfix candidate for 2.2.x, not sure about previous versions: probably low priority, because virtually no one runs debug builds.
-
Michael W. Hudson yazdı
revision 1.73 of marshal.c Fix SF 588452: debug build crashes on marshal.dumps([128] * 1000). See there for a description. Added test case. Bugfix candidate for 2.2.x, not sure about previous versions: probably low priority, because virtually no one runs debug builds.
-
Michael W. Hudson yazdı
revision 2.87 of cPickle.c Do more robust test of whether global objects are accessible. PyImport_ImportModule() is not guaranteed to return a module object. When another type of object was returned, the PyModule_GetDict() call return NULL and the subsequent GetItem() seg faulted. Bug fix candidate. ---------- Once again, whitespace chances scuppered automatic backporting, so I did this by hand. Review probably wise -- but I have run make test! Also incorporates revision 2.88 which was just removing a now unused declaration.
-
Michael W. Hudson yazdı
revision 2.265 of bltinmodule.c date: 2002/08/27 16:58:00; author: nowonder; state: Exp; lines: +1 -1 execfile should call PyErr_SetFromErrnoWithFilename instead of simply PyErr_SetFromErrno This closes bug 599163.
-
Michael W. Hudson yazdı
revision 1.12 of config.py Include an empty body when checking for a header file (Bugfix candidate for 2.2, and likely 2.1 as well)
-
Michael W. Hudson yazdı
revision 1.57 of pdb.py date: 2002/09/10 21:57:14; author: gvanrossum; state: Exp; lines: +7 -1 At Jim Fulton's request, increase the maxstring value of _saferepr to a more reasonable value. Backport candidate.
-
Michael W. Hudson yazdı
revision 1.43 of sre_compile.py made the code match the comments (1.5.2 compatibility)
-
Michael W. Hudson yazdı
revision 2.102 of abstract.c Better isinstance error message. Closes SF patch # 560250. Bugfix candidate IMO.
-
Michael W. Hudson yazdı
revision 2.101 of abstract.c abstract_get_bases(): Clarify exactly what the return values and states can be for this function, and ensure that only AttributeErrors are masked. Any other exception raised via the equivalent of getattr(cls, '__bases__') should be propagated up. abstract_issubclass(): If abstract_get_bases() returns NULL, we must call PyErr_Occurred() to see if an exception is being propagated, and return -1 or 0 as appropriate. This is the specific fix for a problem whereby if getattr(derived, '__bases__') raised an exception, an "undetected error" would occur (under a debug build). This nasty situation was uncovered when writing a security proxy extension type for the Zope3 project, where the security proxy raised a Forbidden exception on getattr of __bases__. PyObject_IsInstance(), PyObject_IsSubclass(): After both calls to abstract_get_bases(), where we're setting the TypeError if the return value is NULL, we must first check to see if an exception occurred, and /not/ mask an existing exception. Neil Schemenauer should double check that these changes don't break his ExtensionClass examples (there aren't any test cases for those examples and abstract_get_bases() was added by him in response to problems with ExtensionClass). Neil, please add test cases if possible! I belive this is a bug fix candidate for Python 2.2.2. ---- Whitespace normalization made this a pest to backport... Did a test case ever get added for this?
-
Michael W. Hudson yazdı
-
Michael W. Hudson yazdı
-
Marc-André Lemburg yazdı
-
Guido van Rossum yazdı
#544265, Remove warnings for passing const to free()
-
- 23 Eyl, 2002 9 kayıt (commit)
-
-
Guido van Rossum yazdı
1.39: Fix SF bug 610610 (reported by Martijn Pieters, diagnosed by Neal Norwitz). The switch in Exception__str__ didn't clear the error if PySequence_Size() raised an exception. Added a case -1 which clears the error and falls through to the default case. 1.40: Two more cases of switch(PySequence_Size()) without checking for case -1. (Same problem as last checkin for SF bug 610610) Need to clear the error and proceed.
-
Guido van Rossum yazdı
unicodeobject.c 2.169 stringobject.c 2.189 Fix warnings on 64-bit platforms about casts from pointers to ints. Two of these were real bugs.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
Insert an overflow check when the sequence repetition count is outside the range of ints. The old code would pass random truncated bits to sq_repeat() on a 64-bit machine.
-
Guido van Rossum yazdı
1.51: Bug #556025: list(xrange(1e9)) --> seg fault Close the bug report again -- this time for Cygwin due to a newlib bug. See the following for the details: http://sources.redhat.com/ml/newlib/2002/msg00369.html Note that this commit is only a documentation (i.e., comment) change. 1.54: The list(xrange(sys.maxint / 4)) test blew up on 64-bit platforms. Because ob_size is a 32-bit int but sys.maxint is LONG_MAX which is a 64-bit value, there's no way to make this test succeed on a 64-bit platform. So just skip it when sys.maxint isn't 0x7fffffff.
-
Guido van Rossum yazdı
(Most of) SF patch 601369 (Christos Georgiou): obmalloc,structmodule: 64bit, big endian (issue 2 only). This adds a bunch of memcpy calls via a temporary variable to avoid alignment errors. That's needed for some platforms.
-
Guido van Rossum yazdı
1.56: Apply diff3.txt from SF patch http://www.python.org/sf/536241 If a str or unicode method returns the original object, make sure that for str and unicode subclasses the original will not be returned. This should prevent SF bug http://www.python.org/sf/460020 from reappearing. 1.68: Fix SF bug 599128, submitted by Inyeol Lee: .replace() would do the wrong thing for a unicode subclass when there were zero string replacements. The example given in the SF bug report was only one way to trigger this; replacing a string of length >= 2 that's not found is another. The code would actually write outside allocated memory if replacement string was longer than the search string.
-
Guido van Rossum yazdı
Fix SF bug 599128, submitted by Inyeol Lee: .replace() would do the wrong thing for a unicode subclass when there were zero string replacements. The example given in the SF bug report was only one way to trigger this; replacing a string of length >= 2 that's not found is another. The code would actually write outside allocated memory if replacement string was longer than the search string.
-
Guido van Rossum yazdı
Add a bunch of sys.stdout.flush() calls that will hopefully improve the usability of the output of the Xenofarm builds.
-