]>
granicus.if.org Git - python/log
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.
Ezio Melotti [Mon, 19 Dec 2011 05:07:00 +0000 (07:07 +0200)]
#13387: merge with 3.2.
Ezio Melotti [Mon, 19 Dec 2011 05:04:48 +0000 (07:04 +0200)]
#13387: rephrase unclear sentence.
Michael Foord [Sun, 18 Dec 2011 22:09:27 +0000 (22:09 +0000)]
Merge 3.2
Michael Foord [Sun, 18 Dec 2011 22:01:40 +0000 (22:01 +0000)]
Fix inspect.getattr_static to work on modules (again).
Closes issue 11813.
Victor Stinner [Sun, 18 Dec 2011 20:38:51 +0000 (21:38 +0100)]
iobench.py: add more info in the header
Write the Python version, Unicode implementation and the platform.
Victor Stinner [Sun, 18 Dec 2011 20:05:22 +0000 (21:05 +0100)]
(Merge 3.2) Handle correctly _Py_fopen() error: don't replace the exception
Victor Stinner [Sun, 18 Dec 2011 20:04:17 +0000 (21:04 +0100)]
Handle correctly _Py_fopen() error: don't replace the exception
Victor Stinner [Sun, 18 Dec 2011 19:47:30 +0000 (20:47 +0100)]
import.c now catchs _Py_stat() exceptions
_Py_stat() now returns -2 if an exception was raised.
Antoine Pitrou [Sun, 18 Dec 2011 19:22:50 +0000 (20:22 +0100)]
Followup to #7502: add __hash__ method and tests.
Antoine Pitrou [Sun, 18 Dec 2011 19:20:17 +0000 (20:20 +0100)]
Followup to #7502: add __hash__ method and tests.
Antoine Pitrou [Sun, 18 Dec 2011 18:31:14 +0000 (19:31 +0100)]
Merge
Georg Brandl [Sun, 18 Dec 2011 18:32:37 +0000 (19:32 +0100)]
Merge with 3.2.
Antoine Pitrou [Sun, 18 Dec 2011 18:31:02 +0000 (19:31 +0100)]
Merge
Victor Stinner [Sun, 18 Dec 2011 18:30:55 +0000 (19:30 +0100)]
Issue #13617: Document that the result of the conversion of a Unicode object to
wchar*, Py_UNICODE* and bytes may contain embedded null characters/bytes.
Patch written by Arnaud Calmettes.
Georg Brandl [Sun, 18 Dec 2011 18:30:55 +0000 (19:30 +0100)]
Small clarification in docstring of dict.update(): the positional argument is not required.
Antoine Pitrou [Sun, 18 Dec 2011 18:29:06 +0000 (19:29 +0100)]
Issue #7502: Fix equality comparison for DocTestCase instances.
Patch by Cédric Krier.
Antoine Pitrou [Sun, 18 Dec 2011 18:28:33 +0000 (19:28 +0100)]
Merge
Antoine Pitrou [Sun, 18 Dec 2011 18:27:45 +0000 (19:27 +0100)]
Issue #7502: Fix equality comparison for DocTestCase instances.
Patch by Cédric Krier.
Victor Stinner [Sun, 18 Dec 2011 18:22:31 +0000 (19:22 +0100)]
Issue #13617: Document that the result of the conversion of a Unicode object to
wchar*, Py_UNICODE* and bytes may contain embedded null characters/bytes.
Patch written by Arnaud Calmettes.
Antoine Pitrou [Sun, 18 Dec 2011 18:00:16 +0000 (19:00 +0100)]
Merge
Antoine Pitrou [Sun, 18 Dec 2011 18:00:02 +0000 (19:00 +0100)]
In the test SSL server, also output the cipher name
Charles-François Natali [Sun, 18 Dec 2011 17:49:40 +0000 (18:49 +0100)]
Null merge.
Charles-François Natali [Sun, 18 Dec 2011 17:45:16 +0000 (18:45 +0100)]
Issue #11870: threading: Properly reinitialize threads internal locks and
condition variables to avoid deadlocks in child processes.