summaryrefslogtreecommitdiffstats
path: root/Include
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 76713 via svnmerge fromRonald Oussoren2009-12-081-2/+4
| | | | | | | | | | | | | | | | | | | 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. ........ ................
* we are in 3.1.1+Benjamin Peterson2009-10-091-1/+1
|
* Merged revisions 75246 via svnmerge fromBenjamin Peterson2009-10-041-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. ........ ................
* Merged revisions 74696 via svnmerge fromMark Dickinson2009-09-061-1/+6
| | | | | | | | | | | | | | | | | 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. ........ ................
* bump to 3.1.1v3.1.1Benjamin Peterson2009-08-161-3/+3
|
* bump version to 3.1.1rc1Benjamin Peterson2009-08-131-4/+4
|
* Merged revisions 73735-73736 via svnmerge fromGeorg Brandl2009-08-131-6/+0
| | | | | | | | | | | | | | 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. ........
* Be consistent in versioning with the stable 2.6 branch; this also makes more ↵Georg Brandl2009-07-261-3/+3
| | | | sense for the version number showing up on <http://docs.python.org/3.1>.
* Merged revisions 73809 via svnmerge fromBenjamin Peterson2009-07-031-2/+0
| | | | | | | | | | 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 ........
* Merged revisions 73782-73784 via svnmerge fromBenjamin Peterson2009-07-022-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | 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 ........ ................
* Merged revisions 73702 via svnmerge fromMark Dickinson2009-06-301-0/+6
| | | | | | | | | | | | | | | | | | 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. ........ ................
* Merged revisions 73661 via svnmerge fromMark Dickinson2009-06-282-8/+0
| | | | | | | | | | | | | | | | | 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 ........ ................
* version to 3.1.1a0Benjamin Peterson2009-06-271-3/+3
|
* bump version to 3.1 final :)Benjamin Peterson2009-06-261-3/+3
|
* post release version bumpsBenjamin Peterson2009-06-131-1/+1
|
* bump version to 3.1rc2Benjamin Peterson2009-06-131-2/+2
|
* #5735: Modules compiled with incompatible settings (--with-pydebug when ↵Amaury Forgeot d'Arc2009-06-011-2/+2
| | | | | | | | python is not) should generate a link-time error. I won't backport to 3.0, because it breaks binary compatibility
* post-release updatesBenjamin Peterson2009-05-301-1/+1
|
* bump to 3.1rc1Benjamin Peterson2009-05-301-2/+2
|
* Issue #6012: Add cleanup support to O& argument parsing.Martin v. Löwis2009-05-291-0/+2
|
* #6115: remove entries for the already removed PyNumber_Divide and ↵Georg Brandl2009-05-261-15/+0
| | | | PyNumber_InPlaceDivide from the header and the docs.
* Merged revisions 72924 via svnmerge fromGeorg Brandl2009-05-251-1/+1
| | | | | | | | | | | | | | 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. ........
* Refactor to remove duplicated nan/inf parsing code inMark Dickinson2009-05-201-0/+2
| | | | pystrtod.c, floatobject.c and dtoa.c.
* Remove trailing whitespace.Georg Brandl2009-05-171-3/+3
|
* Merged revisions 72698-72699 via svnmerge fromHirokazu Yamamoto2009-05-171-6/+2
| | | | | | | | | | | | | | 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. ........
* these builtins have to be initializedBenjamin Peterson2009-05-092-0/+15
|
* Merged revisions 72461 via svnmerge fromBenjamin Peterson2009-05-081-0/+1
| | | | | | | | | | 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 ........
* post release updatesBenjamin Peterson2009-05-061-1/+1
|
* bump version to 3.1b1v3.1b1Benjamin Peterson2009-05-061-3/+3
|
* add a replacement API for PyCObject, PyCapsule #5630Benjamin Peterson2009-05-057-27/+72
| | | | | | All stdlib modules with C-APIs now use this. Patch by Larry Hastings
* Issue #5920: Changed format.__float__ and complex.__float__ to use a ↵Eric Smith2009-05-051-0/+6
| | | | 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.
* Issue #5915: Implement PEP 383, Non-decodable Bytes inMartin v. Löwis2009-05-051-19/+29
| | | | System Character Interfaces.
* Merged revisions 72283-72284 via svnmerge fromAntoine Pitrou2009-05-041-4/+2
| | | | | | | | | | | | | | | 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. ........
* Issue #5914: Add new C-API function PyOS_string_to_double, to complementMark Dickinson2009-05-031-0/+3
| | | | PyOS_double_to_string, and deprecate PyOS_ascii_strtod and PyOS_ascii_atof.
* Issue #1588: Add complex.__format__.Eric Smith2009-04-301-0/+6
|
* Include files missed in r72044.Eric Smith2009-04-271-0/+28
|
* Merged revisions 72040 via svnmerge fromEric Smith2009-04-272-22/+14
| | | | | | | | | | 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. ........
* Don't try to use x87 assembly on OS X universal builds.Mark Dickinson2009-04-251-0/+3
|
* Merged revisions 71734,71738-71739 via svnmerge fromBenjamin Peterson2009-04-202-0/+3
| | | | | | | | | | | | | | | | | | 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 ........
* Add comments to pyport.h explaining how to enable support for shortMark Dickinson2009-04-191-5/+30
| | | | | float repr on platforms that don't currently support it, and reorganize the defines slightly to make adding support easier.
* Merged revisions 71743 via svnmerge fromRonald Oussoren2009-04-191-0/+12
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71743 | ronald.oussoren | 2009-04-19 12:38:20 +0200 (Sun, 19 Apr 2009) | 2 lines Fix for issue5657. ........
* The SSE2 detection and enabling could potentially causeMark Dickinson2009-04-181-1/+1
| | | | | | | | problems for binary distributions of Python in situations where the build machine has SSE2 but the target machine does not. Therefore, don't enable SSE2 instructions automatically on x86.
* Add check for C99 round function to configure, and defineMark Dickinson2009-04-181-0/+4
| | | | a fallback function if round doesn't exist.
* Issue #5781: Only use legacy string<->double conversions whenMark Dickinson2009-04-181-2/+4
| | | | we can't figure out how to get and set the x87 control word.
* The comments at the top of intobject.h say that it will be removed in 3.1.Mark Dickinson2009-04-181-36/+0
| | | | Make it so.
* The other half of Issue #1580: use short float repr where possible.Eric Smith2009-04-163-28/+43
| | | | | | | | | | | | | | Addresses the float -> string conversion, using David Gay's code which was added in Mark Dickinson's checkin r71663. Also addresses these, which are intertwined with the short repr changes: - Issue #5772: format(1e100, '<') produces '1e+100', not '1.0e+100' - Issue #5515: 'n' formatting with commas no longer works poorly with leading zeros. - PEP 378 Format Specifier for Thousands Separator: implemented for floats.
* Issue #1580: use short float repr where possible.Mark Dickinson2009-04-165-0/+74
| | | | | | | | | | | | | | | - incorporate and adapt David Gay's dtoa and strtod into the Python core - on platforms where we can use Gay's code (almost all!), repr(float) is based on the shortest sequence of decimal digits that rounds correctly. - add sys.float_repr_style attribute to indicate whether we're using Gay's code or not - add autoconf magic to detect and enable SSE2 instructions on x86/gcc - slight change to repr and str: repr switches to exponential notation at 1e16 instead of 1e17, str switches at 1e11 instead of 1e12
* Add bytes/bytearray.maketrans() to mirror str.maketrans(), and deprecateGeorg Brandl2009-04-121-0/+4
| | | | string.maketrans() which actually works on bytes. (Also closes #5675.)
* Merged revisions 71229,71271 via svnmerge fromMatthias Klose2009-04-071-7/+9
| | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71229 | matthias.klose | 2009-04-05 14:43:08 +0200 (So, 05 Apr 2009) | 3 lines - Py_DECREF: Add `do { ... } while (0)' to avoid compiler warnings. (avoiding brown paper typo this time) ........ r71271 | matthias.klose | 2009-04-05 23:19:13 +0200 (So, 05 Apr 2009) | 3 lines Issue #1113244: Py_XINCREF, Py_DECREF, Py_XDECREF: Add `do { ... } while (0)' to avoid compiler warnings. ........
* bump version for 3.1a2+Benjamin Peterson2009-04-041-1/+1
|