summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 82008 via svnmerge fromR. David Murray2010-06-161-6/+17
| | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r82008 | r.david.murray | 2010-06-15 19:46:40 -0400 (Tue, 15 Jun 2010) | 9 lines Merged revisions 81634 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r81634 | r.david.murray | 2010-05-31 21:42:41 -0400 (Mon, 31 May 2010) | 2 lines #7583: clarify discussion of hard tab expansion in doctests. ........ ................
* Merged revisions 82000-82001 via svnmerge fromAntoine Pitrou2010-06-151-12/+17
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82000 | antoine.pitrou | 2010-06-15 19:00:21 +0200 (mar., 15 juin 2010) | 3 lines Fixes to the PyFile_FromFd() doc, by Renato Cunha. ........ r82001 | antoine.pitrou | 2010-06-15 19:30:16 +0200 (mar., 15 juin 2010) | 3 lines Further refinements to the C file API. ........
* Fix notes in format character table.Mark Dickinson2010-06-151-22/+14
|
* Merged revisions 81994 via svnmerge fromMark Dickinson2010-06-151-30/+42
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r81994 | mark.dickinson | 2010-06-15 09:42:37 +0100 (Tue, 15 Jun 2010) | 10 lines Merged revisions 81992 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r81992 | mark.dickinson | 2010-06-15 09:33:03 +0100 (Tue, 15 Jun 2010) | 3 lines Issue #8469: Further clarifications and improvements to struct module documentation. Thanks Mads Kiilerich. ........ ................
* Blocked revisions 81974 via svnmergeVictor Stinner2010-06-130-0/+0
| | | | | | | | | | ........ r81974 | victor.stinner | 2010-06-13 22:31:26 +0200 (dim., 13 juin 2010) | 4 lines getargs.c: remove last reference to "t#" format "t#" format was removed from convertitem() (convertsimple) but not skipitem(). ........
* Merged revisions 81965 via svnmerge fromMark Dickinson2010-06-131-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r81965 | mark.dickinson | 2010-06-13 10:17:13 +0100 (Sun, 13 Jun 2010) | 1 line Remove unnecessary brackets from docstring optional arguments. ........
* Merged revisions 81961 via svnmerge fromMark Dickinson2010-06-121-1/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r81961 | alexander.belopolsky | 2010-06-12 20:36:28 +0100 (Sat, 12 Jun 2010) | 1 line Issue #8973: Expanded Struct.__doc__. ........
* Merged revisions 81947-81950,81955-81956 via svnmerge fromMark Dickinson2010-06-124-155/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r81947 | mark.dickinson | 2010-06-12 16:17:02 +0100 (Sat, 12 Jun 2010) | 3 lines Issue #8973: Add __all__ to struct module, so that help(struct) correctly displays information for the struct.Struct class. ........ r81948 | mark.dickinson | 2010-06-12 16:19:23 +0100 (Sat, 12 Jun 2010) | 1 line Remove accidental (yet-to-be-reviewed) docstring changes included in r81947. ........ r81949 | mark.dickinson | 2010-06-12 16:43:45 +0100 (Sat, 12 Jun 2010) | 1 line Issue #8973: Improve struct module docstrings. ........ r81950 | mark.dickinson | 2010-06-12 17:30:53 +0100 (Sat, 12 Jun 2010) | 1 line More struct module docs and docstring tweaks. ........ r81955 | mark.dickinson | 2010-06-12 19:20:47 +0100 (Sat, 12 Jun 2010) | 1 line Issue #8469: add standard sizes to struct docs table. ........ r81956 | mark.dickinson | 2010-06-12 19:37:54 +0100 (Sat, 12 Jun 2010) | 2 lines Issue #8469: Reorder struct module sections for clarity; other minor tweaks. ........
* Blocked revisions 81927 via svnmergeVictor Stinner2010-06-110-0/+0
| | | | | | | | | ........ r81927 | victor.stinner | 2010-06-12 01:56:51 +0200 (sam., 12 juin 2010) | 3 lines Issue #8969: On Windows, use mbcs codec in strict mode to encode and decode filenames and enable os.fsencode(). ........
* Blocked revisions 81925 via svnmergeVictor Stinner2010-06-110-0/+0
| | | | | | | | | | ........ r81925 | victor.stinner | 2010-06-12 01:46:47 +0200 (sam., 12 juin 2010) | 4 lines Issue #8784: Set tarfile default encoding to 'utf-8' on Windows. Note: file system encoding cannot be None anymore (since r81190, issue #8610). ........
* Merged revisions 81923 via svnmerge fromVictor Stinner2010-06-111-16/+15
| | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r81923 | victor.stinner | 2010-06-12 01:30:12 +0200 (sam., 12 juin 2010) | 16 lines Fix some bugs in c-api/arg.rst documentation * replace "the default encoding" by "'utf-8' encoding" * fix "w" / "w*" / "w#" doc: similar to "y" / "y*" / "y#" and not "s" / "s*" / "s#" * "u#": remove "Non-Unicode objects are handled by interpreting their read-buffer pointer ...", it's no more true * "es", "es#": remove "... and objects convertible to Unicode into a character buffer", it's no more true * Py_BuildValue(), "K" and "L" formats: specify the name of the C type on Windows (_int64 / unsigned _int64) as done for PyArg_Parse*() long long types --CETTE ligne, et les suivantes ci-dessous, seront ignorées-- M Doc/c-api/arg.rst ........
* Blocked revisions 81918 via svnmergeVictor Stinner2010-06-110-0/+0
| | | | | | | | ........ r81918 | victor.stinner | 2010-06-12 00:27:14 +0200 (sam., 12 juin 2010) | 2 lines readline: use PyUnicode_FSConverter() to parse filenames ........
* Backport test_getfilesystemencoding() from py3kVictor Stinner2010-06-111-0/+30
| | | | Note: On Python 3.1, file system encoding can be None.
* Blocked revisions 81916 via svnmergeVictor Stinner2010-06-110-0/+0
| | | | | | | | ........ r81916 | victor.stinner | 2010-06-12 00:17:52 +0200 (sam., 12 juin 2010) | 2 lines Issue #8965: Add a regression test to test_sys with LANG=C ........
* Blocked revisions 81914 via svnmergeVictor Stinner2010-06-110-0/+0
| | | | | | | | ........ r81914 | victor.stinner | 2010-06-12 00:09:51 +0200 (sam., 12 juin 2010) | 2 lines locale.bindtextdomain(): use PyUnicode_FSConverter() to parse the filename ........
* Blocked revisions 81911 via svnmergeVictor Stinner2010-06-110-0/+0
| | | | | | | | | ........ r81911 | victor.stinner | 2010-06-11 23:50:30 +0200 (ven., 11 juin 2010) | 3 lines Issue #8966: If a ctypes structure field is an array of c_char, convert its value to bytes instead of str (as done for c_char and c_char_p). ........
* Merged revisions 81908 via svnmerge fromAntoine Pitrou2010-06-113-19/+50
| | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r81908 | antoine.pitrou | 2010-06-11 23:46:32 +0200 (ven., 11 juin 2010) | 11 lines Merged revisions 81907 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r81907 | antoine.pitrou | 2010-06-11 23:42:26 +0200 (ven., 11 juin 2010) | 5 lines Issue #8941: decoding big endian UTF-32 data in UCS-2 builds could crash the interpreter with characters outside the Basic Multilingual Plane (higher than 0x10000). ........ ................
* Merged revisions 81897-81898,81902 via svnmerge fromMark Dickinson2010-06-112-22/+36
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r81897 | mark.dickinson | 2010-06-11 17:56:34 +0100 (Fri, 11 Jun 2010) | 1 line Avoid possible undefined behaviour from signed overflow. ........ r81898 | mark.dickinson | 2010-06-11 20:05:08 +0100 (Fri, 11 Jun 2010) | 1 line Fix an incorrect return type. ........ r81902 | mark.dickinson | 2010-06-11 20:50:30 +0100 (Fri, 11 Jun 2010) | 1 line Fix more undefined-behaviour inducing overflow checks in struct module. ........
* Merged revisions 81891 via svnmerge fromEzio Melotti2010-06-111-1/+1
| | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r81891 | ezio.melotti | 2010-06-11 05:26:42 +0300 (Fri, 11 Jun 2010) | 9 lines Merged revisions 81889 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r81889 | ezio.melotti | 2010-06-11 05:21:25 +0300 (Fri, 11 Jun 2010) | 1 line Remove extra ] from itertools.count docstring. ........ ................
* Blocked revisions 81885 via svnmergeVictor Stinner2010-06-110-0/+0
| | | | | | | | ........ r81885 | victor.stinner | 2010-06-11 02:41:41 +0200 (ven., 11 juin 2010) | 2 lines test_sys: add a test on the file system encoding for darwin ........
* Blocked revisions 81883 via svnmergeVictor Stinner2010-06-110-0/+0
| | | | | | | | | | | ........ r81883 | victor.stinner | 2010-06-11 02:36:33 +0200 (ven., 11 juin 2010) | 5 lines Issue #8965: initfsencoding() doesn't change the encoding on Mac OS X File system encoding have to be hardcoded to "utf-8" on Mac OS X. r81190 introduced a regression: the encoding was changed depending on the locale. ........
* Blocked revisions 81871 via svnmergeVictor Stinner2010-06-100-0/+0
| | | | | | | | | | ........ r81871 | victor.stinner | 2010-06-10 15:36:23 +0200 (jeu., 10 juin 2010) | 4 lines Fix r81869: ISO-8859-15 was seen as an alias to ISO-8859-1 Don't use normalize_encoding() result if it is truncated. ........
* Blocked revisions 81869 via svnmergeVictor Stinner2010-06-100-0/+0
| | | | | | | | | | ........ r81869 | victor.stinner | 2010-06-10 14:00:55 +0200 (jeu., 10 juin 2010) | 4 lines Issue #8922: Normalize the encoding name in PyUnicode_AsEncodedString() to enable shortcuts for upper case encoding name. Add also a shortcut for "iso-8859-1" in PyUnicode_AsEncodedString() and PyUnicode_Decode(). ........
* Merged revisions 79780 via svnmerge fromPhilip Jenvey2010-06-093-1/+5
| | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r79780 | philip.jenvey | 2010-04-04 20:05:24 -0700 (Sun, 04 Apr 2010) | 9 lines Merged revisions 79779 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r79779 | philip.jenvey | 2010-04-04 19:51:51 -0700 (Sun, 04 Apr 2010) | 2 lines fix escape_encode to return the correct consumed size ........ ................
* Merged revisions 81862 via svnmerge fromAntoine Pitrou2010-06-093-145/+145
| | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r81862 | antoine.pitrou | 2010-06-09 18:38:55 +0200 (mer., 09 juin 2010) | 9 lines Merged revisions 81860 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r81860 | antoine.pitrou | 2010-06-09 18:24:00 +0200 (mer., 09 juin 2010) | 3 lines Issue #8930: fix some C code indentation ........ ................
* Blocked revisions 81857 via svnmergeStefan Krah2010-06-090-0/+0
| | | | | | | | ........ r81857 | stefan.krah | 2010-06-09 10:56:28 +0200 (Wed, 09 Jun 2010) | 3 lines Issue #8932: Skip required when compiled --without-threads. ........
* Blocked revisions 81854 via svnmergeVictor Stinner2010-06-080-0/+0
| | | | | | | | | | | ........ r81854 | victor.stinner | 2010-06-09 00:54:19 +0200 (mer., 09 juin 2010) | 5 lines Issue #8838, #8339: Remove codecs.charbuffer_encode() and "t#" parsing format Remove last references to the "char buffer" of the buffer protocol from Python3. ........
* Merged revisions 81851 via svnmerge fromBrian Curtin2010-06-081-3/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r81851 | brian.curtin | 2010-06-08 17:27:07 -0500 (Tue, 08 Jun 2010) | 2 lines Fix #8946. Extra PyObject* parameter documented which doesn't exist. ........
* Merged revisions 81849 via svnmerge fromVictor Stinner2010-06-081-3/+4
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r81849 | victor.stinner | 2010-06-08 23:45:51 +0200 (mar., 08 juin 2010) | 7 lines PyArg_Parse*("Z#") raises an error for unknown type instead of ignoring the error and leave the pointer to the string and the size unchanged (not initialized). Fix also the type in the error message of "Z", "Z#" and "Y" formats. ........
* Merged revisions 81844 via svnmerge fromVictor Stinner2010-06-081-1/+1
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r81844 | victor.stinner | 2010-06-08 23:00:13 +0200 (mar., 08 juin 2010) | 6 lines Py_FatalError(): don't sys sys.last_xxx variables Call PyErr_PrintEx(0) instead of PyErr_Print() to avoid a crash if Py_FatalError() is called in an early stage of Python initialization (if PySys is not yet initialized). ........
* Merged revisions 81843 via svnmerge fromBrian Curtin2010-06-081-4/+4
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r81843 | brian.curtin | 2010-06-08 15:57:52 -0500 (Tue, 08 Jun 2010) | 3 lines Fix a compile warning missed during porting (wchar_t/char) and move a variable declaration outside of a loop. #2810 was when this first went in. ........
* Merged revisions 81841 via svnmerge fromVictor Stinner2010-06-081-0/+3
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r81841 | victor.stinner | 2010-06-08 22:46:00 +0200 (mar., 08 juin 2010) | 6 lines sys_pyfile_write() does nothing if file is NULL mywrite() falls back to the C file object if sys_pyfile_write() returns an error. This patch fixes a segfault is Py_FatalError() is called in an early stage of Python initialization. ........
* Merged revisions 81838 via svnmerge fromAlexander Belopolsky2010-06-081-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r81838 | alexander.belopolsky | 2010-06-08 13:06:48 -0400 (Tue, 08 Jun 2010) | 1 line Added myself as a maintainer of time and datetime modules. ........
* Merged revisions 81823,81835 via svnmerge fromBenjamin Peterson2010-06-083-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r81823 | benjamin.peterson | 2010-06-07 17:31:26 -0500 (Mon, 07 Jun 2010) | 9 lines Merged revisions 81820 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r81820 | benjamin.peterson | 2010-06-07 17:23:23 -0500 (Mon, 07 Jun 2010) | 1 line correctly overflow when indexes are too large ........ ................ r81835 | benjamin.peterson | 2010-06-08 09:57:22 -0500 (Tue, 08 Jun 2010) | 9 lines Merged revisions 81834 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r81834 | benjamin.peterson | 2010-06-08 09:53:29 -0500 (Tue, 08 Jun 2010) | 1 line kill extra word ........ ................
* Merged revisions 81832 via svnmerge fromR. David Murray2010-06-081-1/+0
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r81832 | r.david.murray | 2010-06-08 10:41:45 -0400 (Tue, 08 Jun 2010) | 2 lines Now that sunau has some tests, remove it from test_sundry. ........
* Merged revisions 81811 via svnmerge fromVictor Stinner2010-06-071-89/+91
| | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r81811 | victor.stinner | 2010-06-07 23:20:41 +0200 (lun., 07 juin 2010) | 9 lines Issue #8925: fix types of Py_Parse*() and Py_BuildValue() functions * Add links to Python types * Replace "string" by bytes or str * Replace "long" by "int" * Specify the default encoding * Fix reST syntax ("..note ::") * etc. ........
* Merged revisions 81809 via svnmerge fromVictor Stinner2010-06-074-1/+75
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r81809 | victor.stinner | 2010-06-07 22:14:04 +0200 (lun., 07 juin 2010) | 3 lines Issue #8897: Fix sunau module, use bytes to write the header. Patch written by Thomas Jollans. ........
* Blocked revisions 81807 via svnmergeVictor Stinner2010-06-070-0/+0
| | | | | | | | ........ r81807 | victor.stinner | 2010-06-07 21:57:46 +0200 (lun., 07 juin 2010) | 2 lines Issue #8848: U / U# formats of Py_BuildValue() are just alias to s / s# ........
* Blocked revisions 81794 via svnmergeVictor Stinner2010-06-060-0/+0
| | | | | | | | | | ........ r81794 | victor.stinner | 2010-06-06 22:38:02 +0200 (dim., 06 juin 2010) | 4 lines convertsimple(): call PyErr_NoMemory() on PyMem_NEW() failure Raise a more revelant error (MemoryError instead of TypeError) ........
* Blocked revisions 81792 via svnmergeVictor Stinner2010-06-060-0/+0
| | | | | | | | ........ r81792 | victor.stinner | 2010-06-06 22:27:51 +0200 (dim., 06 juin 2010) | 2 lines Simplify getbuffer(): convertbuffer() fails anyway if bf_getbuffer is NULL ........
* Merged revisions 81790 via svnmerge fromTarek Ziadé2010-06-062-1/+4
| | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r81790 | tarek.ziade | 2010-06-06 22:18:42 +0200 (Sun, 06 Jun 2010) | 9 lines Merged revisions 81788 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r81788 | tarek.ziade | 2010-06-06 22:05:20 +0200 (Sun, 06 Jun 2010) | 1 line Fixed #8909: now the doc details the size of the bitmap used in distutils' bdist_wininst ........ ................
* Merged revisions 81782 via svnmerge fromBenjamin Peterson2010-06-061-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r81782 | benjamin.peterson | 2010-06-05 21:44:41 -0500 (Sat, 05 Jun 2010) | 1 line bltn-file-objects don't exist in python3 ........
* Merged revisions 81703 via svnmerge fromMartin v. Löwis2010-06-043-0/+29
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r81703 | martin.v.loewis | 2010-06-04 21:50:26 +0200 (Fr, 04 Jun 2010) | 10 lines Merged revisions 81701 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r81701 | martin.v.loewis | 2010-06-04 21:39:07 +0200 (Fr, 04 Jun 2010) | 2 lines Issue #6470: Drop UNC prefix in FixTk.py Patch by Christop Gohlke and Amaury Forgeot d'Arc. ........ ................
* Merged revisions 81695 via svnmerge fromSenthil Kumaran2010-06-041-1/+1
| | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r81695 | senthil.kumaran | 2010-06-04 22:57:11 +0530 (Fri, 04 Jun 2010) | 9 lines Merged revisions 81691 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r81691 | senthil.kumaran | 2010-06-04 22:47:09 +0530 (Fri, 04 Jun 2010) | 3 lines test verifying the resp object is closed for HEAD response. ........ ................
* Merged revisions 81689 via svnmerge fromSenthil Kumaran2010-06-041-0/+1
| | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r81689 | senthil.kumaran | 2010-06-04 22:08:00 +0530 (Fri, 04 Jun 2010) | 9 lines Merged revisions 81687 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r81687 | senthil.kumaran | 2010-06-04 22:02:14 +0530 (Fri, 04 Jun 2010) | 3 lines Fix issue6312 - close the resp object for HEAD response. ........ ................
* Merged revisions 81685 via svnmerge fromR. David Murray2010-06-044-4/+10
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r81685 | r.david.murray | 2010-06-04 12:11:08 -0400 (Fri, 04 Jun 2010) | 4 lines #4768: store base64 encoded email body parts as text, not binary. Patch and tests by Forest Bond. ........
* Merged revisions 81673 via svnmerge fromRonald Oussoren2010-06-032-21/+127
| | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r81673 | ronald.oussoren | 2010-06-03 16:42:25 +0200 (Thu, 03 Jun 2010) | 16 lines Merged revisions 81662 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r81662 | ronald.oussoren | 2010-06-03 11:47:21 +0200 (Thu, 03 Jun 2010) | 9 lines Fix for issue #7724: ensure that distutils and python's own setup.py honor the MacOSX SDK when one is specified. This is needed to be able to build using the 10.4u SDK while running on OSX 10.6. This is a fixed version of the patch in r80963, I've tested this patch on OSX and Linux. ........ ................
* Blocked revisions 81670 via svnmergeLars Gustäbel2010-06-030-0/+0
| | | | | | | | | | | | | | | | | | | | ................ r81670 | lars.gustaebel | 2010-06-03 14:45:16 +0200 (Thu, 03 Jun 2010) | 14 lines Merged revisions 81667 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r81667 | lars.gustaebel | 2010-06-03 14:34:14 +0200 (Thu, 03 Jun 2010) | 8 lines Issue #8741: Fixed the TarFile.makelink() method that is responsible for extracting symbolic and hard link entries as regular files as a work-around on platforms that do not support filesystem links. This stopped working reliably after a change in r74571. I also added a few tests for this functionality. ........ ................
* Merged revisions 81665 via svnmerge fromLars Gustäbel2010-06-033-2/+9
| | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r81665 | lars.gustaebel | 2010-06-03 12:11:52 +0200 (Thu, 03 Jun 2010) | 11 lines Merged revisions 81663 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r81663 | lars.gustaebel | 2010-06-03 11:56:22 +0200 (Thu, 03 Jun 2010) | 4 lines Issue #8833: tarfile created hard link entries with a size field != 0 by mistake. The associated testcase did not expose this bug because it was broken too. ........ ................
* Merged revisions 81660 via svnmerge fromR. David Murray2010-06-033-1/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r81660 | r.david.murray | 2010-06-02 21:58:28 -0400 (Wed, 02 Jun 2010) | 25 lines Fix Charset.body_encode to encode to output_charset before calling base64mime. This means that what gets encoded in base64 is the encoded version of the unicode payload. This bug was revealed by a forward port of the tests from Issue 1368247, but the fix was completely different. Note that the merge is only of the tests, the doc changes were inappropriate since email5 expects unicode, not bytes. I'm also not convinced that quopri works correctly in email5, but that's a different issue. Merged revisions 81658 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r81658 | r.david.murray | 2010-06-02 18:03:15 -0400 (Wed, 02 Jun 2010) | 9 lines #1368247: make set_charset/MIMEText automatically encode unicode _payload. Fixes (mysterious, to the end user) UnicodeErrors when using utf-8 as the charset and unicode as the _text argument. Also makes the way in which unicode gets encoded to quoted printable for other charsets more sane (it only worked by accident previously). The _payload now is encoded to the charset.output_charset if it is unicode. ........ ................