- 11 Eki, 2002 4 kayıt (commit)
-
-
Michael W. Hudson yazdı
Only runs when sys.maxint == 2**32 - 1; different things go wrong on a 64-bit box.
-
Guido van Rossum yazdı
-
Martin v. Löwis yazdı
-
Guido van Rossum yazdı
'%2147483647d' % -123 segfaults. This was because an integer overflow in a comparison caused the string resize to be skipped. After fixing the overflow, this could call _PyString_Resize() with a negative size, so I (1) test for that and raise MemoryError instead; (2) also added a test for negative newsize to _PyString_Resize(), raising SystemError as for all bad arguments. An identical bug existed in unicodeobject.c, of course. Will backport to 2.2.2.
-
- 10 Eki, 2002 19 kayıt (commit)
-
-
Neal Norwitz yazdı
-
Neal Norwitz yazdı
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
Fred Drake yazdı
-
Andrew M. Kuchling yazdı
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
case.
-
Barry Warsaw yazdı
case.
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
default get_body_encoding() cannot be SHORTEST.
-
Barry Warsaw yazdı
sensitive. Coerce the argument to lower case.
-
Barry Warsaw yazdı
Coerce the argument to lower case. Also, since body encodings can't be SHORTEST, default the CHARSETS failobj's second item to BASE64.
-
Guido van Rossum yazdı
Immediate benefit: when you use "make -t" to avoid a global recompile after a trivial header file touchup, Make will no longer create files named all, oldsharedmods, and sharedmods. (Not sure if I tracked down all such targets. Not sure if I care.)
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
-
Kurt B. Kaiser yazdı
refactor a bit and clean up. M PyShell.py Cosmetic changes, delete blank lines, add # on some blank lines. M rpc.py Add more debugging capability M run.py Add support for getting calltip from subprocess Move import statements
-
- 09 Eki, 2002 13 kayıt (commit)
-
-
Neal Norwitz yazdı
Make the regex case insensitive for some web sites which use Realm.
-
Fred Drake yazdı
Adjusted some markup to make the descriptions more consistent.
-
Guido van Rossum yazdı
readline module.
-
Skip Montanaro yazdı
the flag. Punt and return a -L flag instead (returning "" gums up the command to be forked).
-
Guido van Rossum yazdı
This is evil. Only the user or the app's main() should do this! We must save and restore the locale around the rl_initialize() call.
-
Guido van Rossum yazdı
Also fixed an error message -- %s argument has non-string str() doesn't make sense for %r, so the error message now differentiates between %s and %r. because PyObject_Repr() and PyObject_Str() ensure that this can never happen. Added a helpful comment instead.
-
Guido van Rossum yazdı
sees a Unicode argument. Unfortunately this test was also executed for %r, because %s and %r share almost all of their code. This meant that, if u is a unicode object while repr(u) is an 8-bit string containing ASCII characters, '%r' % u is a *unicode* string containing only ASCII characters! Fixed by executing the test only for %s. Also fixed an error message -- %s argument has non-string str() doesn't make sense for %r, so the error message now differentiates between %s and %r.
-
Guido van Rossum yazdı
initializing GNU readline, setlocale(LC_CTYPE, "") is called, which changes the <ctype.h> macros to use the "default" locale (which isn't the *initial* locale -- the initial locale is the "C" locale in which only ASCII characters are printable). When the default locale is e.g. Latin-1, the repr() of string objects can include 8-bit characters with the high bit set; I believe this is due to the recent PRINT_MULTIBYTE_STRING changes to stringobject.c. This in turn screws up test_pyexpat and test_rotor, which depend on the repr() of 8-bit strings with high bit characters. The solution (for now) is to force the LC_CTYPE locale to "C" after importing rlcompleter. This is the locale required by the test suite anyway.
-
Martin v. Löwis yazdı
-
Guido van Rossum yazdı
on the trunk.
-
Andrew M. Kuchling yazdı
-
Tim Peters yazdı
imported on systems other than Windows, and in particular is imported by test___all__; the compile farm reported that all Linux tests failed due to this; isn't anyone in PythonDevLand running CVS on Linux?!).
-
Tim Peters yazdı
ths "should be" skipped depends on os.path.supports_unicode_filenames, not really on the platform. Fiddled the expected-skip constructor appropriately.
-
- 08 Eki, 2002 2 kayıt (commit)
-
-
Tim Peters yazdı
list(xrange(sys.maxint / 4)) test. Changed 4 to 2. The belief is that this test intended to trigger a bit of code in listobject.c's NRESIZE macro that's looking for arithmetic overflow. As written, it doesn't achieve that, though, and leaves it up to the platform realloc() as to whether it wants to allocate 2 gigabytes. Some platforms say "sure!", although they don't appear to mean it, and disaster ensues. Changing 4 to 2 (just barely) manages to trigger the arithmetic overflow test instead, leaving the platform realloc() out of it. I'll backport this to the 2.2 branch next.
-
Mark Hammond yazdı
sys.getwindowsversion() on Windows (new enahanced Tim-proof <wink> version), and fix test_pep277.py in a few minor ways. Including doc and NEWS entries.
-
- 07 Eki, 2002 2 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-