- 09 Oct, 2002 12 commits
-
-
Fred Drake authored
Adjusted some markup to make the descriptions more consistent.
-
Guido van Rossum authored
readline module.
-
Skip Montanaro authored
the flag. Punt and return a -L flag instead (returning "" gums up the command to be forked).
-
Guido van Rossum authored
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 authored
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 authored
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 authored
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 authored
-
Guido van Rossum authored
on the trunk.
-
Andrew M. Kuchling authored
-
Tim Peters authored
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 authored
ths "should be" skipped depends on os.path.supports_unicode_filenames, not really on the platform. Fiddled the expected-skip constructor appropriately.
-
- 08 Oct, 2002 2 commits
-
-
Tim Peters authored
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 authored
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 Oct, 2002 14 commits
-
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Barry Warsaw authored
the change in revision 1.11 (test_email.py) in response to SF bug #609988. We now think that was the wrong fix and that WinZip was the real culprit there.
-
Barry Warsaw authored
get_type(). Also, one of the regular expressions is constant so might as well make it a module global. And, when splitting up digests, handle lineseps that are longer than 1 character in length (e.g. \r\n).
-
Martin v. Löwis authored
-
Barry Warsaw authored
with the standalone mimelib package.
-
Fred Drake authored
for both HTML and typeset renderings. Corresponds to revision 1.53.4.8 on the r22-maint branch.
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
- 06 Oct, 2002 6 commits
-
-
Guido van Rossum authored
be skipped everywhere except on Windows NT and descendants, but I'm only going to add it to the skip list for the platform I can test.)
-
Martin v. Löwis authored
(most of the patch hides in rev. 1.59). Backported to 2.2.
-
Guido van Rossum authored
supervision of regrtest.py. Will backport to 2.2.2.
-
Martin v. Löwis authored
-
Tim Peters authored
-
Kurt B. Kaiser authored
[ 617097 ] EditorWindow.py: underline recent files Added a couple of mods to reduce the indentation level. Note that the recent files menu doesn't update until Idle is restarted, pre-existing bug, at least on Linux.
-
- 05 Oct, 2002 3 commits
-
-
Tim Peters authored
a junk directory behind that caused 4 other tests to fail later. Now it cleans up after itself, and the 4 bogus later failures don't happen.
-
Martin v. Löwis authored
-
Tim Peters authored
__STDC__ is defined (or something like that ...).
-
- 04 Oct, 2002 3 commits
-
-
Andrew M. Kuchling authored
-
Kurt B. Kaiser authored
[ 617109 ] WindowList.py: fix win98 quit.
-
Kurt B. Kaiser authored
[ 617125 ] EditorWindow.py: Fix the wrap (used 'none' instead of NONE)
-