]>
granicus.if.org Git - python/log
Benjamin Peterson [Thu, 29 Dec 2011 18:04:28 +0000 (12:04 -0600)]
merge heads
Benjamin Peterson [Thu, 29 Dec 2011 18:03:55 +0000 (12:03 -0600)]
run AST toolchain on python3
Antoine Pitrou [Thu, 29 Dec 2011 17:54:15 +0000 (18:54 +0100)]
Issue #12715: Add an optional symlinks argument to shutil functions (copyfile, copymode, copystat, copy, copy2).
When that parameter is true, symlinks aren't dereferenced and the operation
instead acts on the symlink itself (or creates one, if relevant).
Patch by Hynek Schlawack.
Benjamin Peterson [Wed, 28 Dec 2011 18:01:51 +0000 (12:01 -0600)]
merge heads
Benjamin Peterson [Wed, 28 Dec 2011 18:01:31 +0000 (12:01 -0600)]
fix weird indentation
Jason R. Coombs [Wed, 28 Dec 2011 15:45:08 +0000 (10:45 -0500)]
Limit test scope to those platforms that can save the target filenames. Reference #11638.
Benjamin Peterson [Tue, 27 Dec 2011 22:52:20 +0000 (16:52 -0600)]
don't fail if CLOEXEC doesn't exist
Benjamin Peterson [Tue, 27 Dec 2011 22:01:21 +0000 (16:01 -0600)]
try to always use the old API
Benjamin Peterson [Tue, 27 Dec 2011 21:36:32 +0000 (15:36 -0600)]
fix for old kernels which don't have epoll_create1
Benjamin Peterson [Tue, 27 Dec 2011 21:17:15 +0000 (15:17 -0600)]
merge 3.2
Benjamin Peterson [Tue, 27 Dec 2011 21:16:34 +0000 (15:16 -0600)]
propgate error in other conditions
Benjamin Peterson [Tue, 27 Dec 2011 21:15:41 +0000 (15:15 -0600)]
add a flags parameter to select.epoll
Jason R. Coombs [Mon, 26 Dec 2011 17:17:01 +0000 (12:17 -0500)]
Ported some test cases from 2.7 for #11638
Georg Brandl [Sun, 25 Dec 2011 18:03:22 +0000 (19:03 +0100)]
merge with 3.2
Georg Brandl [Sun, 25 Dec 2011 18:03:07 +0000 (19:03 +0100)]
I do not think we will ever have auto-indent at the prompt, that is for IPython and the like.
Sandro Tosi [Sun, 25 Dec 2011 16:26:09 +0000 (17:26 +0100)]
merge with 3.2
Sandro Tosi [Sun, 25 Dec 2011 16:25:45 +0000 (17:25 +0100)]
use list() to wrap range() in itertools.permutations() example; thanks to Romain MORLEVAT from docs@
Sandro Tosi [Sun, 25 Dec 2011 16:14:28 +0000 (17:14 +0100)]
merge with 3.2
Sandro Tosi [Sun, 25 Dec 2011 16:14:11 +0000 (17:14 +0100)]
fix "Title underline too short" sphinx warning
Sandro Tosi [Sun, 25 Dec 2011 16:07:38 +0000 (17:07 +0100)]
merge with 3.2
Sandro Tosi [Sun, 25 Dec 2011 16:07:22 +0000 (17:07 +0100)]
use double-quote char instead of unicode ones; thanks to tomo cocoa from docs@
Sandro Tosi [Sun, 25 Dec 2011 10:44:55 +0000 (11:44 +0100)]
merge with 3.2
Sandro Tosi [Sun, 25 Dec 2011 10:44:38 +0000 (11:44 +0100)]
fix to sent/send typo
Sandro Tosi [Sun, 25 Dec 2011 10:27:51 +0000 (11:27 +0100)]
merge with 3.2
Sandro Tosi [Sun, 25 Dec 2011 10:27:37 +0000 (11:27 +0100)]
fix Constuctor/Constructor typo; thanks to Anthon van der Neut from docs@
Sandro Tosi [Sat, 24 Dec 2011 22:13:39 +0000 (23:13 +0100)]
merge with 3.2
Sandro Tosi [Sat, 24 Dec 2011 22:13:19 +0000 (23:13 +0100)]
point IronPython to ironpython.net; thanks to Lazar Pancic from docs@
Sandro Tosi [Sat, 24 Dec 2011 18:56:35 +0000 (19:56 +0100)]
merge with 3.2
Sandro Tosi [Sat, 24 Dec 2011 18:56:04 +0000 (19:56 +0100)]
fix Rather that/Rather than; thanks to Reuben Thomas from docs@
Sandro Tosi [Sat, 24 Dec 2011 14:53:51 +0000 (15:53 +0100)]
merge with 3.2
Sandro Tosi [Sat, 24 Dec 2011 14:53:35 +0000 (15:53 +0100)]
remove spurious dot from string formatting example; thanks to Anthon van der Neut from docs@
Sandro Tosi [Sat, 24 Dec 2011 13:52:19 +0000 (14:52 +0100)]
merge with 3.2
Sandro Tosi [Sat, 24 Dec 2011 13:51:49 +0000 (14:51 +0100)]
correct syslog.openlog() argument name to logoption; thanks to Arnaud Gomes-do-Vale from docs@
Meador Inge [Sat, 24 Dec 2011 05:08:50 +0000 (23:08 -0600)]
Issue #13632: Update token documentation to reflect actual token types
Meador Inge [Sat, 24 Dec 2011 04:30:16 +0000 (22:30 -0600)]
Issue #13632: Update token documentation to reflect actual token types
Benjamin Peterson [Sat, 24 Dec 2011 02:02:12 +0000 (20:02 -0600)]
merge 3.2
Benjamin Peterson [Sat, 24 Dec 2011 02:01:43 +0000 (20:01 -0600)]
parameter_list was meant here
Benjamin Peterson [Sat, 24 Dec 2011 02:00:56 +0000 (20:00 -0600)]
kill superfluous 'comprehension' case (closes #13658)
Antoine Pitrou [Fri, 23 Dec 2011 19:58:36 +0000 (20:58 +0100)]
Add whatsnew items
Charles-François Natali [Fri, 23 Dec 2011 18:07:58 +0000 (19:07 +0100)]
Issue #13565: Increase multiprocessing's server socket backlog, to avoid
dropped connections in case of simultaneous connection requests.
Charles-François Natali [Fri, 23 Dec 2011 18:06:48 +0000 (19:06 +0100)]
Issue #13565: Increase multiprocessing's server socket backlog, to avoid
dropped connections in case of simultaneous connection requests.
Charles-François Natali [Fri, 23 Dec 2011 15:44:51 +0000 (16:44 +0100)]
Issue #8623: Fix some strict-aliasing warnings. Patch by David Watson.
Antoine Pitrou [Fri, 23 Dec 2011 11:40:16 +0000 (12:40 +0100)]
Issue #13577: Built-in methods and functions now have a __qualname__.
Patch by sbt.
Senthil Kumaran [Fri, 23 Dec 2011 09:04:23 +0000 (17:04 +0800)]
merge from 3.2. Minor code style improvements in http.server suggested in Issue13294.
Senthil Kumaran [Fri, 23 Dec 2011 09:03:41 +0000 (17:03 +0800)]
Minor code style improvements in http.server suggested in Issue13294.
Senthil Kumaran [Fri, 23 Dec 2011 03:14:17 +0000 (11:14 +0800)]
merge from 3.2. News update.
Senthil Kumaran [Fri, 23 Dec 2011 03:11:21 +0000 (11:11 +0800)]
News entry for Issue12798
Senthil Kumaran [Fri, 23 Dec 2011 02:54:11 +0000 (10:54 +0800)]
Merge changes from 3.2
Issue12798 - Update mimetypes documentation. Correct the doc section where
common_types was mentioned under MimeTypes class, move it to helper function
category and other documentation improvements contributed by Sandro Tosi.
Senthil Kumaran [Fri, 23 Dec 2011 02:52:42 +0000 (10:52 +0800)]
Issue12798 - Update mimetypes documentation. Correct the doc section where
common_types was mentioned under MimeTypes class, move it to helper function
category and other documentation improvements contributed by Sandro Tosi.
Antoine Pitrou [Thu, 22 Dec 2011 09:05:50 +0000 (10:05 +0100)]
Forgot the data file for Diffie-Hellman tests.
Antoine Pitrou [Thu, 22 Dec 2011 09:03:38 +0000 (10:03 +0100)]
Issue #13626: Add support for SSL Diffie-Hellman key exchange, through the
SSLContext.load_dh_params() method and the ssl.OP_SINGLE_DH_USE option.
Ross Lagerwall [Thu, 22 Dec 2011 07:46:44 +0000 (09:46 +0200)]
Merge with 3.2.
Ross Lagerwall [Thu, 22 Dec 2011 07:45:53 +0000 (09:45 +0200)]
Don't redefine _GNU_SOURCE if it's already defined.
Ross Lagerwall [Thu, 22 Dec 2011 07:10:47 +0000 (09:10 +0200)]
Merge with 3.2 for #11006.
Ross Lagerwall [Thu, 22 Dec 2011 07:07:30 +0000 (09:07 +0200)]
Issue #11006: Don't issue low level warning in subprocess when pipe2() fails.
Victor Stinner [Thu, 22 Dec 2011 02:23:10 +0000 (03:23 +0100)]
fix PyCompactUnicodeObject doc (test)
Michael Foord [Thu, 22 Dec 2011 01:15:53 +0000 (01:15 +0000)]
Merge
Michael Foord [Thu, 22 Dec 2011 01:13:37 +0000 (01:13 +0000)]
Metaclasses with metaclasses with a __dict__ descriptor can no longer trigger code execution with inspect.getattr_static.
Closes issue 11829.
Benjamin Peterson [Wed, 21 Dec 2011 17:22:02 +0000 (11:22 -0600)]
merge heads
Antoine Pitrou [Wed, 21 Dec 2011 15:54:45 +0000 (16:54 +0100)]
Use context managers in test_ssl to simplify test writing.
Antoine Pitrou [Wed, 21 Dec 2011 15:52:40 +0000 (16:52 +0100)]
Use context managers in test_ssl to simplify test writing.
Antoine Pitrou [Wed, 21 Dec 2011 14:53:16 +0000 (15:53 +0100)]
Issue #13645: fix test_import failure when run immediately after test_coding.
Antoine Pitrou [Wed, 21 Dec 2011 14:50:42 +0000 (15:50 +0100)]
Issue #13645: fix test_import failure when run immediately after test_coding.
Senthil Kumaran [Wed, 21 Dec 2011 14:31:36 +0000 (22:31 +0800)]
Docs and News update for Issue13620. Chrome support in webbrowser.py
Senthil Kumaran [Wed, 21 Dec 2011 14:20:32 +0000 (22:20 +0800)]
Issue 13620 - Support chrome browser in webbrowser.py module.
Antoine Pitrou [Wed, 21 Dec 2011 10:24:47 +0000 (11:24 +0100)]
Issue #13597: Fix the documentation of the "-u" command-line option, and wording of "What's new in Python 3.0" about standard streams.
Antoine Pitrou [Wed, 21 Dec 2011 10:24:15 +0000 (11:24 +0100)]
Issue #13597: Fix the documentation of the "-u" command-line option, and wording of "What's new in Python 3.0" about standard streams.
Antoine Pitrou [Wed, 21 Dec 2011 10:03:24 +0000 (11:03 +0100)]
Issue #12708: Add starmap() and starmap_async() methods (similar to itertools.starmap()) to multiprocessing.Pool.
Patch by Hynek Schlawack.
Antoine Pitrou [Wed, 21 Dec 2011 08:59:49 +0000 (09:59 +0100)]
Issue #1785: Fix inspect and pydoc with misbehaving descriptors.
Also fixes issue #13581: `help(type)` wouldn't display anything.
Antoine Pitrou [Wed, 21 Dec 2011 08:57:40 +0000 (09:57 +0100)]
Issue #1785: Fix inspect and pydoc with misbehaving descriptors.
Also fixes issue #13581: `help(type)` wouldn't display anything.
Antoine Pitrou [Wed, 21 Dec 2011 08:27:41 +0000 (09:27 +0100)]
Fix ssl module compilation if ECDH support was disabled in the OpenSSL build.
(followup to issue #13627)
Benjamin Peterson [Tue, 20 Dec 2011 23:24:05 +0000 (17:24 -0600)]
4 space indentation
Benjamin Peterson [Tue, 20 Dec 2011 23:23:42 +0000 (17:23 -0600)]
fix spacing around switch statements
Benjamin Peterson [Tue, 20 Dec 2011 19:32:50 +0000 (13:32 -0600)]
merge 3.2
Benjamin Peterson [Tue, 20 Dec 2011 19:29:45 +0000 (13:29 -0600)]
fix possible if unlikely leak
Benjamin Peterson [Tue, 20 Dec 2011 16:13:05 +0000 (10:13 -0600)]
merge 3.2
Benjamin Peterson [Tue, 20 Dec 2011 16:12:41 +0000 (10:12 -0600)]
note the blinding speed of these functions
Antoine Pitrou [Tue, 20 Dec 2011 13:00:12 +0000 (14:00 +0100)]
Merge
Antoine Pitrou [Tue, 20 Dec 2011 12:58:41 +0000 (13:58 +0100)]
Issue #13637: "a2b" functions in the binascii module now accept ASCII-only unicode strings.
Charles-François Natali [Tue, 20 Dec 2011 10:49:25 +0000 (11:49 +0100)]
Followup to issue #11867: Use socketpair(), since FreeBSD < 8 doesn't really
support multiprocessing.Event.
Charles-François Natali [Tue, 20 Dec 2011 10:48:22 +0000 (11:48 +0100)]
Followup to issue #11867: Use socketpair(), since FreeBSD < 8 doesn't really
support multiprocessing.Event.
Antoine Pitrou [Tue, 20 Dec 2011 09:47:42 +0000 (10:47 +0100)]
Fix for buggy test
Antoine Pitrou [Tue, 20 Dec 2011 09:13:40 +0000 (10:13 +0100)]
Issue #13634: Add support for querying and disabling SSL compression.
Benjamin Peterson [Mon, 19 Dec 2011 21:42:28 +0000 (16:42 -0500)]
merge 3.2
Benjamin Peterson [Mon, 19 Dec 2011 21:41:11 +0000 (16:41 -0500)]
don't mention implementation detail
Victor Stinner [Mon, 19 Dec 2011 21:14:45 +0000 (22:14 +0100)]
backout
7876cd49300d : Move PyUnicode_WCHAR_KIND outside PyUnicode_Kind enum
Giampaolo Rodola' [Mon, 19 Dec 2011 18:12:01 +0000 (19:12 +0100)]
(bug #8684) fix 'fedora without thread buildbot' as per http://bugs.python.org/issue8684
Antoine Pitrou [Mon, 19 Dec 2011 17:19:06 +0000 (18:19 +0100)]
_Py_fopen now allows bytes filenames under non-Windows platforms.
Antoine Pitrou [Mon, 19 Dec 2011 16:16:51 +0000 (17:16 +0100)]
Issue #13627: Add support for SSL Elliptic Curve-based Diffie-Hellman
key exchange, through the SSLContext.set_ecdh_curve() method and the
ssl.OP_SINGLE_ECDH_USE option.
Antoine Pitrou [Mon, 19 Dec 2011 15:22:26 +0000 (16:22 +0100)]
Issue #5424: add tests for inet_ntoa, inet_ntop, inet_aton and inet_pton.
Patch by Philipp Hagemeister.
Antoine Pitrou [Mon, 19 Dec 2011 15:21:21 +0000 (16:21 +0100)]
Issue #5424: add tests for inet_ntoa, inet_ntop, inet_aton and inet_pton.
Patch by Philipp Hagemeister.
Charles-François Natali [Mon, 19 Dec 2011 15:12:59 +0000 (16:12 +0100)]
Issue #13453: Try to increase some socket timeouts to make some buildbots stop
failing.
Charles-François Natali [Mon, 19 Dec 2011 15:12:23 +0000 (16:12 +0100)]
Issue #13453: Try to increase some socket timeouts to make some buildbots stop
failing.
Victor Stinner [Mon, 19 Dec 2011 12:47:10 +0000 (13:47 +0100)]
(Merge 3.2) Issue #13628: python-gdb.py is now able to retrieve more frames in
the Python traceback if Python is optimized.
* delay the lookup of the size_t type, it is not available at startup
* The second argument of the PyFrameObjectPtr constructor is optional, as
done in other constructors
* iter_builtins() and iter_globals() methods of PyFrameObjectPtr returns
an empty tuple instead of None if Python is optimized
* Fix py-bt and py-bt-full to handle correctly "optimized" frames
* Frame.get_pyop() tries to get the frame pointer from PyEval_EvalCodeEx()
if the pointer is optimized out in PyEval_EvalFrameEx()
Victor Stinner [Mon, 19 Dec 2011 12:42:24 +0000 (13:42 +0100)]
Issue #13628: python-gdb.py is now able to retrieve more frames in the Python
traceback if Python is optimized.
* delay the lookup of the size_t type, it is not available at startup
* The second argument of the PyFrameObjectPtr constructor is optional, as
done in other constructors
* iter_builtins() and iter_globals() methods of PyFrameObjectPtr returns
an empty tuple instead of None if Python is optimized
* Fix py-bt and py-bt-full to handle correctly "optimized" frames
* Frame.get_pyop() tries to get the frame pointer from PyEval_EvalCodeEx()
if the pointer is optimized out in PyEval_EvalFrameEx()
Antoine Pitrou [Mon, 19 Dec 2011 12:27:11 +0000 (13:27 +0100)]
Issue #13635: Add ssl.OP_CIPHER_SERVER_PREFERENCE, so that SSL servers
choose the cipher based on their own preferences, rather than on the
client's.
Charles-François Natali [Mon, 19 Dec 2011 11:19:52 +0000 (12:19 +0100)]
Issue #11867: Make test_mailbox.test_lock_conflict deterministic (and fix a
race condition).
Charles-François Natali [Mon, 19 Dec 2011 11:18:55 +0000 (12:18 +0100)]
Issue #11867: Make test_mailbox.test_lock_conflict deterministic (and fix a
race condition).
Ezio Melotti [Mon, 19 Dec 2011 05:35:21 +0000 (07:35 +0200)]
#13576: merge with 3.2.
Ezio Melotti [Mon, 19 Dec 2011 05:29:03 +0000 (07:29 +0200)]
#13576: add tests about the handling of (possibly broken) condcoms.