]>
granicus.if.org Git - python/log
Richard Oudkerk [Tue, 14 Aug 2012 11:51:14 +0000 (12:51 +0100)]
Merge 3.2
Richard Oudkerk [Tue, 14 Aug 2012 10:41:32 +0000 (11:41 +0100)]
Issue #15646: Prevent equivalent of a fork bomb when using multiprocessing
on Windows without the "if __name__ == '__main__'" idiom.
Georg Brandl [Tue, 14 Aug 2012 07:45:28 +0000 (09:45 +0200)]
Review of signature docs.
Georg Brandl [Tue, 14 Aug 2012 07:40:26 +0000 (09:40 +0200)]
merge with 3.2
Georg Brandl [Tue, 14 Aug 2012 07:39:07 +0000 (09:39 +0200)]
Restore original line lengths.
Eli Bendersky [Tue, 14 Aug 2012 04:20:06 +0000 (07:20 +0300)]
Add Daniel Ellis to Misc/ACKS
Eli Bendersky [Tue, 14 Aug 2012 04:19:33 +0000 (07:19 +0300)]
Issue #15586: add some examples to ElementTree documentation. Patch by Daniel Ellis.
Brian Curtin [Mon, 13 Aug 2012 22:20:00 +0000 (17:20 -0500)]
errant merge problem committed
Brian Curtin [Mon, 13 Aug 2012 22:12:02 +0000 (17:12 -0500)]
Merge 3.2
Brian Curtin [Mon, 13 Aug 2012 22:05:57 +0000 (17:05 -0500)]
Fix #15496. Add directory removal helpers to make Windows tests more reliable. Patch by Jeremy Kloth
Andrew Svetlov [Mon, 13 Aug 2012 20:23:02 +0000 (23:23 +0300)]
Issue #15497: Correct characters in TextWrapper.replace_whitespace docs.
Patch by Chris Jerdonek.
Andrew Svetlov [Mon, 13 Aug 2012 20:22:23 +0000 (23:22 +0300)]
Issue #15497: Correct characters in TextWrapper.replace_whitespace docs.
Patch by Chris Jerdonek.
Andrew Svetlov [Mon, 13 Aug 2012 19:19:01 +0000 (22:19 +0300)]
Push importlib ABC hierarchy chart.
Andrew Svetlov [Mon, 13 Aug 2012 19:11:14 +0000 (22:11 +0300)]
Issue #15561: Update subprocess docs to reference io.TextIOWrapper.
Patch by Chris Jerdonek.
Andrew Svetlov [Mon, 13 Aug 2012 19:09:04 +0000 (22:09 +0300)]
Issue #15561: Update subprocess docs to reference io.TextIOWrapper.
Patch by Chris Jerdonek.
Andrew Svetlov [Mon, 13 Aug 2012 18:27:56 +0000 (21:27 +0300)]
Mention PEP 362: Function Signature Object in whatsnew.
Andrew Svetlov [Mon, 13 Aug 2012 15:23:54 +0000 (18:23 +0300)]
Minor update of docs for inspect module.
Andrew Svetlov [Mon, 13 Aug 2012 14:10:28 +0000 (17:10 +0300)]
Issue #15151: PEP 362 — document signature and related classes for inspect.py
Initial patch by Yury Selivanov
Andrew Svetlov [Mon, 13 Aug 2012 13:09:54 +0000 (16:09 +0300)]
Issue #15571: comment the fact what python impl of TextIOWrapper always works in write_throuth mode
Andrew Svetlov [Mon, 13 Aug 2012 09:59:00 +0000 (12:59 +0300)]
Issue #15624: clarify newline documentation for open and io.TextIOWrapper
Thanks to Chris Jerdonek
Andrew Svetlov [Mon, 13 Aug 2012 09:58:02 +0000 (12:58 +0300)]
Issue #15624: clarify newline documentation for open and io.TextIOWrapper
Thanks to Chris Jerdonek
Senthil Kumaran [Sun, 12 Aug 2012 19:13:38 +0000 (12:13 -0700)]
merge from 3.2
Issue #15630: Add an example for "continue" statement in the tutorial. Patch by
Daniel Ellis.
Senthil Kumaran [Sun, 12 Aug 2012 19:01:47 +0000 (12:01 -0700)]
Issue #15630: Add an example for "continue" statement in the tutorial. Patch by
Daniel Ellis.
Sandro Tosi [Sun, 12 Aug 2012 15:34:13 +0000 (17:34 +0200)]
merge with 3.2
Sandro Tosi [Sun, 12 Aug 2012 15:34:00 +0000 (17:34 +0200)]
add usage example from cli; thanks to Christian Clauss from docs@
Georg Brandl [Sun, 12 Aug 2012 14:58:55 +0000 (16:58 +0200)]
Post-release updates.
Sandro Tosi [Sun, 12 Aug 2012 13:35:43 +0000 (15:35 +0200)]
merge with 3.2
Sandro Tosi [Sun, 12 Aug 2012 13:35:25 +0000 (15:35 +0200)]
escape '\'; thanks to Steve Holden from docs@
Sandro Tosi [Sun, 12 Aug 2012 13:12:32 +0000 (15:12 +0200)]
merge with 3.2
Sandro Tosi [Sun, 12 Aug 2012 13:12:15 +0000 (15:12 +0200)]
it's getstatus() not setstatus(); thanks to Shaddi Hasan from docs@
Andrew Svetlov [Sun, 12 Aug 2012 12:16:42 +0000 (15:16 +0300)]
update doctests
Andrew Svetlov [Sun, 12 Aug 2012 11:49:59 +0000 (14:49 +0300)]
fix doctest for email.header docs
Sandro Tosi [Sun, 12 Aug 2012 10:35:31 +0000 (12:35 +0200)]
merge with 3.2
Sandro Tosi [Sun, 12 Aug 2012 10:35:14 +0000 (12:35 +0200)]
add missing quote in splitlines() example; thanks to Yevgen Yampolskiy from docs@
Sandro Tosi [Sun, 12 Aug 2012 09:02:17 +0000 (11:02 +0200)]
merge with 3.2
Sandro Tosi [Sun, 12 Aug 2012 09:02:03 +0000 (11:02 +0200)]
update Geany URL; thanks to Karl Tarbet from docs@
Sandro Tosi [Sun, 12 Aug 2012 08:49:40 +0000 (10:49 +0200)]
merge with 3.2
Sandro Tosi [Sun, 12 Aug 2012 08:49:26 +0000 (10:49 +0200)]
add missing parenthesis to 'action' argparse doc; thanks to kishkin from docs@
Sandro Tosi [Sun, 12 Aug 2012 08:37:23 +0000 (10:37 +0200)]
update CodeTools link; thanks to Robert Kern from docs@
Sandro Tosi [Sun, 12 Aug 2012 08:25:10 +0000 (10:25 +0200)]
merge with 3.2
Sandro Tosi [Sun, 12 Aug 2012 08:24:50 +0000 (10:24 +0200)]
zip() returns an iterator, make a list() of it; thanks to Martin from docs@
Brett Cannon [Sat, 11 Aug 2012 23:43:29 +0000 (19:43 -0400)]
Don't overwrite a __path__ value from extension modules if already
set.
Brett Cannon [Sat, 11 Aug 2012 23:41:27 +0000 (19:41 -0400)]
Minor doc formatting cleanup.
Andrew Svetlov [Sat, 11 Aug 2012 18:14:08 +0000 (21:14 +0300)]
Issue #15527: fix docs, remove double parens by changing markup.
Patch by Serhiy Storchaka.
Antoine Pitrou [Sat, 11 Aug 2012 14:54:27 +0000 (16:54 +0200)]
Issue #15444: Use proper spelling for non-ASCII contributor names.
Patch by Serhiy Storchaka.
Antoine Pitrou [Sat, 11 Aug 2012 14:51:50 +0000 (16:51 +0200)]
Issue #15444: Use proper spelling for non-ASCII contributor names.
Patch by Serhiy Storchaka.
Georg Brandl [Sat, 11 Aug 2012 09:16:26 +0000 (11:16 +0200)]
Merge with 3.2.
Georg Brandl [Sat, 11 Aug 2012 09:16:18 +0000 (11:16 +0200)]
Remove unused variables in parsetok().
Georg Brandl [Sat, 11 Aug 2012 09:02:23 +0000 (11:02 +0200)]
Merge with 3.2.
Georg Brandl [Sat, 11 Aug 2012 09:02:14 +0000 (11:02 +0200)]
Revert
961a15aff2a6 , this is already checked in another way.
Georg Brandl [Sat, 11 Aug 2012 08:59:45 +0000 (10:59 +0200)]
Merge with 3.2.
Georg Brandl [Sat, 11 Aug 2012 08:59:23 +0000 (10:59 +0200)]
Closes #15620: check for presence of readline.clear_history(), which is apparently missing on some readline versions, before calling it in the test.
Georg Brandl [Sat, 11 Aug 2012 06:53:23 +0000 (08:53 +0200)]
Added tag v3.3.0b2 for changeset
4972a8f1b2aa
Georg Brandl [Sat, 11 Aug 2012 06:49:20 +0000 (08:49 +0200)]
Bump to 3.3b2.
Georg Brandl [Sat, 11 Aug 2012 06:43:59 +0000 (08:43 +0200)]
Fix markup errors and update pydoc topics.
Meador Inge [Sat, 11 Aug 2012 04:21:39 +0000 (23:21 -0500)]
Issue #15424: Add a __sizeof__ implementation for array objects.
Patch by Ludwig Hähne.
Meador Inge [Sat, 11 Aug 2012 03:35:45 +0000 (22:35 -0500)]
Issue #15424: Add a __sizeof__ implementation for array objects.
Patch by Ludwig Hähne.
Philip Jenvey [Fri, 10 Aug 2012 23:21:35 +0000 (16:21 -0700)]
fix docstring wording
Brett Cannon [Fri, 10 Aug 2012 22:55:08 +0000 (18:55 -0400)]
Issue #15610: The PyImport_ImportModuleEx macro now calls
PyImport_ImportModuleLevel() with a 'level' of 0 instead of -1 as the
latter is no longer a valid value.
Also added a versionchanged note for PyImport_ImportModuleLevel() just
in case people don't make the connection between changes to
__import__() and this C function.
Brett Cannon [Fri, 10 Aug 2012 21:41:23 +0000 (17:41 -0400)]
Issue #15502: Refactor some code.
Senthil Kumaran [Fri, 10 Aug 2012 20:53:45 +0000 (13:53 -0700)]
Fix issue #15607: Update the print builtin function docstring with the new flush keyword.
Patch contributed by Daniel Ellis.
Philip Jenvey [Fri, 10 Aug 2012 18:53:54 +0000 (11:53 -0700)]
update docstring per the extension package fix, refactor
Brett Cannon [Fri, 10 Aug 2012 17:47:54 +0000 (13:47 -0400)]
Issue #15576: Allow extension modules to be a package's __init__
module again. Also took the opportunity to stop accidentally exporting
_imp.extension_suffixes() as public.
Brett Cannon [Fri, 10 Aug 2012 16:21:12 +0000 (12:21 -0400)]
Issue #15502: Finish bringing importlib.abc in line with the current
state of the import system. Also make importlib.invalidate_caches()
work with sys.meta_path instead of sys.path_importer_cache to
completely separate the path-based import system from the overall
import system.
Patch by Eric Snow.
Victor Stinner [Thu, 9 Aug 2012 19:38:23 +0000 (21:38 +0200)]
Remove now unused IntOrLongToString type
Andrew Svetlov [Thu, 9 Aug 2012 18:51:21 +0000 (21:51 +0300)]
Issue #15601: fix tkinter test_variables failure with OS X Aqua Tk 8.4
Andrew Svetlov [Thu, 9 Aug 2012 18:29:16 +0000 (21:29 +0300)]
fix docs for c-api memory functions
Andrew Svetlov [Thu, 9 Aug 2012 18:26:34 +0000 (21:26 +0300)]
fix docs for c-api memory functions
Andrew Svetlov [Thu, 9 Aug 2012 12:27:45 +0000 (15:27 +0300)]
merge heads
Andrew Svetlov [Thu, 9 Aug 2012 12:20:45 +0000 (15:20 +0300)]
Issue #15501: Document exception classes in subprocess module.
Initial patch by Anton Barkovsky.
Andrew Svetlov [Thu, 9 Aug 2012 12:11:45 +0000 (15:11 +0300)]
Issue #15501: Document exception classes in subprocess module.
Initial patch by Anton Barkovsky.
Andrew Svetlov [Thu, 9 Aug 2012 10:25:32 +0000 (13:25 +0300)]
Fix documentation for inspect module to pass doctest
Eli Bendersky [Thu, 9 Aug 2012 05:20:20 +0000 (08:20 +0300)]
Add description of major changes in xml.etree.ElementTree to whatsnew/3.3
Ned Deily [Thu, 9 Aug 2012 04:03:02 +0000 (21:03 -0700)]
Issue #14992: merge from 3.2
Ned Deily [Thu, 9 Aug 2012 03:57:24 +0000 (20:57 -0700)]
Issue #14992: Prevent test_os test_exist_ok_s_isgid_directory test case
failure on OS X built with 10.4 ABI.
Victor Stinner [Thu, 9 Aug 2012 00:43:41 +0000 (02:43 +0200)]
faulthandler: fix the handler of user signals
Restore the errno before calling the previous signal handler, and not after.
Benjamin Peterson [Thu, 9 Aug 2012 00:22:57 +0000 (17:22 -0700)]
merge heads
Benjamin Peterson [Thu, 9 Aug 2012 00:22:50 +0000 (17:22 -0700)]
use char instead of int to please T_BOOL (closes #15597)
Victor Stinner [Wed, 8 Aug 2012 22:43:56 +0000 (00:43 +0200)]
Issue #13072: Fix test_array for installation without the ctypes module
Larry Hastings [Wed, 8 Aug 2012 21:52:22 +0000 (14:52 -0700)]
Issue #15589: Ensure double-alignment for brute-force capi argument parser test
that occasionally uses doubles.
Victor Stinner [Wed, 8 Aug 2012 20:37:26 +0000 (22:37 +0200)]
regrtest: give more information when a child process fails with an error
different than KeyboardInterrupt
Victor Stinner [Wed, 8 Aug 2012 18:19:37 +0000 (20:19 +0200)]
Issue #13072: Ooops, now fix test_array for Linux with 32-bit wchar_t...
Victor Stinner [Wed, 8 Aug 2012 18:09:21 +0000 (20:09 +0200)]
Issue #13072: Fix test_array for Windows with 16-bit wchar_t
doko@ubuntu.com [Wed, 8 Aug 2012 10:15:55 +0000 (12:15 +0200)]
- Issue #11715: Fix multiarch detection without having Debian development
tools (dpkg-dev) installed.
Ned Deily [Tue, 7 Aug 2012 10:10:57 +0000 (03:10 -0700)]
Issue #15560: Ensure consistent sqlite3 behavior and feature availability
by building a local copy of libsqlite3 with OS X installers rather than
depending on the wide range of versions supplied with various OS X releases.
Benjamin Peterson [Tue, 7 Aug 2012 00:53:19 +0000 (17:53 -0700)]
merge heads
Benjamin Peterson [Tue, 7 Aug 2012 00:53:09 +0000 (17:53 -0700)]
fix yield from return value on custom iterators (closes #15568)
Brett Cannon [Mon, 6 Aug 2012 21:19:22 +0000 (17:19 -0400)]
Issue #15163: Pydoc shouldn't show __loader__ as a part of a module's
data.
Also alphabetized the attributes in the blacklist to make it easier to
detect changes.
Initial patch by Éric Araujo.
Brett Cannon [Mon, 6 Aug 2012 20:34:44 +0000 (16:34 -0400)]
Issue #15471: Don't use mutable object as default values for the
parameters of importlib.__import__().
R David Murray [Mon, 6 Aug 2012 20:08:40 +0000 (16:08 -0400)]
Merge #15554: clarify splitlines/split differences.
Patch by Chris Jerdonek.
R David Murray [Mon, 6 Aug 2012 20:08:09 +0000 (16:08 -0400)]
#15554: clarify splitlines/split differences.
Patch by Chris Jerdonek.
Ned Deily [Mon, 6 Aug 2012 13:40:48 +0000 (06:40 -0700)]
Issue #15037: Build OS X installers with local copy of ncurses 5.9 libraries
to avoid curses.unget_wch bug present in older versions of ncurses such as
those shipped with OS X.
Ned Deily [Mon, 6 Aug 2012 13:34:00 +0000 (06:34 -0700)]
OS X installer cleanups:
- Remove OS X installer and Mac/Makefile dependencies on /Developer which
no longer exists with Xcode 4; the referenced tools have been installed
into the usr/bin tool root since Xcode 3.
- Support adding the SDK usr/bin tool root to the installer's PATH via the
SDK_TOOLS_BIN environment variable.
Brett Cannon [Mon, 6 Aug 2012 00:49:53 +0000 (20:49 -0400)]
Issue #15482: Merge 78449:
3fe01f7520e2 with a minor clarification.
Brett Cannon [Mon, 6 Aug 2012 00:46:25 +0000 (20:46 -0400)]
Issue #15482: Properly document the default 'level' parameter for
__import__().
To help explain why the -1 default value is typically not seen, a note
about how import statements only use values of >= 0 is also noted.
Brett Cannon [Sun, 5 Aug 2012 23:24:57 +0000 (19:24 -0400)]
Fix a spelling mistake in a comment.
Victor Stinner [Sun, 5 Aug 2012 22:46:05 +0000 (00:46 +0200)]
Close #13072: Restore code before the PEP 393 for the array module
'u' format of the array module uses again Py_UNICODE type for backward
compatibility with Python 3.2.
The only change from Python 3.2 is that PyUnicode_AsUnicode() result is now
checked for NULL value.
Ned Deily [Sun, 5 Aug 2012 22:16:04 +0000 (15:16 -0700)]
merge heads
Ned Deily [Sun, 5 Aug 2012 22:13:33 +0000 (15:13 -0700)]
Issue #15560: Fix building _sqlite3 extension on OS X with an SDK.
Ned Deily [Sun, 5 Aug 2012 22:12:20 +0000 (15:12 -0700)]
Issue #15560: null merge