Commit Graph

3272 Commits

Author SHA1 Message Date
Matthias Klose a0dc275f08 Revert r79131
- Issue #1039, #8154: Fix os.execlp() crash with missing 2nd argument.
2010-03-21 11:15:45 +00:00
Matthias Klose b8022c8ad1 Merged revisions 79096 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79096 | matthias.klose | 2010-03-19 15:45:06 +0100 (Fr, 19 Mär 2010) | 2 lines

  - Issue #1039, #8154: Fix os.execlp() crash with missing 2nd argument.
........
2010-03-20 02:13:49 +00:00
Matthias Klose e0bc5dab99 Merged revisions 78988 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78988 | matthias.klose | 2010-03-16 11:48:52 +0100 (Di, 16 Mär 2010) | 3 lines

  - Issue #4961: Inconsistent/wrong result of askyesno function in tkMessageBox
    with Tcl/Tk-8.5.
........
2010-03-20 02:12:35 +00:00
Matthias Klose 2db7bdf8b9 Merged revisions 78979 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78979 | matthias.klose | 2010-03-15 14:42:23 +0100 (Mo, 15 Mär 2010) | 3 lines

  - Issue #7356: ctypes.util: Make parsing of ldconfig output independent of
    the locale.
........
2010-03-20 02:11:16 +00:00
Barry Warsaw c694183625 Post 2.6.5 final cleanup. 2010-03-19 23:02:15 +00:00
Barry Warsaw d1dd2e307c Bumping to 2.6.5 final. 2010-03-18 22:14:36 +00:00
Tarek Ziadé 1a549a7d67 fixed #8107 description in Misc/NEWS 2010-03-13 18:38:59 +00:00
Tarek Ziadé b3db5f6bfd Merged revisions 78707,78709 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78707 | tarek.ziade | 2010-03-05 20:18:27 -0500 (Fri, 05 Mar 2010) | 1 line

  provide a fallback for xxmodule.c in case the buildir is not present
........
  r78709 | tarek.ziade | 2010-03-05 20:23:21 -0500 (Fri, 05 Mar 2010) | 1 line

  simplified the fallback case
