Commit Graph

40706 Commits

Author SHA1 Message Date
R. David Murray 24d83873eb Merged revisions 82008 via svnmerge from
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.
  ........
................
2010-06-16 00:37:16 +00:00
Antoine Pitrou 1a3a3b8bb6 Merged revisions 82000-82001 via svnmerge from
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.
........
2010-06-15 17:31:05 +00:00
Mark Dickinson 0dafd71c25 Fix notes in format character table. 2010-06-15 08:49:30 +00:00
Mark Dickinson 83f4cdfba9 Merged revisions 81994 via svnmerge from
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.
  ........
................
2010-06-15 08:45:06 +00:00
Victor Stinner 89a37838f8 Blocked revisions 81974 via svnmerge
........
  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().
........
2010-06-13 20:31:51 +00:00
Mark Dickinson 1330507360 Merged revisions 81965 via svnmerge from
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.
........
2010-06-13 09:18:16 +00:00
Mark Dickinson d12dfe231e Merged revisions 81961 via svnmerge from
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__.
........
2010-06-12 19:44:22 +00:00
Mark Dickinson f9e091ae2d Merged revisions 81947-81950,81955-81956 via svnmerge from
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.
........
2010-06-12 19:18:51 +00:00
Victor Stinner 80971d4d1c Blocked revisions 81927 via svnmerge
........
  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().
........
2010-06-11 23:57:10 +00:00
Victor Stinner cdf53bd05b Blocked revisions 81925 via svnmerge
........
  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).
........
2010-06-11 23:49:41 +00:00
Victor Stinner 6aec9bedfb Merged revisions 81923 via svnmerge from
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
........
2010-06-11 23:33:56 +00:00
Victor Stinner 829eab130b Blocked revisions 81918 via svnmerge
........
  r81918 | victor.stinner | 2010-06-12 00:27:14 +0200 (sam., 12 juin 2010) | 2 lines

  readline: use PyUnicode_FSConverter() to parse filenames
........
2010-06-11 23:13:29 +00:00
Victor Stinner 706e0b43e3 Backport test_getfilesystemencoding() from py3k
Note: On Python 3.1, file system encoding can be None.
2010-06-11 23:12:58 +00:00
Victor Stinner d5054cf7ff Blocked revisions 81916 via svnmerge
........
  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
........
2010-06-11 22:18:39 +00:00
Victor Stinner 665bf83ca4 Blocked revisions 81914 via svnmerge
........
  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
........
2010-06-11 22:12:43 +00:00
Victor Stinner ab29198c87 Blocked revisions 81911 via svnmerge
........
  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).
........
2010-06-11 21:53:36 +00:00
Antoine Pitrou 6107a688ee Merged revisions 81908 via svnmerge from
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).
  ........
................
2010-06-11 21:48:34 +00:00
Mark Dickinson 4a3acca7c1 Merged revisions 81897-81898,81902 via svnmerge from
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.
........
2010-06-11 20:08:36 +00:00
Ezio Melotti 7a61e3c359 Merged revisions 81891 via svnmerge from
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.
  ........
................
2010-06-11 02:28:37 +00:00
Victor Stinner 7933e53105 Blocked revisions 81885 via svnmerge
........
  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
........
2010-06-11 00:42:36 +00:00
Victor Stinner d89ea3183e Blocked revisions 81883 via svnmerge
........
  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.
........
2010-06-11 00:39:31 +00:00
Victor Stinner 078d73532d Blocked revisions 81871 via svnmerge
........
  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.
........
2010-06-10 13:38:26 +00:00
Victor Stinner 49ec79f27e Blocked revisions 81869 via svnmerge
........
  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().
........
2010-06-10 12:01:27 +00:00
Philip Jenvey ddf0d0383c Merged revisions 79780 via svnmerge from
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
  ........
................
2010-06-09 17:56:11 +00:00
Antoine Pitrou a57aae7d47 Merged revisions 81862 via svnmerge from
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
  ........
