summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Document that get_content_charset() coerces its return value to lowerBarry Warsaw2002-10-101-2/+3
| | | | case.
* Bump version number to 2.4.2 to pick up the latest minor bug fixes.Barry Warsaw2002-10-101-1/+1
|
* New tests to verify that charsets are case insensitive, and that byBarry Warsaw2002-10-101-0/+34
| | | | default get_body_encoding() cannot be SHORTEST.
* get_content_charset(): RFC 2046 $4.1.2 says charsets are not caseBarry Warsaw2002-10-101-4/+6
| | | | sensitive. Coerce the argument to lower case.
* __init__(): RFC 2046 $4.1.2 says charsets are not case sensitive.Barry Warsaw2002-10-101-1/+3
| | | | | Coerce the argument to lower case. Also, since body encodings can't be SHORTEST, default the CHARSETS failobj's second item to BASE64.
* Add .PHONY targets, to declare targets that aren't real files.Guido van Rossum2002-10-101-0/+8
| | | | | | | | 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.)
* Patch #612602: Streamline configure methods.Martin v. Löwis2002-10-103-79/+29
|
* Patch #569139: Implementation of major, minor and makedev.Martin v. Löwis2002-10-105-17/+450
|
* [Bug #621039] Fix broken linkAndrew M. Kuchling2002-10-101-1/+1
|
* [Bug #621038] Remove duplicated itemAndrew M. Kuchling2002-10-101-5/+1
|
* M CallTips.py Add support for getting calltip from subprocess,Kurt B. Kaiser2002-10-104-63/+89
| | | | | | | | | | | | 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
* SF #614596, fix for urllib2.AbstractBasicAuthHandler, John Williams (johnw42)Neal Norwitz2002-10-091-1/+1
| | | | Make the regex case insensitive for some web sites which use Realm.
* Accept Armin's documentation patch for SF bug #558179.Fred Drake2002-10-091-5/+5
| | | | Adjusted some markup to make the descriptions more consistent.
* News about repr() and 8-bit characters, and setlocale() in theGuido van Rossum2002-10-091-0/+17
| | | | readline module.
* MacOSX linker doesn't understand -R flag at all, no matter how you feed itSkip Montanaro2002-10-091-1/+4
| | | | | the flag. Punt and return a -L flag instead (returning "" gums up the command to be forked).
* GNU readline() mistakenly sets the LC_CTYPE locale.Guido van Rossum2002-10-091-0/+17
| | | | | 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.
* 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
|