Commit Graph

1547 Commits

Author SHA1 Message Date
Antoine Pitrou 71d305c83d Merged revisions 81400 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r81400 | antoine.pitrou | 2010-05-21 19:25:34 +0200 (ven., 21 mai 2010) | 12 lines

  Merged revisions 81398 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r81398 | antoine.pitrou | 2010-05-21 19:12:38 +0200 (ven., 21 mai 2010) | 6 lines

    Issue #5753: A new C API function, :cfunc:`PySys_SetArgvEx`, allows
    embedders of the interpreter to set sys.argv without also modifying
    sys.path.  This helps fix `CVE-2008-5983
    <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5983>`_.
  ........
................
2010-05-21 17:33:14 +00:00
Victor Stinner 9076f9e187 Merged revisions 81168 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r81168 | victor.stinner | 2010-05-14 17:58:55 +0200 (ven., 14 mai 2010) | 10 lines

  Issue #8711: Document PyUnicode_DecodeFSDefault*() functions

   * Add paragraph titles to c-api/unicode.rst.
   * Fix PyUnicode_DecodeFSDefault*() comment: it now uses the "surrogateescape"
     error handler (and not "replace")
   * Remove "The function is intended to be used for paths and file names only
     during bootstrapping process where the codecs are not set up." from
     PyUnicode_FSConverter() comment: it is used after the bootstrapping and for
     other purposes than file names
........
2010-05-14 16:08:46 +00:00
Antoine Pitrou 7f14f0d8a0 Recorded merge of revisions 81032 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r81032 | antoine.pitrou | 2010-05-09 17:52:27 +0200 (dim., 09 mai 2010) | 9 lines

  Recorded merge of revisions 81029 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines

    Untabify C files. Will watch buildbots.
  ........
................
2010-05-09 16:14:21 +00:00
Ronald Oussoren 3a20d05dcc Merged revisions 80182 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r80182 | ronald.oussoren | 2010-04-18 17:02:38 +0200 (Sun, 18 Apr 2010) | 9 lines

  Merged revisions 80178 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r80178 | ronald.oussoren | 2010-04-18 15:47:49 +0200 (Sun, 18 Apr 2010) | 2 lines

    Fix for issue #7072
  ........
................
2010-04-18 15:08:43 +00:00
Benjamin Peterson f0fa1b2f67 version becomes 3.1.2 2010-03-20 20:47:27 +00:00
Benjamin Peterson 83b32fddd6 start working towards 3.1.2 final 2010-03-06 22:45:53 +00:00
Benjamin Peterson e4b56d2eee bump to 3.1.2rc1 2010-03-06 20:28:33 +00:00
Victor Stinner ef32bc8569 Merged revisions 78639 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r78639 | victor.stinner | 2010-03-04 00:28:07 +0100 (jeu., 04 mars 2010) | 10 lines

  Merged revisions 78638 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r78638 | victor.stinner | 2010-03-04 00:20:25 +0100 (jeu., 04 mars 2010) | 3 lines

    Issue #7544: Preallocate thread memory before creating the thread to avoid a
    fatal error in low memory condition.
  ........
................
2010-03-03 23:32:07 +00:00
Mark Dickinson 57a432d95e Merged revisions 78192 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r78192 | mark.dickinson | 2010-02-14 14:08:54 +0000 (Sun, 14 Feb 2010) | 9 lines

  Merged revisions 78189 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r78189 | mark.dickinson | 2010-02-14 13:40:30 +0000 (Sun, 14 Feb 2010) | 1 line

    Silence more 'comparison between signed and unsigned' warnings.
  ........
................
2010-02-14 14:09:25 +00:00
Antoine Pitrou 9a426c302f Merged revisions 77583 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r77583 | antoine.pitrou | 2010-01-17 17:15:29 +0100 (dim., 17 janv. 2010) | 9 lines

  Merged revisions 77581 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r77581 | antoine.pitrou | 2010-01-17 16:55:45 +0100 (dim., 17 janv. 2010) | 3 lines

    Use PyAPI_DATA.
  ........
