ffae306 | Armin Rigo | 12 June 2008, 09:50:58 UTC | Sounds obvious, but I didn't even realize that you can put non-string keys in type dictionaries without using this locals() hack. | 12 June 2008, 09:50:58 UTC |
5cc774e | Georg Brandl | 11 June 2008, 20:28:06 UTC | Can we agree to put dots at entry ends? Thanks. | 11 June 2008, 20:28:06 UTC |
6f7ae69 | Benjamin Peterson | 11 June 2008, 20:04:30 UTC | update ACKS and NEWs for multiprocessing | 11 June 2008, 20:04:30 UTC |
41a9e15 | Thomas Heller | 11 June 2008, 19:58:22 UTC | Markup fixes, thanks Georg for the help. Document ctypes.util.find_library() and ctypes.util.find_msvcrt(). | 11 June 2008, 19:58:22 UTC |
c0a296f | Thomas Heller | 11 June 2008, 19:10:22 UTC | Add versionadded marker to ctypes.c_longdouble. | 11 June 2008, 19:10:22 UTC |
89f4887 | Georg Brandl | 11 June 2008, 18:55:38 UTC | Add future_builtins.ascii(). | 11 June 2008, 18:55:38 UTC |
35b9020 | Thomas Heller | 11 June 2008, 18:40:51 UTC | Smaller doc fixes. | 11 June 2008, 18:40:51 UTC |
2e9675a | Thomas Heller | 11 June 2008, 18:10:43 UTC | More doc fixes. | 11 June 2008, 18:10:43 UTC |
13f7382 | Benjamin Peterson | 11 June 2008, 18:02:31 UTC | add old names back into __all__ | 11 June 2008, 18:02:31 UTC |
fe22a45 | Gregory P. Smith | 11 June 2008, 18:00:52 UTC | Correct an incorrect comment about our #include of stddef.h. (see Doug Evans' comment on python-dev 2008-06-10) | 11 June 2008, 18:00:52 UTC |
81567d2 | Thomas Heller | 11 June 2008, 17:58:19 UTC | Markup fixes, spelling corrections, and better wordings. Hopefully. | 11 June 2008, 17:58:19 UTC |
d987545 | Georg Brandl | 11 June 2008, 17:57:44 UTC | Clarify what ":errorhandler" refers to. | 11 June 2008, 17:57:44 UTC |
9cf1934 | Georg Brandl | 11 June 2008, 17:53:38 UTC | Fix typos. | 11 June 2008, 17:53:38 UTC |
f439560 | Benjamin Peterson | 11 June 2008, 17:50:00 UTC | add aliases to threading module | 11 June 2008, 17:50:00 UTC |
0fbcf69 | Benjamin Peterson | 11 June 2008, 17:27:50 UTC | give the threading API PEP 8 names | 11 June 2008, 17:27:50 UTC |
32c2e41 | Benjamin Peterson | 11 June 2008, 16:50:57 UTC | fix Windows building for multiprocessing | 11 June 2008, 16:50:57 UTC |
e29a103 | Raymond Hettinger | 11 June 2008, 13:14:50 UTC | Add test for heapq using both __lt__ and __le__. | 11 June 2008, 13:14:50 UTC |
a809c98 | Andrew M. Kuchling | 11 June 2008, 12:53:14 UTC | Note PEP 371 section | 11 June 2008, 12:53:14 UTC |
6fbfb48 | Raymond Hettinger | 11 June 2008, 12:39:09 UTC | Optimize previous checkin for heapq. | 11 June 2008, 12:39:09 UTC |
e605e4f | Benjamin Peterson | 11 June 2008, 12:26:31 UTC | fix import of multiprocessing by juggling imports | 11 June 2008, 12:26:31 UTC |
f0bc3cb | Raymond Hettinger | 11 June 2008, 12:06:49 UTC | Issue 3051: Let heapq work with either __lt__ or __le__. | 11 June 2008, 12:06:49 UTC |
4267be6 | Raymond Hettinger | 11 June 2008, 10:30:54 UTC | Multi-arg form for set.difference() and set.difference_update(). | 11 June 2008, 10:30:54 UTC |
9d53457 | Gregory P. Smith | 11 June 2008, 07:41:16 UTC | Merge in release25-maint r60793: Added checks for integer overflows, contributed by Google. Some are only available if asserts are left in the code, in cases where they can't be triggered from Python code. | 11 June 2008, 07:41:16 UTC |
73baefd | Thomas Heller | 11 June 2008, 07:10:43 UTC | Fix markup. Document the new 'offset' parameter for the 'ctypes.byref' function. | 11 June 2008, 07:10:43 UTC |
e0b9261 | Gregory P. Smith | 11 June 2008, 03:40:10 UTC | swap stringobject.h and bytesobject.h contents to make sense. PyString in stringobject and PyBytes defines in bytesobject. | 11 June 2008, 03:40:10 UTC |
190d56e | Benjamin Peterson | 11 June 2008, 02:40:25 UTC | add the multiprocessing package to fulfill PEP 371 | 11 June 2008, 02:40:25 UTC |
d529986 | Benjamin Peterson | 11 June 2008, 01:31:28 UTC | convert test_struct to a unittest thanks to Giampaolo Rodola I had to disable one test because it was functioning incorrectly, see #1530559 I also removed the debugging prints | 11 June 2008, 01:31:28 UTC |
610a93e | Raymond Hettinger | 11 June 2008, 00:44:47 UTC | Handle the case with zero arguments. | 11 June 2008, 00:44:47 UTC |
363070a | Raymond Hettinger | 11 June 2008, 00:28:51 UTC | Update numbers doc for the Integral simplification. | 11 June 2008, 00:28:51 UTC |
caea65e | Raymond Hettinger | 11 June 2008, 00:25:29 UTC | Mini-PEP: Simplifying numbers.py * Convert binary methods in Integral to mixin methods * Remove three-arg __pow__ as a required method * Make __int__ the root method instead of __long__. | 11 June 2008, 00:25:29 UTC |
31296c0 | Benjamin Peterson | 10 June 2008, 22:39:25 UTC | backport of 64096 | 10 June 2008, 22:39:25 UTC |
8e8de4a | Amaury Forgeot d'Arc | 10 June 2008, 21:37:15 UTC | Correct test_pydoc for win32 platforms, to account for normalized URLs: C:\temp => file:///C|temp/ | 10 June 2008, 21:37:15 UTC |
b7fea62 | Gregory P. Smith | 10 June 2008, 21:23:22 UTC | Rename bytesobject.c back to stringobject.c to keep with the PyString theme. Part of reverting most of r63675 per the mailing list discussion. | 10 June 2008, 21:23:22 UTC |
482f312 | Armin Ronacher | 10 June 2008, 20:52:19 UTC | Documented the new AST constructor. | 10 June 2008, 20:52:19 UTC |
3079be5 | Armin Ronacher | 10 June 2008, 20:37:02 UTC | Fix a formatting error in the ast documentation. | 10 June 2008, 20:37:02 UTC |
99a3dce | Gregory P. Smith | 10 June 2008, 17:42:36 UTC | 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 | Josiah Carlson | 10 June 2008, 15:58:19 UTC | Fixed test to reflect new filedispatcher semantics, as well as two NameErrors pointed out by Giampaolo. | 10 June 2008, 15:58:19 UTC |
1cec7aa | Thomas Heller | 10 June 2008, 14:07:12 UTC | NEWS entry for: Add an optional 'offset' parameter to byref, defaulting to zero. | 10 June 2008, 14:07:12 UTC |
dcea9a9 | Thomas Heller | 10 June 2008, 14:02:46 UTC | Add an optional 'offset' parameter to byref, defaultingto zero. | 10 June 2008, 14:02:46 UTC |
60977c7 | Georg Brandl | 10 June 2008, 13:53:24 UTC | more markup fix. | 10 June 2008, 13:53:24 UTC |
0099e72 | Benjamin Peterson | 10 June 2008, 13:37:13 UTC | fix markup | 10 June 2008, 13:37:13 UTC |
8550d69 | Georg Brandl | 10 June 2008, 12:46:39 UTC | #2536: fix itertools.permutations and itertools.combinations docstrings. | 10 June 2008, 12:46:39 UTC |
901c997 | Robert Schuppenies | 10 June 2008, 10:10:31 UTC | Issue 3048: Fixed sys.getsizeof for unicode objects. | 10 June 2008, 10:10:31 UTC |
0705bc0 | Raymond Hettinger | 10 June 2008, 07:57:15 UTC | Add Arnaud for his efforts on multi-arg set operations. | 10 June 2008, 07:57:15 UTC |
8509db5 | Georg Brandl | 10 June 2008, 07:45:28 UTC | Add the "ast" module, containing helpers to ease use of the "_ast" classes. | 10 June 2008, 07:45:28 UTC |
df7036d | Martin v. Löwis | 10 June 2008, 05:03:35 UTC | Add Gregor Lingl. | 10 June 2008, 05:03:35 UTC |
1a72d88 | Josiah Carlson | 10 June 2008, 05:00:08 UTC | 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 | Alexandre Vassalotti | 10 June 2008, 04:01:23 UTC | Added better pickling support to xrange objects. Cleaned up the unit test. | 10 June 2008, 04:01:23 UTC |
1f2f61a | Alexandre Vassalotti | 10 June 2008, 03:34:53 UTC | Issue 2582: Fix pickling of xrange objects. | 10 June 2008, 03:34:53 UTC |
5c4d3d0 | Raymond Hettinger | 09 June 2008, 13:07:27 UTC | Let set.intersection() and set.intersection_update() take multiple input arguments. | 09 June 2008, 13:07:27 UTC |
d623414 | Raymond Hettinger | 09 June 2008, 11:24:47 UTC | Unhappy buildbots. Revert 64052. Long doubles have unexpected effects on some builds. | 09 June 2008, 11:24:47 UTC |
7b1ed66 | Raymond Hettinger | 09 June 2008, 09:29:17 UTC | Address double-rounding scenarios by setting all variables to long doubles. | 09 June 2008, 09:29:17 UTC |
ee4bcad | Raymond Hettinger | 09 June 2008, 08:33:37 UTC | Let set.union() and set.update() accept multiple inputs. | 09 June 2008, 08:33:37 UTC |
ecbdd2e | Raymond Hettinger | 09 June 2008, 06:54:45 UTC | Issue #2138: Add math.factorial(). | 09 June 2008, 06:54:45 UTC |
dd96db6 | Gregory P. Smith | 09 June 2008, 04:58:54 UTC | 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 | Raymond Hettinger | 09 June 2008, 01:28:30 UTC | Issue3065: Fixed pickling of named tuples. Added tests. | 09 June 2008, 01:28:30 UTC |
f4fcdb6 | Benjamin Peterson | 08 June 2008, 23:00:00 UTC | warn about parameter tuple unpacking | 08 June 2008, 23:00:00 UTC |
d5efd20 | Benjamin Peterson | 08 June 2008, 22:52:37 UTC | Warn about assigning to Py3k keywords (True and False) | 08 June 2008, 22:52:37 UTC |
cbd7813 | Benjamin Peterson | 08 June 2008, 15:45:23 UTC | add an ast_warn helper function to make adding those Py3k warnings easier | 08 June 2008, 15:45:23 UTC |
3219df1 | Georg Brandl | 08 June 2008, 08:59:38 UTC | Argh, I read it wrong. Reverted 64036 and added a clarifying remark. | 08 June 2008, 08:59:38 UTC |
ebd662d | Georg Brandl | 08 June 2008, 08:54:40 UTC | #3028: tokenize passes the physical line. | 08 June 2008, 08:54:40 UTC |
2fe3ef8 | Benjamin Peterson | 08 June 2008, 02:05:33 UTC | change Py3k backquote warning to a SyntaxWarning and add a test | 08 June 2008, 02:05:33 UTC |
1f1174e | Benjamin Peterson | 07 June 2008, 20:44:48 UTC | capitalization nit | 07 June 2008, 20:44:48 UTC |
9cea511 | Georg Brandl | 07 June 2008, 18:17:37 UTC | 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 | Georg Brandl | 07 June 2008, 18:16:12 UTC | X-ref to numbers module. | 07 June 2008, 18:16:12 UTC |
afd05da | Georg Brandl | 07 June 2008, 17:11:00 UTC | Backport docs for abc module to 2.6. | 07 June 2008, 17:11:00 UTC |
60fbf7f | Georg Brandl | 07 June 2008, 17:03:28 UTC | #3057: Fix the MutableMapping ABC to use the 2.6 dict interface. | 07 June 2008, 17:03:28 UTC |
3bed4ae | Georg Brandl | 07 June 2008, 16:16:12 UTC | Register IterableUserDict as a MutableMapping. | 07 June 2008, 16:16:12 UTC |
bf0610a | Georg Brandl | 07 June 2008, 16:04:01 UTC | Revert unwanted changes. | 07 June 2008, 16:04:01 UTC |
7be19aa | Georg Brandl | 07 June 2008, 15:59:10 UTC | 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 | Facundo Batista | 07 June 2008, 13:36:36 UTC | Finished bug #2451. Fixed the retrying part to make it more robust. | 07 June 2008, 13:36:36 UTC |
0144f27 | Travis E. Oliphant | 06 June 2008, 22:39:47 UTC | Remove locking part of new buffer protocol. | 06 June 2008, 22:39:47 UTC |
711c9e9 | Travis E. Oliphant | 06 June 2008, 22:33:21 UTC | Add long double check support to configure test. | 06 June 2008, 22:33:21 UTC |
ec2fe78 | Raymond Hettinger | 06 June 2008, 21:47:51 UTC | Issue 3501: Make heapq support both __le__ and __lt__. | 06 June 2008, 21:47:51 UTC |
0d236eb | Ronald Oussoren | 06 June 2008, 21:31:33 UTC | Fix build issue on OSX 10.4 | 06 June 2008, 21:31:33 UTC |
3f67c43 | Thomas Heller | 06 June 2008, 20:05:15 UTC | 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 | Thomas Heller | 06 June 2008, 18:42:11 UTC | Add a reminder for the maintainer of whatsnew. | 06 June 2008, 18:42:11 UTC |
f89b04c | Thomas Heller | 06 June 2008, 18:37:55 UTC | Performance improvement: Use PyDict_Get/SetItem instead of PyDict_Get/SetItemString. | 06 June 2008, 18:37:55 UTC |
d82a9c1 | Georg Brandl | 06 June 2008, 10:43:43 UTC | Fix brackets. | 06 June 2008, 10:43:43 UTC |
fbb9c0b | Thomas Heller | 06 June 2008, 08:33:46 UTC | 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 | Georg Brandl | 06 June 2008, 07:34:50 UTC | Markup fix. | 06 June 2008, 07:34:50 UTC |
2a3e3d0 | Neal Norwitz | 06 June 2008, 04:47:01 UTC | 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 | Andrew M. Kuchling | 05 June 2008, 23:35:48 UTC | Grammar fix | 05 June 2008, 23:35:48 UTC |
b5a40dd | Andrew M. Kuchling | 05 June 2008, 23:35:31 UTC | Add various items | 05 June 2008, 23:35:31 UTC |
6dd8cca | Andrew M. Kuchling | 05 June 2008, 23:33:54 UTC | Document 'utc' parameter | 05 June 2008, 23:33:54 UTC |
8456f64 | Benjamin Peterson | 05 June 2008, 23:02:33 UTC | revert 63965 for preformance reasons | 05 June 2008, 23:02:33 UTC |
30dc7b8 | Benjamin Peterson | 05 June 2008, 22:39:34 UTC | use the more idomatic while True | 05 June 2008, 22:39:34 UTC |
59475e9 | Thomas Heller | 05 June 2008, 17:52:59 UTC | Backport from py3k: Implement the new buffer interface from pep3118 for ctypes instances. Closes issue #2404. | 05 June 2008, 17:52:59 UTC |
2e75c45 | Thomas Heller | 05 June 2008, 17:51:15 UTC | Backport from py3k: Implement the new buffer interface from pep3118 for ctypes instances. Closes issue #2404. | 05 June 2008, 17:51:15 UTC |
259a566 | Thomas Heller | 05 June 2008, 17:29:38 UTC | Fix preprocessor statement. | 05 June 2008, 17:29:38 UTC |
5640ce2 | Ronald Oussoren | 05 June 2008, 12:58:24 UTC | 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 | Alexandre Vassalotti | 04 June 2008, 20:41:44 UTC | Fixed complex.__getnewargs__() to not emit another complex object. | 04 June 2008, 20:41:44 UTC |
d5bb921 | Thomas Heller | 04 June 2008, 20:22:05 UTC | 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 | Thomas Heller | 04 June 2008, 19:19:00 UTC | Fix ctypes.set_errno for gcc. | 04 June 2008, 19:19:00 UTC |
e70c337 | Thomas Heller | 04 June 2008, 18:59:03 UTC | 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 | Georg Brandl | 04 June 2008, 11:17:26 UTC | Complete revision of new turtle module's docs. | 04 June 2008, 11:17:26 UTC |
8718459 | Martin v. Löwis | 04 June 2008, 06:29:55 UTC | Patch #1513695: New turtle module, with demos. | 04 June 2008, 06:29:55 UTC |
4ed3ed1 | Georg Brandl | 03 June 2008, 10:23:15 UTC | Fix Tkinter sequence passing. #2906. | 03 June 2008, 10:23:15 UTC |
c5393c6 | Benjamin Peterson | 03 June 2008, 01:30:37 UTC | make test_mutex more elegant | 03 June 2008, 01:30:37 UTC |
a2a89a8 | Walter Dörwald | 02 June 2008, 20:36:03 UTC | 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 |