Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | The string formatting code has a test to switch to Unicode when %s | Guido van Rossum | 2002-10-09 | 1 | -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 of | Guido van Rossum | 2002-10-09 | 1 | -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öwis | 2002-10-09 | 2 | -364/+6 |
| | |||||
* | Add a few people who were in the ACKS file in the 2.2.2 branch but not | Guido van Rossum | 2002-10-09 | 1 | -0/+4 |
| | | | | on the trunk. | ||||
* | Minor edits and markup fixes | Andrew M. Kuchling | 2002-10-09 | 1 | -28/+31 |
| | |||||
* | Don't try to access sys.getwindowsversion unless it exists (ntpath is | Tim Peters | 2002-10-09 | 1 | -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: whether | Tim Peters | 2002-10-09 | 1 | -1/+8 |
| | | | | | | ths "should be" skipped depends on os.path.supports_unicode_filenames, not really on the platform. Fiddled the expected-skip constructor appropriately. | ||||
* | The | Tim Peters | 2002-10-08 | 1 | -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 Hammond | 2002-10-08 | 11 | -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öwis | 2002-10-07 | 1 | -1/+21 |
| | |||||
* | Document PEP 277 changes. | Martin v. Löwis | 2002-10-07 | 1 | -4/+30 |
| | |||||
* | Include wctype.h. | Martin v. Löwis | 2002-10-07 | 1 | -1/+2 |
| | |||||
* | Check for wctype.h. | Martin v. Löwis | 2002-10-07 | 3 | -5/+9 |
| | |||||
* | openfile(): Go back to opening the files in text mode. This undoes | Barry Warsaw | 2002-10-07 | 2 | -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 deprecated | Barry Warsaw | 2002-10-07 | 1 | -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öwis | 2002-10-07 | 1 | -12/+11 |
| | |||||
* | Bump the version to 2.4.1 (not 2.5 as previously mentioned) to sync it | Barry Warsaw | 2002-10-07 | 1 | -1/+1 |
| | | | | with the standalone mimelib package. | ||||
* | Modified presentation of the grammar for calls to be easier to read | Fred Drake | 2002-10-07 | 1 | -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öwis | 2002-10-07 | 4 | -23/+81 |
| | |||||
* | Patch #448038: Add move(). Report errors from copytree as in shutil.Error. | Martin v. Löwis | 2002-10-07 | 3 | -2/+49 |
| | |||||
* | Apply file system default encoding to exec and spawn path and arguments. | Martin v. Löwis | 2002-10-07 | 1 | -23/+68 |
| | |||||
* | Fix quoting for Solaris LDSHARED. Will backport to 2.2. | Martin v. Löwis | 2002-10-07 | 2 | -3/+3 |
| | |||||
* | Patch #619493: Prefer rpmbuild over rpm if available. Backported to 2.2. | Martin v. Löwis | 2002-10-07 | 1 | -0/+3 |
| | |||||
* | Add test_pep277 to the expected skips on Linux. (This test seems to | Guido van Rossum | 2002-10-06 | 1 | -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 smtplib | Martin v. Löwis | 2002-10-06 | 1 | -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 under | Guido van Rossum | 2002-10-06 | 1 | -2/+4 |
| | | | | supervision of regrtest.py. Will backport to 2.2.2. | ||||
* | Also look in -lposix4 for sem_init. Fixes #618615. | Martin v. Löwis | 2002-10-06 | 2 | -20/+65 |
| | |||||
* | Update info for impending 2.2.2. | Tim Peters | 2002-10-06 | 2 | -0/+3 |
| | |||||
* | Apply Josh Robb's Patch: | Kurt B. Kaiser | 2002-10-06 | 1 | -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 left | Tim Peters | 2002-10-05 | 1 | -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öwis | 2002-10-05 | 2 | -0/+11 |
| | |||||
* | s/_alloca/alloca/g; Windows doesn't need the former, at least not unless | Tim Peters | 2002-10-05 | 2 | -5/+5 |
| | | | | __STDC__ is defined (or something like that ...). | ||||
* | Add a section to be written; remove reference to deleted code | Andrew M. Kuchling | 2002-10-04 | 1 | -9/+6 |
| | |||||
* | Josh Robb's Patch | Kurt B. Kaiser | 2002-10-04 | 1 | -0/+4 |
| | | | | [ 617109 ] WindowList.py: fix win98 quit. | ||||
* | Apply Josh Robb's Patch | Kurt B. Kaiser | 2002-10-04 | 1 | -1/+1 |
| | | | | | [ 617125 ] EditorWindow.py: Fix the wrap (used 'none' instead of NONE) | ||||
* | When looking for an alias, first look for the normalized name (which | Guido van Rossum | 2002-10-04 | 1 | -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 Hettinger | 2002-10-04 | 1 | -1/+1 |
| | |||||
* | Remove some unnecessary dependencies (minor). | Fred Drake | 2002-10-04 | 1 | -4/+4 |
| | |||||
* | Added refcount information for PyObject_GetIter(). | Fred Drake | 2002-10-04 | 1 | -0/+3 |
| | |||||
* | Undo the removal. Guido mentioned that the encoding name is in active | Marc-André Lemburg | 2002-10-04 | 1 | -0/+1 |
| | | | | by some email headers. | ||||
* | Remove unneeded alias. | Marc-André Lemburg | 2002-10-04 | 1 | -1/+0 |
| | |||||
* | SF # 607253, header file problems by Ralf W. Grosse-Kunstleve | Neal Norwitz | 2002-10-04 | 2 | -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é Lemburg | 2002-10-04 | 1 | -3/+3 |
| | |||||
* | News item about the new encoding normalization scheme. | Marc-André Lemburg | 2002-10-04 | 1 | -0/+6 |
| | |||||
* | Adapt lookup names to new more general encoding name normalization | Marc-André Lemburg | 2002-10-04 | 1 | -14/+14 |
| | | | | scheme. | ||||
* | Extending the encoding name normalization to handle more non-alphanumeric | Marc-André Lemburg | 2002-10-04 | 1 | -8/+20 |
| | | | | characters. | ||||
* | Disable LFS if Solaris/gcc bug is detected. Fixes #618095. | Martin v. Löwis | 2002-10-04 | 2 | -1/+81 |
| | |||||
* | Pulling Mark Alexander's contribution from CVS. | Marc-André Lemburg | 2002-10-04 | 5 | -948/+14 |
| | |||||
* | Patch #618347: Work around Solaris 2.6 pthread.h bug. Will backport to 2.2. | Martin v. Löwis | 2002-10-04 | 4 | -3/+25 |
| | |||||
* | Fix [ 616716 ] Bug in PyErr_SetExcFromWindows | Mark Hammond | 2002-10-04 | 1 | -9/+28 |
| | | | | | | Ensure that even if FormatMessage fails we (a) don't crash, and (b) provide something useful. Bugfix candidate. |