................
2010-01-17 16:20:28 +00:00
Antoine Pitrou 20d6c15327 Merged revisions 77576 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r77576 | antoine.pitrou | 2010-01-17 13:38:54 +0100 (dim., 17 janv. 2010) | 12 lines

  Merged revisions 77573 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r77573 | antoine.pitrou | 2010-01-17 13:26:20 +0100 (dim., 17 janv. 2010) | 6 lines

    Issue #7561: Operations on empty bytearrays (such as `int(bytearray())`)
    could crash in many places because of the PyByteArray_AS_STRING() macro
    returning NULL.  The macro now returns a statically allocated empty
    string instead.
  ........
................
2010-01-17 12:43:00 +00:00
Ronald Oussoren 2cfd61a12a Merged revisions 76713 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r76713 | ronald.oussoren | 2009-12-08 17:35:28 +0100 (Tue, 08 Dec 2009) | 11 lines

  Merged revisions 76712 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r76712 | ronald.oussoren | 2009-12-08 17:32:52 +0100 (Tue, 08 Dec 2009) | 4 lines

    Fix for issue 7452: HAVE_GCC_ASM_FOR_X87 gets set when doing a universal build on
    an i386 based machine, but should only be active when compiling the x86 part of
    the universal binary.
  ........
................
2009-12-08 16:36:47 +00:00
Benjamin Peterson ae2fa6fad2 we are in 3.1.1+ 2009-10-09 20:25:23 +00:00
Benjamin Peterson 5183856c17 Merged revisions 75246 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r75246 | benjamin.peterson | 2009-10-04 15:32:25 -0500 (Sun, 04 Oct 2009) | 29 lines

  Merged revisions 74841 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r74841 | thomas.wouters | 2009-09-16 14:55:54 -0500 (Wed, 16 Sep 2009) | 23 lines


    Fix issue #1590864, multiple threads and fork() can cause deadlocks, by
    acquiring the import lock around fork() calls. This prevents other threads
    from having that lock while the fork happens, and is the recommended way of
    dealing with such issues. There are two other locks we care about, the GIL
    and the Thread Local Storage lock. The GIL is obviously held when calling
    Python functions like os.fork(), and the TLS lock is explicitly reallocated
    instead, while also deleting now-orphaned TLS data.

    This only fixes calls to os.fork(), not extension modules or embedding
    programs calling C's fork() directly. Solving that requires a new set of API
    functions, and possibly a rewrite of the Python/thread_*.c mess. Add a
    warning explaining the problem to the documentation in the mean time.

    This also changes behaviour a little on AIX. Before, AIX (but only AIX) was
    getting the import lock reallocated, seemingly to avoid this very same
    problem. This is not the right approach, because the import lock is a
    re-entrant one, and reallocating would do the wrong thing when forking while
    holding the import lock.

    Will backport to 2.6, minus the tiny AIX behaviour change.
  ........
................
2009-10-04 20:35:30 +00:00
Mark Dickinson b55628f087 Merged revisions 74696 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r74696 | mark.dickinson | 2009-09-06 22:24:55 +0100 (Sun, 06 Sep 2009) | 9 lines

  Merged revisions 74693 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r74693 | mark.dickinson | 2009-09-06 22:21:05 +0100 (Sun, 06 Sep 2009) | 2 lines

    Issue #6848:  Fix curses module build failure on OS X 10.6.
  ........
................
2009-09-06 21:26:46 +00:00
Benjamin Peterson 586547387b bump to 3.1.1 2009-08-16 21:59:05 +00:00
Benjamin Peterson 54cda44f74 bump version to 3.1.1rc1 2009-08-13 15:47:36 +00:00
Georg Brandl 514c368c1f Merged revisions 73735-73736 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r73735 | benjamin.peterson | 2009-07-01 03:45:12 +0200 (Mi, 01 Jul 2009) | 1 line

  remove comment about PyNumber_Int
........
  r73736 | hirokazu.yamamoto | 2009-07-01 04:24:13 +0200 (Mi, 01 Jul 2009) | 1 line

  Added svn:ignore.
........
2009-08-13 08:54:55 +00:00
Georg Brandl e54b21928c Be consistent in versioning with the stable 2.6 branch; this also makes more sense for the version number showing up on <http://docs.python.org/3.1>. 2009-07-26 13:43:33 +00:00
Benjamin Peterson b166ffdc3a Merged revisions 73809 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r73809 | benjamin.peterson | 2009-07-03 08:30:25 -0500 (Fri, 03 Jul 2009) | 1 line

  remove duplicate declartions #6405
