Staging
v0.5.1
https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
482f312 Documented the new AST constructor. 10 June 2008, 20:52:19 UTC
3079be5 Fix a formatting error in the ast documentation. 10 June 2008, 20:37:02 UTC
99a3dce More reverting of r63675 per the mailing list discussions. This restores occurances of PyBytes_ in the code to their original PyString_ names. The bytesobject.c file will be renamed back to stringobject.c in a future checkin. 10 June 2008, 17:42:36 UTC
b67b53d Fixed test to reflect new filedispatcher semantics, as well as two NameErrors pointed out by Giampaolo. 10 June 2008, 15:58:19 UTC
1cec7aa NEWS entry for: Add an optional 'offset' parameter to byref, defaulting to zero. 10 June 2008, 14:07:12 UTC
dcea9a9 Add an optional 'offset' parameter to byref, defaultingto zero. 10 June 2008, 14:02:46 UTC
60977c7 more markup fix. 10 June 2008, 13:53:24 UTC
0099e72 fix markup 10 June 2008, 13:37:13 UTC
8550d69 #2536: fix itertools.permutations and itertools.combinations docstrings. 10 June 2008, 12:46:39 UTC
901c997 Issue 3048: Fixed sys.getsizeof for unicode objects. 10 June 2008, 10:10:31 UTC
0705bc0 Add Arnaud for his efforts on multi-arg set operations. 10 June 2008, 07:57:15 UTC
8509db5 Add the "ast" module, containing helpers to ease use of the "_ast" classes. 10 June 2008, 07:45:28 UTC
df7036d Add Gregor Lingl. 10 June 2008, 05:03:35 UTC
1a72d88 Applying updated patch from Issue 1736190, which addresses partial 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. 10 June 2008, 05:00:08 UTC
602d8db Added better pickling support to xrange objects. Cleaned up the unit test. 10 June 2008, 04:01:23 UTC
1f2f61a Issue 2582: Fix pickling of xrange objects. 10 June 2008, 03:34:53 UTC
5c4d3d0 Let set.intersection() and set.intersection_update() take multiple input arguments. 09 June 2008, 13:07:27 UTC
d623414 Unhappy buildbots. Revert 64052. Long doubles have unexpected effects on some builds. 09 June 2008, 11:24:47 UTC
7b1ed66 Address double-rounding scenarios by setting all variables to long doubles. 09 June 2008, 09:29:17 UTC
ee4bcad Let set.union() and set.update() accept multiple inputs. 09 June 2008, 08:33:37 UTC
ecbdd2e Issue #2138: Add math.factorial(). 09 June 2008, 06:54:45 UTC
dd96db6 This reverts r63675 based on the discussion in this thread: 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. 09 June 2008, 04:58:54 UTC
e98839a Issue3065: Fixed pickling of named tuples. Added tests. 09 June 2008, 01:28:30 UTC
f4fcdb6 warn about parameter tuple unpacking 08 June 2008, 23:00:00 UTC
d5efd20 Warn about assigning to Py3k keywords (True and False) 08 June 2008, 22:52:37 UTC
cbd7813 add an ast_warn helper function to make adding those Py3k warnings easier 08 June 2008, 15:45:23 UTC
3219df1 Argh, I read it wrong. Reverted 64036 and added a clarifying remark. 08 June 2008, 08:59:38 UTC
ebd662d #3028: tokenize passes the physical line. 08 June 2008, 08:54:40 UTC
2fe3ef8 change Py3k backquote warning to a SyntaxWarning and add a test 08 June 2008, 02:05:33 UTC
1f1174e capitalization nit 07 June 2008, 20:44:48 UTC
9cea511 Document the "st" API, to avoid confusion with the "new" AST. Add a note about using the new AST module. 07 June 2008, 18:17:37 UTC
5f27af0 X-ref to numbers module. 07 June 2008, 18:16:12 UTC
afd05da Backport docs for abc module to 2.6. 07 June 2008, 17:11:00 UTC
60fbf7f #3057: Fix the MutableMapping ABC to use the 2.6 dict interface. 07 June 2008, 17:03:28 UTC
3bed4ae Register IterableUserDict as a MutableMapping. 07 June 2008, 16:16:12 UTC
bf0610a Revert unwanted changes. 07 June 2008, 16:04:01 UTC
7be19aa Factor out docstring dedenting from inspect.getdoc() into inspect.cleandoc() to ease standalone use of the algorithm. 07 June 2008, 15:59:10 UTC
6a5a177 Finished bug #2451. Fixed the retrying part to make it more robust. 07 June 2008, 13:36:36 UTC
0144f27 Remove locking part of new buffer protocol. 06 June 2008, 22:39:47 UTC
711c9e9 Add long double check support to configure test. 06 June 2008, 22:33:21 UTC
ec2fe78 Issue 3501: Make heapq support both __le__ and __lt__. 06 June 2008, 21:47:51 UTC
0d236eb Fix build issue on OSX 10.4 06 June 2008, 21:31:33 UTC
3f67c43 Document the new ctypes features. It would be great if someone could review both sematics, markup, and spelling, and correct the versionadded and versionchanges markers. 06 June 2008, 20:05:15 UTC
fb0117e Add a reminder for the maintainer of whatsnew. 06 June 2008, 18:42:11 UTC
f89b04c Performance improvement: Use PyDict_Get/SetItem instead of PyDict_Get/SetItemString. 06 June 2008, 18:37:55 UTC
d82a9c1 Fix brackets. 06 June 2008, 10:43:43 UTC
fbb9c0b Issue #1798: Add ctypes calling convention that allows safe access of errno. 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. 06 June 2008, 08:33:46 UTC
d77554f Markup fix. 06 June 2008, 07:34:50 UTC
2a3e3d0 Aldo Cortesi confirmed this is still needed for OpenBSD 4.2 and 4.3. (I didn't regen configure, since I don't have a working autoconf.) 06 June 2008, 04:47:01 UTC
5e3e6ba Grammar fix 05 June 2008, 23:35:48 UTC
b5a40dd Add various items 05 June 2008, 23:35:31 UTC
6dd8cca Document 'utc' parameter 05 June 2008, 23:33:54 UTC
8456f64 revert 63965 for preformance reasons 05 June 2008, 23:02:33 UTC
30dc7b8 use the more idomatic while True 05 June 2008, 22:39:34 UTC
59475e9 Backport from py3k: Implement the new buffer interface from pep3118 for ctypes instances. Closes issue #2404. 05 June 2008, 17:52:59 UTC
2e75c45 Backport from py3k: Implement the new buffer interface from pep3118 for ctypes instances. Closes issue #2404. 05 June 2008, 17:51:15 UTC
259a566 Fix preprocessor statement. 05 June 2008, 17:29:38 UTC
5640ce2 MacOS X: Enable 4-way universal builds 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. 05 June 2008, 12:58:24 UTC
80af6da Fixed complex.__getnewargs__() to not emit another complex object. 04 June 2008, 20:41:44 UTC
d5bb921 Revert revisions 63943 and 63942 (Issue #1798: Add ctypes calling convention that allows safe access to errno) This code does not yet work on OS X (__thread storage specifier not available), so i needs a configure check plus a more portable solution. 04 June 2008, 20:22:05 UTC
8f22b88 Fix ctypes.set_errno for gcc. 04 June 2008, 19:19:00 UTC
e70c337 Issue #1798: Add ctypes calling convention that allows safe access to errno (and LastError, on Windows). ctypes maintains a module-global, but thread-local, variable that contains an error number; called 'ctypes_errno' for this discussion. This variable is a private copy of the systems 'errno' value; the copy is swapped with the 'errno' variable on several occasions. Foreign functions created with CDLL(..., use_errno=True), when called, swap the values 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. 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). Two new ctypes functions are provided to access the 'ctypes_errno' value from Python: - ctypes.set_errno(value) sets ctypes_errno to 'value', the previous ctypes_errno value is returned. - ctypes.get_errno() returns the current ctypes_errno value. --- On Windows, the same scheme is implemented for the error value which is managed by the GetLastError() and SetLastError() windows api calls. The ctypes functions are 'ctypes.set_last_error(value)' and 'ctypes.get_last_error()', the CDLL and WinDLL optional parameter is named 'use_last_error', defaults to False. --- On Windows, TlsSetValue and TlsGetValue calls are used to provide thread local storage for the variables; ctypes compiled with __GNUC__ uses __thread variables. 04 June 2008, 18:59:03 UTC
a2b34b8 Complete revision of new turtle module's docs. 04 June 2008, 11:17:26 UTC
8718459 Patch #1513695: New turtle module, with demos. 04 June 2008, 06:29:55 UTC
4ed3ed1 Fix Tkinter sequence passing. #2906. 03 June 2008, 10:23:15 UTC
c5393c6 make test_mutex more elegant 03 June 2008, 01:30:37 UTC
a2a89a8 Change all functions that expect one unicode character to accept a pair of surrogates in narrow builds. Fixes issue #1706460. 02 June 2008, 20:36:03 UTC
261b136 Fix the -x flag so that is does work. 02 June 2008, 20:07:46 UTC
de2d78a Fix misspelled sys.platform name and misspelled filename. 02 June 2008, 18:41:30 UTC
ffe62ed Patch #2125: Add GetInteger and GetString methods for msilib.Record objects. 02 June 2008, 08:40:06 UTC
137d824 Fix issue 2782: be less strict about the format string type in strftime. Accept unicode and anything else ParseTuple "s#" can deal with. This matches the time.strftime behavior. 02 June 2008, 04:05:52 UTC
8856dda Adds a Thread.getIdent() method to provide the _get_ident() value for any given threading.Thread object. feature request issue 2871. 01 June 2008, 23:48:47 UTC
1bd52d7 Make the _H #define's match the header file names. Fix comments to mention the correct type names. 01 June 2008, 22:57:47 UTC
ac19d85 Deprecate htmllib and sgmllib for 3.0. 01 June 2008, 21:19:14 UTC
681001e Generate pydoc's topic help from the reST docs via Sphinx' new text writer. 01 June 2008, 20:33:55 UTC
0b9aaa9 Spaces vs. tabs. 01 June 2008, 19:24:36 UTC
c49372b add a warning about bgen being removed 01 June 2008, 19:01:25 UTC
9359aff Fix test_sys. 01 June 2008, 17:11:09 UTC
12f8107 Fix test_descrtut. 01 June 2008, 17:05:56 UTC
7a6de8b Some style nits. Also clarify in the docstrings what __sizeof__ does. 01 June 2008, 16:42:16 UTC
4f2c998 Add plain text make target. 01 June 2008, 16:41:31 UTC
51df064 Issue #2898: Added sys.getsizeof() to retrieve size of objects in bytes. 01 June 2008, 16:16:17 UTC
6495c8d Typo: encoding -> codeset. 01 June 2008, 08:19:02 UTC
b12d857 Move sys_stream and sys_isatty out of the have-langinfo block. 01 June 2008, 08:06:17 UTC
9981589 New environment variable PYTHONIOENCODING. 01 June 2008, 07:20:46 UTC
7f7ca35 Fixed rowcount for SELECT statements. They're -1 now (again), for better DB-API 2.0 compliance. 31 May 2008, 21:33:27 UTC
8bfba67 #3005: add explaining sentence to easydialogs docs. 31 May 2008, 14:45:55 UTC
a7ac20f #3010: clarification about stdin/use_rawinput. 31 May 2008, 14:40:09 UTC
700a635 Added a note to [] that special forms & special chars lose their meaning and backrefs can't be used inside [] 31 May 2008, 13:05:34 UTC
5bd8833 Fix bdist_wininst --user-access-control for win2k 31 May 2008, 05:11:07 UTC
6d7702e Implement heapq in terms of less-than (to match list.sort()). 31 May 2008, 03:24:31 UTC
adff65b Update the locale module alias table. Closes #3011. 30 May 2008, 20:52:18 UTC
31694ae fix grammar 30 May 2008, 20:44:39 UTC
c5a235b Better quote with single quotes. 30 May 2008, 19:17:29 UTC
6bb7bcf getloadavg() is not available on Windows. 30 May 2008, 19:12:13 UTC
ef712d6 * Mark intermedidate computes values (hi, lo, yr) as volatile. * Expand comments. * Swap variable names in the sum_exact code so that x and y are consistently chosen as the larger and smaller magnitude values respectively. 30 May 2008, 18:20:50 UTC
dc13b79 Refactor and clean up str.format() code (and helpers) in advance of optimizations. 30 May 2008, 18:10:04 UTC
30fadc1 #2999: fix name of third parameter in unicode.replace()'s docstring. 30 May 2008, 07:54:16 UTC
3c2523c Issue 2903: Add __name__ in globals for namedtuple namespace. 30 May 2008, 07:16:53 UTC
d99bee7 Issue 2855: Fix obscure crasher by slowing down the entire module. Mimics what was done to dictionaries in r59223. 30 May 2008, 06:49:47 UTC
back to top