Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue 3048: Fixed sys.getsizeof for unicode objects. | Robert Schuppenies | 2008-06-10 | 2 | -7/+52 |
| | |||||
* | Add Arnaud for his efforts on multi-arg set operations. | Raymond Hettinger | 2008-06-10 | 1 | -0/+1 |
| | |||||
* | Add the "ast" module, containing helpers to ease use of the "_ast" classes. | Georg Brandl | 2008-06-10 | 8 | -95/+662 |
| | |||||
* | Add Gregor Lingl. | Martin v. Löwis | 2008-06-10 | 1 | -0/+3 |
| | |||||
* | Applying updated patch from Issue 1736190, which addresses partial | Josiah Carlson | 2008-06-10 | 5 | -103/+213 |
| | | | | | | issues in: 909005 and 17361001, as well as completely as possible issues 539444, 760475, 777588, 889153, 953599, 1025525, 1063924, and 658749. This patch also includes doc and test updates as necessary. | ||||
* | Added better pickling support to xrange objects. | Alexandre Vassalotti | 2008-06-10 | 2 | -12/+13 |
| | | | | Cleaned up the unit test. | ||||
* | Issue 2582: Fix pickling of xrange objects. | Alexandre Vassalotti | 2008-06-10 | 2 | -0/+21 |
| | |||||
* | Let set.intersection() and set.intersection_update() take multiple input ↵ | Raymond Hettinger | 2008-06-09 | 4 | -8/+54 |
| | | | | arguments. | ||||
* | Unhappy buildbots. Revert 64052. Long doubles have unexpected effects on ↵ | Raymond Hettinger | 2008-06-09 | 1 | -20/+24 |
| | | | | some builds. | ||||
* | Address double-rounding scenarios by setting all variables to long doubles. | Raymond Hettinger | 2008-06-09 | 1 | -24/+19 |
| | |||||
* | Let set.union() and set.update() accept multiple inputs. | Raymond Hettinger | 2008-06-09 | 4 | -19/+57 |
| | |||||
* | Issue #2138: Add math.factorial(). | Raymond Hettinger | 2008-06-09 | 4 | -0/+71 |
| | |||||
* | This reverts r63675 based on the discussion in this thread: | Gregory P. Smith | 2008-06-09 | 173 | -2280/+2275 |
| | | | | | | | http://mail.python.org/pipermail/python-dev/2008-June/079988.html Python 2.6 should stick with PyString_* in its codebase. The PyBytes_* names in the spirit of 3.0 are available via a #define only. See the email thread. | ||||
* | Issue3065: Fixed pickling of named tuples. Added tests. | Raymond Hettinger | 2008-06-09 | 3 | -2/+26 |
| | |||||
* | warn about parameter tuple unpacking | Benjamin Peterson | 2008-06-08 | 2 | -0/+9 |
| | |||||
* | Warn about assigning to Py3k keywords (True and False) | Benjamin Peterson | 2008-06-08 | 2 | -33/+76 |
| | |||||
* | add an ast_warn helper function to make adding those Py3k warnings easier | Benjamin Peterson | 2008-06-08 | 1 | -7/+15 |
| | |||||
* | Argh, I read it wrong. Reverted 64036 and added a clarifying remark. | Georg Brandl | 2008-06-08 | 1 | -2/+2 |
| | |||||
* | #3028: tokenize passes the physical line. | Georg Brandl | 2008-06-08 | 1 | -10/+9 |
| | |||||
* | change Py3k backquote warning to a SyntaxWarning and add a test | Benjamin Peterson | 2008-06-08 | 2 | -1/+7 |
| | |||||
* | capitalization nit | Benjamin Peterson | 2008-06-07 | 1 | -1/+1 |
| | |||||
* | Document the "st" API, to avoid confusion with the "new" AST. | Georg Brandl | 2008-06-07 | 1 | -78/+89 |
| | | | | Add a note about using the new AST module. | ||||
* | X-ref to numbers module. | Georg Brandl | 2008-06-07 | 1 | -3/+3 |
| | |||||
* | Backport docs for abc module to 2.6. | Georg Brandl | 2008-06-07 | 2 | -0/+196 |
| | |||||
* | #3057: Fix the MutableMapping ABC to use the 2.6 dict interface. | Georg Brandl | 2008-06-07 | 1 | -9/+14 |
| | |||||
* | Register IterableUserDict as a MutableMapping. | Georg Brandl | 2008-06-07 | 1 | -0/+4 |
| | |||||
* | Revert unwanted changes. | Georg Brandl | 2008-06-07 | 3 | -101/+95 |
| | |||||
* | Factor out docstring dedenting from inspect.getdoc() into inspect.cleandoc() | Georg Brandl | 2008-06-07 | 7 | -100/+125 |
| | | | | to ease standalone use of the algorithm. | ||||
* | Finished bug #2451. Fixed the retrying part to make it | Facundo Batista | 2008-06-07 | 1 | -8/+16 |
| | | | | more robust. | ||||
* | Remove locking part of new buffer protocol. | Travis E. Oliphant | 2008-06-06 | 3 | -22/+0 |
| | |||||
* | Add long double check support to configure test. | Travis E. Oliphant | 2008-06-06 | 1 | -0/+11 |
| | |||||
* | Issue 3501: Make heapq support both __le__ and __lt__. | Raymond Hettinger | 2008-06-06 | 1 | -11/+28 |
| | |||||
* | Fix build issue on OSX 10.4 | Ronald Oussoren | 2008-06-06 | 6 | -8/+80 |
| | |||||
* | Document the new ctypes features. | Thomas Heller | 2008-06-06 | 1 | -6/+68 |
| | | | | | It would be great if someone could review both sematics, markup, and spelling, and correct the versionadded and versionchanges markers. | ||||
* | Add a reminder for the maintainer of whatsnew. | Thomas Heller | 2008-06-06 | 1 | -0/+4 |
| | |||||
* | Performance improvement: Use PyDict_Get/SetItem instead of | Thomas Heller | 2008-06-06 | 1 | -3/+9 |
| | | | | PyDict_Get/SetItemString. | ||||
* | Fix brackets. | Georg Brandl | 2008-06-06 | 1 | -2/+2 |
| | |||||
* | Issue #1798: Add ctypes calling convention that allows safe access of errno. | Thomas Heller | 2008-06-06 | 7 | -27/+330 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ctypes maintains thread-local storage that has space for two error numbers: private copies of the system 'errno' value and, on Windows, the system error code accessed by the GetLastError() and SetLastError() api functions. Foreign functions created with CDLL(..., use_errno=True), when called, swap the system 'errno' value with the private copy just before the actual function call, and swapped again immediately afterwards. The 'use_errno' parameter defaults to False, in this case 'ctypes_errno' is not touched. On Windows, foreign functions created with CDLL(..., use_last_error=True) or WinDLL(..., use_last_error=True) swap the system LastError value with the ctypes private copy. The values are also swapped immeditately before and after ctypes callback functions are called, if the callbacks are constructed using the new optional use_errno parameter set to True: CFUNCTYPE(..., use_errno=TRUE) or WINFUNCTYPE(..., use_errno=True). New ctypes functions are provided to access the ctypes private copies from Python: - ctypes.set_errno(value) and ctypes.set_last_error(value) store 'value' in the private copy and returns the previous value. - ctypes.get_errno() and ctypes.get_last_error() returns the current ctypes private copies value. | ||||
* | Markup fix. | Georg Brandl | 2008-06-06 | 1 | -2/+2 |
| | |||||
* | Aldo Cortesi confirmed this is still needed for OpenBSD 4.2 and 4.3. | Neal Norwitz | 2008-06-06 | 2 | -2/+2 |
| | | | | (I didn't regen configure, since I don't have a working autoconf.) | ||||
* | Grammar fix | Andrew M. Kuchling | 2008-06-05 | 1 | -2/+2 |
| | |||||
* | Add various items | Andrew M. Kuchling | 2008-06-05 | 1 | -8/+76 |
| | |||||
* | Document 'utc' parameter | Andrew M. Kuchling | 2008-06-05 | 1 | -3/+7 |
| | |||||
* | revert 63965 for preformance reasons | Benjamin Peterson | 2008-06-05 | 1 | -1/+1 |
| | |||||
* | use the more idomatic while True | Benjamin Peterson | 2008-06-05 | 1 | -1/+1 |
| | |||||
* | Backport from py3k: Implement the new buffer interface from pep3118 | Thomas Heller | 2008-06-05 | 1 | -0/+2 |
| | | | | for ctypes instances. Closes issue #2404. | ||||
* | Backport from py3k: Implement the new buffer interface from pep3118 | Thomas Heller | 2008-06-05 | 5 | -24/+455 |
| | | | | for ctypes instances. Closes issue #2404. | ||||
* | Fix preprocessor statement. | Thomas Heller | 2008-06-05 | 1 | -1/+2 |
| | |||||
* | MacOS X: Enable 4-way universal builds | Ronald Oussoren | 2008-06-05 | 52 | -202/+1124 |
| | | | | | | | | | | | | | | | | | | This patch adds a new configure argument on OSX: --with-universal-archs=[32-bit|64-bit|all] When used with the --enable-universalsdk option this controls which CPU architectures are includes in the framework. The default is 32-bit, meaning i386 and ppc. The most useful alternative is 'all', which includes all 4 CPU architectures supported by MacOS X (i386, ppc, x86_64 and ppc64). This includes limited support for the Carbon bindings in 64-bit mode as well, limited because (a) I haven't done extensive testing and (b) a large portion of the Carbon API's aren't available in 64-bit mode anyway. I've also duplicated a feature of Apple's build of python: setting the environment variable 'ARCHFLAGS' controls the '-arch' flags used for building extensions using distutils. | ||||
* | Fixed complex.__getnewargs__() to not emit another complex object. | Alexandre Vassalotti | 2008-06-04 | 2 | -1/+10 |
| |