........
2009-07-03 13:33:17 +00:00
Benjamin Peterson e39d5d5f81 Merged revisions 73782-73784 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r73782 | benjamin.peterson | 2009-07-02 16:44:01 -0500 (Thu, 02 Jul 2009) | 1 line

  the old CO_FUTURE flags can't be commented out
................
  r73783 | benjamin.peterson | 2009-07-02 16:54:36 -0500 (Thu, 02 Jul 2009) | 1 line

  a little more fiddling to make flags like 2.x
................
  r73784 | benjamin.peterson | 2009-07-02 16:55:39 -0500 (Thu, 02 Jul 2009) | 9 lines

  Merged revisions 73781 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r73781 | benjamin.peterson | 2009-07-02 16:38:36 -0500 (Thu, 02 Jul 2009) | 1 line

    test that compile() accepts the future flag
  ........
................
2009-07-02 22:02:15 +00:00
Mark Dickinson 8c1e29488d Merged revisions 73702 via svnmerge from
svn+ssh://pythondev@www.python.org/python/branches/py3k

................
  r73702 | mark.dickinson | 2009-06-30 16:45:17 +0100 (Tue, 30 Jun 2009) | 10 lines

  Merged revisions 73701 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r73701 | mark.dickinson | 2009-06-30 16:32:30 +0100 (Tue, 30 Jun 2009) | 3 lines

    Issue #6347:  Add inttypes.h to the pyport.h #includes;  fixes a build
    failure on HP-UX 11.00.
  ........
................
2009-06-30 15:46:37 +00:00
Mark Dickinson 5afe30e07c Merged revisions 73661 via svnmerge from
svn+ssh://pythondev@www.python.org/python/branches/py3k

................
  r73661 | mark.dickinson | 2009-06-28 23:40:48 +0100 (Sun, 28 Jun 2009) | 9 lines

  Merged revisions 73660 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r73660 | mark.dickinson | 2009-06-28 23:37:13 +0100 (Sun, 28 Jun 2009) | 1 line

    Remove unused stdint.h includes
  ........
................
2009-06-28 22:52:18 +00:00
Benjamin Peterson e8fb2039c0 version to 3.1.1a0 2009-06-27 22:03:18 +00:00
Benjamin Peterson 392851624f bump version to 3.1 final :) 2009-06-26 13:11:28 +00:00
Benjamin Peterson 01bf2369d2 post release version bumps 2009-06-13 14:50:22 +00:00
Benjamin Peterson c7c12289fb bump version to 3.1rc2 2009-06-13 13:15:04 +00:00
Amaury Forgeot d'Arc 1172999627 #5735: Modules compiled with incompatible settings (--with-pydebug when python is not)
should generate a link-time error.

I won't backport to 3.0, because it breaks binary compatibility
2009-06-01 21:16:17 +00:00
Benjamin Peterson 54e8ddf919 post-release updates 2009-05-30 18:43:49 +00:00
Benjamin Peterson e6ad3879fe bump to 3.1rc1 2009-05-30 15:30:16 +00:00
Martin v. Löwis c15bdef819 Issue #6012: Add cleanup support to O& argument parsing. 2009-05-29 14:47:46 +00:00
Georg Brandl 7d5285ec79 #6115: remove entries for the already removed PyNumber_Divide and PyNumber_InPlaceDivide from the header and the docs. 2009-05-26 16:43:13 +00:00
Georg Brandl 0c31562a91 Merged revisions 72924 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72924 | georg.brandl | 2009-05-25 23:02:56 +0200 (Mo, 25 Mai 2009) | 6 lines

  Allow multiple context managers in one with statement, as proposed
  in http://codereview.appspot.com/53094 and accepted by Guido.

  The construct is transformed into multiple With AST nodes so that
  there should be no problems with the semantics.