........
2010-03-12 18:27:13 +00:00
Barry Warsaw fb0928d117 Bumping to 2.6.5rc2 2010-03-09 22:31:52 +00:00
Gerhard Häring 924b571104 Issue #7670: sqlite3: Fixed crashes when operating on closed connections. 2010-03-05 15:50:25 +00:00
Barry Warsaw 5de5914e07 Post 2.6.5rc1 cleanup. 2010-03-03 03:09:49 +00:00
Barry Warsaw fc79e8fd8e Bump to 2.6.5 rc 1. 2010-03-01 22:10:45 +00:00
Barry Warsaw f6706296a2 Apply the change suggested by PJE for issue 7250. Unfortunately, we couldn't
come up with a unit test. :(
2010-03-01 21:34:34 +00:00
Florent Xicluna 75f82fdb7a Merged revisions 78563 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78563 | florent.xicluna | 2010-03-01 21:45:01 +0100 (lun, 01 mar 2010) | 2 lines

  #7808: Fix reference leaks in _bsddb and related tests.
........
2010-03-01 21:08:21 +00:00
Gregory P. Smith 8baa745ceb Merged revisions 78546 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78546 | gregory.p.smith | 2010-02-28 21:43:43 -0800 (Sun, 28 Feb 2010) | 3 lines

  Fixes issue #7999: os.setreuid() and os.setregid() would refuse to accept
  a -1 parameter on some platforms such as OS X.
........
2010-03-01 05:48:57 +00:00
Gregory P. Smith c21d0cb6cf Merged revisions 78527,78531 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78527 | gregory.p.smith | 2010-02-28 17:22:39 -0800 (Sun, 28 Feb 2010) | 4 lines

  Issue #7242: On Solaris 9 and earlier calling os.fork() from within a
  thread could raise an incorrect RuntimeError about not holding the import
  lock.  The import lock is now reinitialized after fork.
........
  r78531 | gregory.p.smith | 2010-02-28 18:31:33 -0800 (Sun, 28 Feb 2010) | 2 lines

  Fix for r78527.  It left out updating forkpty.
........
2010-03-01 04:40:36 +00:00
Gregory P. Smith ca57499b72 Merged revisions 78523 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78523 | gregory.p.smith | 2010-02-28 16:05:08 -0800 (Sun, 28 Feb 2010) | 3 lines

  Issue #1068268: The subprocess module now handles EINTR in internal
  os.waitpid and os.read system calls where appropriate.
........
2010-03-01 00:35:34 +00:00
Gregory P. Smith 9922a9a9cf Merged revisions 78517 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78517 | gregory.p.smith | 2010-02-28 10:36:09 -0800 (Sun, 28 Feb 2010) | 3 lines

  Issue #7481: When a threading.Thread failed to start it would leave the
  instance stuck in initial state and present in threading.enumerate().
........
2010-02-28 18:40:12 +00:00
Florent Xicluna b6d80cc893 Merged revisions 78488 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78488 | florent.xicluna | 2010-02-27 14:31:23 +0100 (sam, 27 fév 2010) | 2 lines

  Issue #1729305: Fix doctest to handle encode error with "backslashreplace".  It fixes #7667 too.
........
2010-02-27 14:34:41 +00:00
Florent Xicluna c92fc8261d Merged revisions 78461,78482 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78461 | florent.xicluna | 2010-02-26 11:40:58 +0100 (ven, 26 fév 2010) | 2 lines

  #691291: codecs.open() should not convert end of lines on reading and writing.
........
  r78482 | florent.xicluna | 2010-02-27 12:19:18 +0100 (sam, 27 fév 2010) | 2 lines

  Add entry for issue #691291.
........
2010-02-27 11:26:58 +00:00
Ezio Melotti 85ddea7e69 Merged revisions 78449 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78449 | ezio.melotti | 2010-02-25 19:36:04 +0200 (Thu, 25 Feb 2010) | 1 line

  #7649: "u'%c' % char" now behaves like "u'%s' % char" and raises a UnicodeDecodeError if 'char' is a byte string that can't be decoded using the default encoding.
........
2010-02-25 17:51:33 +00:00
Ezio Melotti 21704c51bb Merged revisions 78424 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78424 | ezio.melotti | 2010-02-24 18:49:56 +0200 (Wed, 24 Feb 2010) | 1 line

  typos
........
2010-02-24 16:52:39 +00:00
Eric Smith 66807853b4 Merged revisions 78418 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78418 | eric.smith | 2010-02-24 09:15:36 -0500 (Wed, 24 Feb 2010) | 1 line

  Issue #7309: Unchecked pointer access when converting UnicodeEncodeError, UnicodeDecodeError, and UnicodeTranslateError to strings.
........
2010-02-24 14:27:37 +00:00
R. David Murray 5b06ecf861 Merged revisions 78412 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78412 | r.david.murray | 2010-02-23 21:31:27 -0500 (Tue, 23 Feb 2010) | 6 lines

  Issue 7975: in python 2.6 bsddb.dbshelve switched from DictMixin to
  MutableMapping, and thereby lost functionality because the replacement
  functionality was implemented incorrectly or incompletely).  Since bsddb
  isn't in py3k, this patch just goes back to using DictMixin in order to
  correct the regression.
........
2010-02-24 02:35:33 +00:00
Victor Stinner f7270ba58f Merged revisions 78392 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78392 | victor.stinner | 2010-02-24 00:16:07 +0100 (mer., 24 févr. 2010) | 4 lines

  Issue #7649: Fix u'%c' % char for character in range 0x80..0xFF

  => raise an UnicodeDecodeError. Patch written by Ezio Melotti.
........
2010-02-23 23:20:14 +00:00
Thomas Heller d517d0848b Merged revisions 78380 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78380 | thomas.heller | 2010-02-23 21:11:44 +0100 (Di, 23 Feb 2010) | 4 lines

  ctypes CThunkObject was not registered correctly with the cycle
  garbage collector, leading to possible leaks when using callback
  functions.
........
2010-02-23 20:17:14 +00:00
Andrew M. Kuchling 47d960ec4a Merged revisions 75066 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75066 | andrew.kuchling | 2009-09-25 18:23:54 -0400 (Fri, 25 Sep 2009) | 4 lines

  #6243: fix segfault when keyname() returns a NULL pointer.

  Bug noted by Trundle, patched by Trundle and Jerry Chen.
