summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Undo this part of the previous checkin:Guido van Rossum2002-10-091-3/+4
| | | | | | | | | 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.
* The string formatting code has a test to switch to Unicode when %sGuido van Rossum2002-10-091-2/+5
| | | | | | | | | | | | | | 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.
* Add special consideration for rlcompleter. As a side effect ofGuido van Rossum2002-10-091-1/+12
| | | | | | | | | | | | | | | | 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.
* Remove more DOS support.Martin v. Löwis2002-10-092-364/+6
|
* Add a few people who were in the ACKS file in the 2.2.2 branch but notGuido van Rossum2002-10-091-0/+4
| | | | on the trunk.
* Minor edits and markup fixesAndrew M. Kuchling2002-10-091-28/+31
|
* Don't try to access sys.getwindowsversion unless it exists (ntpath isTim Peters2002-10-091-1/+2
| | | | | | 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?!).
* Logic for determining whether skipping test_pep277 is expected: whetherTim Peters2002-10-091-1/+8
| | | | | | ths "should be" skipped depends on os.path.supports_unicode_filenames, not really on the platform. Fiddled the expected-skip constructor appropriately.
* TheTim Peters2002-10-081-1/+1
| | | | | | | | | | | | | | | | 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.
* Add os.path.supports_unicode_filenames for all platforms,Mark Hammond2002-10-0811-11/+101
| | | | | | 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.
* Document PEP 293.Martin v. Löwis2002-10-071-1/+21
|
* Document PEP 277 changes.Martin v. Löwis2002-10-071-4/+30
|
* Include wctype.h.Martin v. Löwis2002-10-071-1/+2
|
* Check for wctype.h.Martin v. Löwis2002-10-073-5/+9
|
* openfile(): Go back to opening the files in text mode. This undoesBarry Warsaw2002-10-072-2/+2
| | | | | | 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.
* _parsebody(): Use get_content_type() instead of the deprecatedBarry Warsaw2002-10-071-5/+6
| | | | | | | 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).
* Use escaped Unicode literals, according to PEP 8.Martin v. Löwis2002-10-071-12/+11
|
* Bump the version to 2.4.1 (not 2.5 as previously mentioned) to sync itBarry Warsaw2002-10-071-1/+1
| | | | with the standalone mimelib package.
* Modified presentation of the grammar for calls to be easier to readFred Drake2002-10-071-4/+5
| | | | | for both HTML and typeset renderings. Corresponds to revision 1.53.4.8 on the r22-maint branch.
* Patch #479898: Use multibyte C library for printing strings if available.Martin v. Löwis2002-10-074-23/+81
|
* Patch #448038: Add move(). Report errors from copytree as in shutil.Error.Martin v. Löwis2002-10-073-2/+49
|
* Apply file system default encoding to exec and spawn path and arguments.Martin v. Löwis2002-10-071-23/+68
|
* Fix quoting for Solaris LDSHARED. Will backport to 2.2.Martin v. Löwis2002-10-072-3/+3
|
* Patch #619493: Prefer rpmbuild over rpm if available. Backported to 2.2.Martin v. Löwis2002-10-071-0/+3
|
* Add test_pep277 to the expected skips on Linux. (This test seems toGuido van Rossum2002-10-061-0/+1
| | | | | 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.)
* Patch #572031: AUTH method LOGIN for smtplibMartin v. Löwis2002-10-061-1/+1
| | | | (most of the patch hides in rev. 1.59). Backported to 2.2.
* Make sure the email test suite can be run both stand-alone and underGuido van Rossum2002-10-061-2/+4
| | | | supervision of regrtest.py. Will backport to 2.2.2.
* Also look in -lposix4 for sem_init. Fixes #618615.Martin v. Löwis2002-10-062-20/+65
|
* Update info for impending 2.2.2.Tim Peters2002-10-062-0/+3
|
* Apply Josh Robb's Patch:Kurt B. Kaiser2002-10-061-3/+11
| | | | | | | | | [ 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.
* This test fails on Win98, which is fine, but when it failed it leftTim Peters2002-10-051-6/+17
| | | | | 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.
* Document patch #594001.Martin v. Löwis2002-10-052-0/+11
|
* s/_alloca/alloca/g; Windows doesn't need the former, at least not unlessTim Peters2002-10-052-5/+5
| | | | __STDC__ is defined (or something like that ...).
* Add a section to be written; remove reference to deleted codeAndrew M. Kuchling2002-10-041-9/+6
|
* Josh Robb's PatchKurt B. Kaiser2002-10-041-0/+4
| | | | [ 617109 ] WindowList.py: fix win98 quit.
* Apply Josh Robb's PatchKurt B. Kaiser2002-10-041-1/+1
| | | | | [ 617125 ] EditorWindow.py: Fix the wrap (used 'none' instead of NONE)
* When looking for an alias, first look for the normalized name (whichGuido van Rossum2002-10-041-1/+3
| | | | | still may contain dots), then if that doesn't exist look for the name with dots replaced by underscores. This is a little more forgiving.
* .iterkeys() is not needed.Raymond Hettinger2002-10-041-1/+1
|
* Remove some unnecessary dependencies (minor).Fred Drake2002-10-041-4/+4
|
* Added refcount information for PyObject_GetIter().Fred Drake2002-10-041-0/+3
|
* Undo the removal. Guido mentioned that the encoding name is in activeMarc-André Lemburg2002-10-041-0/+1
| | | | by some email headers.
* Remove unneeded alias.Marc-André Lemburg2002-10-041-1/+0
|
* SF # 607253, header file problems by Ralf W. Grosse-KunstleveNeal Norwitz2002-10-042-6/+6
| | | | | Don't pollute the namespace when protecting against multiple header inclusion. Prefix with Py_ and use standard naming convention Py_FILENAME_H.
* Fix doc-string.Marc-André Lemburg2002-10-041-3/+3
|
* News item about the new encoding normalization scheme.Marc-André Lemburg2002-10-041-0/+6
|
* Adapt lookup names to new more general encoding name normalizationMarc-André Lemburg2002-10-041-14/+14
| | | | scheme.
* Extending the encoding name normalization to handle more non-alphanumericMarc-André Lemburg2002-10-041-8/+20
| | | | characters.
* Disable LFS if Solaris/gcc bug is detected. Fixes #618095.Martin v. Löwis2002-10-042-1/+81
|
* Pulling Mark Alexander's contribution from CVS.Marc-André Lemburg2002-10-045-948/+14
|
* Patch #618347: Work around Solaris 2.6 pthread.h bug. Will backport to 2.2.Martin v. Löwis2002-10-044-3/+25
|