................
2010-06-09 16:58:35 +00:00
Stefan Krah 839d5f99f3 Blocked revisions 81857 via svnmerge
........
  r81857 | stefan.krah | 2010-06-09 10:56:28 +0200 (Wed, 09 Jun 2010) | 3 lines

  Issue #8932: Skip required when compiled --without-threads.
........
2010-06-09 09:04:58 +00:00
Victor Stinner fb2e0c35cc Blocked revisions 81854 via svnmerge
........
  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.
........
2010-06-08 22:54:54 +00:00
Brian Curtin e040dd5c96 Merged revisions 81851 via svnmerge from
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.
........
2010-06-08 22:30:34 +00:00
Victor Stinner 55b002f096 Merged revisions 81849 via svnmerge from
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.
........
2010-06-08 21:46:32 +00:00
Victor Stinner 93362d4e6b Merged revisions 81844 via svnmerge from
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).
........
2010-06-08 21:05:20 +00:00
Brian Curtin 7f99f092eb Merged revisions 81843 via svnmerge from
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.
........
2010-06-08 21:00:35 +00:00
Victor Stinner a01c6b3c9e Merged revisions 81841 via svnmerge from
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.
........
2010-06-08 20:50:09 +00:00
Alexander Belopolsky a9230236fa Merged revisions 81838 via svnmerge from
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.
........
2010-06-08 17:15:33 +00:00
Benjamin Peterson 99bcf5ce08 Merged revisions 81823,81835 via svnmerge from
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
  ........
................
2010-06-08 15:12:17 +00:00
R. David Murray 737e469da3 Merged revisions 81832 via svnmerge from
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.
........
2010-06-08 14:43:46 +00:00
Victor Stinner 4704881235 Merged revisions 81811 via svnmerge from
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.
........
2010-06-07 21:29:23 +00:00
Victor Stinner d67cb78f18 Merged revisions 81809 via svnmerge from
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.
........
2010-06-07 20:24:48 +00:00
Victor Stinner 8343e3d872 Blocked revisions 81807 via svnmerge
........
  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#
........
2010-06-07 19:59:35 +00:00
Victor Stinner 80b4e84317 Blocked revisions 81794 via svnmerge
........
  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)
........
2010-06-06 20:38:57 +00:00
Victor Stinner 3bfd2a7a85 Blocked revisions 81792 via svnmerge
........
  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
........
2010-06-06 20:33:05 +00:00
Tarek Ziadé 700059a7fb Merged revisions 81790 via svnmerge from
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
  ........
................
2010-06-06 20:23:10 +00:00
Benjamin Peterson 2d5abf0cc4 Merged revisions 81782 via svnmerge from
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
........
2010-06-06 02:51:17 +00:00
Martin v. Löwis 7b6b90d448 Merged revisions 81703 via svnmerge from
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.
  ........
................
2010-06-04 19:51:05 +00:00
Senthil Kumaran 9d5c7a5b9d Merged revisions 81695 via svnmerge from
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.
  ........
................
2010-06-04 17:31:11 +00:00
Senthil Kumaran 41142f50c3 Merged revisions 81689 via svnmerge from
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.
  ........
................
2010-06-04 16:43:10 +00:00
R. David Murray 99147c40b5 Merged revisions 81685 via svnmerge from
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.
........
2010-06-04 16:15:34 +00:00
Ronald Oussoren d3f1503f32 Merged revisions 81673 via svnmerge from
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.
  ........
................
2010-06-03 16:21:03 +00:00
Lars Gustäbel f06bf33e04 Blocked revisions 81670 via svnmerge
................
  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.
  ........
................
2010-06-03 12:46:14 +00:00
Lars Gustäbel 547f808e26 Merged revisions 81665 via svnmerge from
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.
  ........
................
2010-06-03 10:15:18 +00:00
R. David Murray d2d08c6872 Merged revisions 81660 via svnmerge from
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.
  ........
................
2010-06-03 02:05:47 +00:00