........
2010-02-22 17:06:22 +00:00
Andrew M. Kuchling 63553d1829 Merged revisions 78318 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78318 | andrew.kuchling | 2010-02-22 11:26:47 -0500 (Mon, 22 Feb 2010) | 1 line

  #7597: curses.use_env() can be called before initscr().  Noted by Kan-Ru Chen
........
2010-02-22 16:35:18 +00:00
R. David Murray 1fa911654b Merged revisions 78274 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78274 | r.david.murray | 2010-02-20 23:23:00 -0500 (Sat, 20 Feb 2010) | 9 lines

  Issue 7970: When email.Parser.Parser parses a MIME message of type
  message/rfc822 it turns it into an object whose body consists of
  a list containing a single Message object.  HeaderParser, on the
  other hand, just copies the body as a string.  Generator.flatten
  has a special handler for the message mime type that expected the
  body to be the one item list.  This fails if the message was parsed
  by HeaderParser.  So we now check to see if the body is a string
  first, and if so just we just emit it.
........
2010-02-21 04:30:12 +00:00
Ezio Melotti 502f8eb50b Merged revisions 78247 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78247 | ezio.melotti | 2010-02-20 10:09:39 +0200 (Sat, 20 Feb 2010) | 1 line

  #3426: os.path.abspath now returns unicode when its arg is unicode.
........
2010-02-20 09:16:04 +00:00
Martin v. Löwis 7f898e3dc5 Merged revisions 78213,78215 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78213 | martin.v.loewis | 2010-02-18 10:22:20 +0100 (Do, 18 Feb 2010) | 3 lines

  Stop providing crtassem.h symbols when compiling with
  Visual Studio 2010, as msvcr100.dll is not a platform
  assembly anymore.
........
  r78215 | martin.v.loewis | 2010-02-18 13:45:45 +0100 (Do, 18 Feb 2010) | 1 line

  Move bsddb47 macros before their use, to make VS 2010 happy.
........
2010-02-18 16:24:56 +00:00
Martin v. Löwis 4c5e2c8e98 Merged revisions 78202 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78202 | martin.v.loewis | 2010-02-15 22:41:12 +0100 (Mo, 15 Feb 2010) | 2 lines

  Issue #7903: Define _BSD_SOURCE through OpenBSD 4.9.
........
2010-02-15 21:43:41 +00:00
Martin v. Löwis 4bacacac5c Merged revisions 78194 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78194 | martin.v.loewis | 2010-02-15 09:32:00 +0100 (Mo, 15 Feb 2010) | 2 lines

  Issue #3920: Define _BSD_SOURCE on OpenBSD 4.4.
........
2010-02-15 08:34:34 +00:00
R. David Murray 2070be82cd Merged revisions 78137 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78137 | r.david.murray | 2010-02-10 17:42:04 -0500 (Wed, 10 Feb 2010) | 8 lines

  Issue 7835:  Shelve's __del__ method calls its close method, and its
  close method refers to an identifier in the global module namespace.
  This means that when __del__ is called during interpreter shutdown (if,
  for example, the calling program still has a pointer to the shelf),
  sometimes that global identifier would wind up being None, causing
  mysterious 'ignored' exceptions.  This patch checks for the possible None
  value first before using the global, thus avoiding the error messages.
........
2010-02-10 22:47:57 +00:00
Ronald Oussoren 8ed66ed712 Backport the patch that enables linking the readline
module to libedit on OSX 10.5 or later. (Issue 6877)
2010-02-07 20:04:45 +00:00
Benjamin Peterson 004f3dcaa5 Merged revisions 68805 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68805 | benjamin.peterson | 2009-01-20 08:21:16 -0600 (Tue, 20 Jan 2009) | 1 line

  allow unicode keyword arguments for the ** syntax #4978
........
2010-02-06 19:16:33 +00:00
R. David Murray dc600deae2 Merged revisions 78014 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78014 | r.david.murray | 2010-02-05 23:27:21 -0500 (Fri, 05 Feb 2010) | 5 lines

  issue #7728: test_timeout was using a hardcoded port, which was
  causing buildbot failures.  Changed to use test_support.bind_port.
  Patch by Florent Xicluna.
........
2010-02-06 04:56:33 +00:00
Barry Warsaw 730820f978 Merged revisions 77992 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77992 | barry.warsaw | 2010-02-05 13:45:25 -0500 (Fri, 05 Feb 2010) | 4 lines

  Resolve bug 7847 by including documentation for -J, -U, and -X under "Options
  you shouldn't use".