........
2009-05-25 21:10:36 +00:00
Mark Dickinson bd16edd305 Refactor to remove duplicated nan/inf parsing code in
pystrtod.c, floatobject.c and dtoa.c.
2009-05-20 22:05:25 +00:00
Georg Brandl 5483fe55f5 Remove trailing whitespace. 2009-05-17 22:19:14 +00:00
Hirokazu Yamamoto 8223c24d07 Merged revisions 72698-72699 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72698 | hirokazu.yamamoto | 2009-05-17 11:52:09 +0900 | 1 line

  Issue #3527: Removed Py_WIN_WIDE_FILENAMES which is not used any more.
........
  r72699 | hirokazu.yamamoto | 2009-05-17 11:58:36 +0900 | 1 line

  Added NEWS for r72698.
........
2009-05-17 04:21:53 +00:00
Benjamin Peterson 8bc5b68159 these builtins have to be initialized 2009-05-09 18:10:51 +00:00
Benjamin Peterson 224205fde2 Merged revisions 72461 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72461 | benjamin.peterson | 2009-05-07 22:06:00 -0500 (Thu, 07 May 2009) | 1 line

  add _PyObject_LookupSpecial to handle fetching special method lookup
........
2009-05-08 03:25:19 +00:00
Benjamin Peterson accdca59ef post release updates 2009-05-06 23:26:59 +00:00
Benjamin Peterson 5c5f3de16e bump version to 3.1b1 2009-05-06 20:43:28 +00:00
Benjamin Peterson b173f7853e add a replacement API for PyCObject, PyCapsule #5630
All stdlib modules with C-APIs now use this.

Patch by Larry Hastings
2009-05-05 22:31:58 +00:00
Eric Smith 63376228a3 Issue #5920: Changed format.__float__ and complex.__float__ to use a precision of 12 when using the empty presentation type. This more closely matches str()'s behavior and reduces surprises when adding alignment flags to an empty format string. Patch by Mark Dickinson. 2009-05-05 14:04:18 +00:00
Martin v. Löwis 011e842033 Issue #5915: Implement PEP 383, Non-decodable Bytes in
System Character Interfaces.
2009-05-05 04:43:17 +00:00
Antoine Pitrou 244651aa2f Merged revisions 72283-72284 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72283 | antoine.pitrou | 2009-05-04 20:32:32 +0200 (lun., 04 mai 2009) | 4 lines

  Issue #4426: The UTF-7 decoder was too strict and didn't accept some legal sequences.
  Patch by Nick Barnes and Victor Stinner.
........
  r72284 | antoine.pitrou | 2009-05-04 20:32:50 +0200 (lun., 04 mai 2009) | 3 lines

  Add Nick Barnes to ACKS.
........
2009-05-04 18:56:13 +00:00
Mark Dickinson 725bfd8489 Issue #5914: Add new C-API function PyOS_string_to_double, to complement
PyOS_double_to_string, and deprecate PyOS_ascii_strtod and PyOS_ascii_atof.
2009-05-03 20:33:40 +00:00
Eric Smith 58a42244cf Issue #1588: Add complex.__format__. 2009-04-30 01:00:33 +00:00
Eric Smith 8374981fb4 Include files missed in r72044. 2009-04-27 20:54:42 +00:00
Eric Smith 6dc46f5eaa Merged revisions 72040 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72040 | eric.smith | 2009-04-27 15:04:37 -0400 (Mon, 27 Apr 2009) | 1 line

  Issue #5793: rationalize isdigit / isalpha / tolower, etc. Will port to py3k. Should fix Windows buildbot errors.
........
2009-04-27 20:39:49 +00:00
Mark Dickinson 0cd526ef58 Don't try to use x87 assembly on OS X universal builds. 2009-04-25 18:22:27 +00:00
Benjamin Peterson fd838e6c84 Merged revisions 71734,71738-71739 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71734 | benjamin.peterson | 2009-04-18 17:15:26 -0500 (Sat, 18 Apr 2009) | 1 line

  many more types to initialize (I had to expose some of them)
........
  r71738 | benjamin.peterson | 2009-04-18 21:32:42 -0500 (Sat, 18 Apr 2009) | 1 line

  initialize weakref some weakref types
........
  r71739 | benjamin.peterson | 2009-04-18 21:40:43 -0500 (Sat, 18 Apr 2009) | 1 line

  make errors consistent
........
2009-04-20 02:09:13 +00:00