summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issue 3048: Fixed sys.getsizeof for unicode objects.Robert Schuppenies2008-06-102-7/+52
|
* Add Arnaud for his efforts on multi-arg set operations.Raymond Hettinger2008-06-101-0/+1
|
* Add the "ast" module, containing helpers to ease use of the "_ast" classes.Georg Brandl2008-06-108-95/+662
|
* Add Gregor Lingl.Martin v. Löwis2008-06-101-0/+3
|
* Applying updated patch from Issue 1736190, which addresses partialJosiah Carlson2008-06-105-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 Vassalotti2008-06-102-12/+13
| | | | Cleaned up the unit test.
* Issue 2582: Fix pickling of xrange objects.Alexandre Vassalotti2008-06-102-0/+21
|
* Let set.intersection() and set.intersection_update() take multiple input ↵Raymond Hettinger2008-06-094-8/+54
| | | | arguments.
* Unhappy buildbots. Revert 64052. Long doubles have unexpected effects on ↵Raymond Hettinger2008-06-091-20/+24
| | | | some builds.
* Address double-rounding scenarios by setting all variables to long doubles.Raymond Hettinger2008-06-091-24/+19
|
* Let set.union() and set.update() accept multiple inputs.Raymond Hettinger2008-06-094-19/+57
|
* Issue #2138: Add math.factorial().Raymond Hettinger2008-06-094-0/+71
|
* This reverts r63675 based on the discussion in this thread:Gregory P. Smith2008-06-09173-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 Hettinger2008-06-093-2/+26
|
* warn about parameter tuple unpackingBenjamin Peterson2008-06-082-0/+9
|
* Warn about assigning to Py3k keywords (True and False)Benjamin Peterson2008-06-082-33/+76
|
* add an ast_warn helper function to make adding those Py3k warnings easierBenjamin Peterson2008-06-081-7/+15
|
* Argh, I read it wrong. Reverted 64036 and added a clarifying remark.Georg Brandl2008-06-081-2/+2
|
* #3028: tokenize passes the physical line.Georg Brandl2008-06-081-10/+9
|
* change Py3k backquote warning to a SyntaxWarning and add a testBenjamin Peterson2008-06-082-1/+7
|
* capitalization nitBenjamin Peterson2008-06-071-1/+1
|
* Document the "st" API, to avoid confusion with the "new" AST.Georg Brandl2008-06-071-78/+89
| | | | Add a note about using the new AST module.
* X-ref to numbers module.Georg Brandl2008-06-071-3/+3
|
* Backport docs for abc module to 2.6.Georg Brandl2008-06-072-0/+196
|
* #3057: Fix the MutableMapping ABC to use the 2.6 dict interface.Georg Brandl2008-06-071-9/+14
|
* Register IterableUserDict as a MutableMapping.Georg Brandl2008-06-071-0/+4
|
* Revert unwanted changes.Georg Brandl2008-06-073-101/+95
|
* Factor out docstring dedenting from inspect.getdoc() into inspect.cleandoc()Georg Brandl2008-06-077-100/+125
| | | | to ease standalone use of the algorithm.
* Finished bug #2451. Fixed the retrying part to make itFacundo Batista2008-06-071-8/+16
| | | | more robust.
* Remove locking part of new buffer protocol.Travis E. Oliphant2008-06-063-22/+0
|
* Add long double check support to configure test.Travis E. Oliphant2008-06-061-0/+11
|
* Issue 3501: Make heapq support both __le__ and __lt__.Raymond Hettinger2008-06-061-11/+28
|
* Fix build issue on OSX 10.4Ronald Oussoren2008-06-066-8/+80
|
* Document the new ctypes features.Thomas Heller2008-06-061-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 Heller2008-06-061-0/+4
|
* Performance improvement: Use PyDict_Get/SetItem instead ofThomas Heller2008-06-061-3/+9
| | | | PyDict_Get/SetItemString.
* Fix brackets.Georg Brandl2008-06-061-2/+2
|
* Issue #1798: Add ctypes calling convention that allows safe access of errno.Thomas Heller2008-06-067-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 Brandl2008-06-061-2/+2
|
* Aldo Cortesi confirmed this is still needed for OpenBSD 4.2 and 4.3.Neal Norwitz2008-06-062-2/+2
| | | | (I didn't regen configure, since I don't have a working autoconf.)
* Grammar fixAndrew M. Kuchling2008-06-051-2/+2
|
* Add various itemsAndrew M. Kuchling2008-06-051-8/+76
|
* Document 'utc' parameterAndrew M. Kuchling2008-06-051-3/+7
|
* revert 63965 for preformance reasonsBenjamin Peterson2008-06-051-1/+1
|
* use the more idomatic while TrueBenjamin Peterson2008-06-051-1/+1
|
* Backport from py3k: Implement the new buffer interface from pep3118Thomas Heller2008-06-051-0/+2
| | | | for ctypes instances. Closes issue #2404.
* Backport from py3k: Implement the new buffer interface from pep3118Thomas Heller2008-06-055-24/+455
| | | | for ctypes instances. Closes issue #2404.
* Fix preprocessor statement.Thomas Heller2008-06-051-1/+2
|
* MacOS X: Enable 4-way universal buildsRonald Oussoren2008-06-0552-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 Vassalotti2008-06-042-1/+10
|