........
2010-02-05 18:52:05 +00:00
Antoine Pitrou 2483728850 Merged revisions 77989 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77989 | antoine.pitrou | 2010-02-05 18:05:54 +0100 (ven., 05 févr. 2010) | 6 lines

  Issue #5677: Explicitly forbid write operations on read-only file objects,
  and read operations on write-only file objects.  On Windows, the system C
  library would return a bogus result; on Solaris, it was possible to crash
  the interpreter.  Patch by Stefan Krah.
........
2010-02-05 17:11:32 +00:00
Antoine Pitrou 6e127db0ed Merged revisions 77970 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77970 | antoine.pitrou | 2010-02-04 21:20:18 +0100 (jeu., 04 févr. 2010) | 6 lines

  Issue #4772: Raise a ValueError when an unknown Bluetooth protocol is
  specified, rather than fall through to AF_PACKET (in the `socket` module).
  Also, raise ValueError rather than TypeError when an unknown TIPC address
  type is specified.  Patch by Brian Curtin.
........
2010-02-04 20:26:34 +00:00
Victor Stinner d85f1c01af Merged revisions 77892 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77892 | victor.stinner | 2010-01-31 23:32:15 +0100 (dim., 31 janv. 2010) | 4 lines

  Issue #7819: Check sys.call_tracing() arguments types.

  py3k was already patched by issue #3661.
........
2010-01-31 22:33:22 +00:00
Matthias Klose d71657c263 Merged revisions 77875 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77875 | matthias.klose | 2010-01-31 17:05:13 +0100 (So, 31 Jan 2010) | 3 lines

  - Update python manual page (options -B, -O0, -s, environment variables
    PYTHONDONTWRITEBYTECODE, PYTHONNOUSERSITE).
........
2010-01-31 16:09:16 +00:00
Benjamin Peterson e68892ddf4 Merged revisions 68874 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68874 | jesse.noller | 2009-01-23 08:04:41 -0600 (Fri, 23 Jan 2009) | 1 line

  Issue 3807: multiprocessing fails to compile under --without-threads
........
2010-01-30 20:00:35 +00:00
Mark Dickinson 0273354ab6 Merged revisions 77821 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77821 | mark.dickinson | 2010-01-29 17:11:39 +0000 (Fri, 29 Jan 2010) | 3 lines

  Issue #7788: Fix a crash produced by deleting a list slice with huge
  step value.  Patch by Marcin Bachry.
........
2010-01-29 17:16:18 +00:00
Benjamin Peterson c760e86184 revert r77790. it requires a new-style class change 2010-01-28 01:31:13 +00:00
Antoine Pitrou ca5a06aaa9 Issue #6939: Fix file I/O objects in the `io` module to keep the original
file position when calling `truncate()`.  It would previously change the
file position to the given argument, which goes against the tradition of
`ftruncate()` and other truncation APIs.  Patch by Pascal Chambon.
2010-01-27 21:48:46 +00:00
Benjamin Peterson 3059caadc6 Merged revisions 77788-77789 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77788 | benjamin.peterson | 2010-01-26 20:15:28 -0600 (Tue, 26 Jan 2010) | 1 line

  for UserDict to be compatible with abcs, it must subclass object
........
  r77789 | benjamin.peterson | 2010-01-26 20:16:42 -0600 (Tue, 26 Jan 2010) | 1 line

  raise a clear TypeError when trying to register a non-class
........
2010-01-27 02:24:25 +00:00
Benjamin Peterson 00b9051a7e Merged revisions 77735 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77735 | benjamin.peterson | 2010-01-24 21:31:13 -0600 (Sun, 24 Jan 2010) | 1 line

  fix an UnboundLocalError when the release file is empty #7773
........
2010-01-25 03:35:04 +00:00
Tarek Ziadé 495517cd38 Merged revisions 77717 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77717 | tarek.ziade | 2010-01-24 01:33:32 +0100 (Sun, 24 Jan 2010) | 1 line

  Fixed #7748: now upload and register commands don't need to force the encoding anymore : DistributionMetada returns utf8 strings
........
2010-01-24 00:57:20 +00:00
Georg Brandl cfa0474685 Remove line left over from merging. 2010-01-22 11:20:00 +00:00