]>
granicus.if.org Git - python/log
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.
Charles-François Natali [Sun, 18 Dec 2011 17:35:09 +0000 (18:35 +0100)]
Issue #11870: threading: Properly reinitialize threads internal locks and
condition variables to avoid deadlocks in child processes.
Charles-François Natali [Sun, 18 Dec 2011 15:08:33 +0000 (16:08 +0100)]
Issue #8035: urllib: Fix a bug where the client could remain stuck after a
redirection or an error.
Charles-François Natali [Sun, 18 Dec 2011 15:05:07 +0000 (16:05 +0100)]
Issue #8035: urllib: Fix a bug where the client could remain stuck after a
redirection or an error.
Victor Stinner [Sun, 18 Dec 2011 13:22:26 +0000 (14:22 +0100)]
Issue #13624: Write a specialized UTF-8 encoder to allow more optimization
The main bottleneck was the PyUnicode_READ() macro.
Antoine Pitrou [Sun, 18 Dec 2011 11:28:18 +0000 (12:28 +0100)]
Null merge
Victor Stinner [Sun, 18 Dec 2011 02:26:31 +0000 (03:26 +0100)]
Optimize str * n for len(str)==1 and UCS-2 or UCS-4
Victor Stinner [Sun, 18 Dec 2011 01:56:18 +0000 (02:56 +0100)]
Issue #13522: Fix _Py_co_pow() documentation
Patch written by Arnaud Calmettes.
Victor Stinner [Sun, 18 Dec 2011 01:56:18 +0000 (02:56 +0100)]
Issue #13522: Fix _Py_co_pow() documentation
Patch written by Arnaud Calmettes.
Victor Stinner [Sun, 18 Dec 2011 01:43:08 +0000 (02:43 +0100)]
Issue #13621: Optimize str.replace(char1, char2)
Use findchar() which is more optimized than a dummy loop using
PyUnicode_READ(). PyUnicode_READ() is a complex and slow macro.
Antoine Pitrou [Sun, 18 Dec 2011 00:26:05 +0000 (01:26 +0100)]
Issue #13522: document error return values of some float and complex C API functions.
Antoine Pitrou [Sun, 18 Dec 2011 00:25:27 +0000 (01:25 +0100)]
Issue #13522: document error return values of some float and complex C API functions.
Victor Stinner [Sun, 18 Dec 2011 00:17:41 +0000 (01:17 +0100)]
Issue #13623: Fix a performance regression introduced by issue #12170 in
bytes.find() and handle correctly OverflowError (raise the same ValueError than
the error for -1).
Victor Stinner [Sat, 17 Dec 2011 22:18:43 +0000 (23:18 +0100)]
Issue #11231: Fix bytes and bytearray docstrings
Patch written by Brice Berna.
Victor Stinner [Sat, 17 Dec 2011 22:18:07 +0000 (23:18 +0100)]
Issue #11231: Fix bytes and bytearray docstrings
Patch written by Brice Berna.
Victor Stinner [Sat, 17 Dec 2011 22:15:22 +0000 (23:15 +0100)]
Issue #13530: Document os.lseek() result
Patch written by Jérémy Anger.
Victor Stinner [Sat, 17 Dec 2011 22:15:09 +0000 (23:15 +0100)]
Issue #13530: Document os.lseek() result
Patch written by Jérémy Anger.
Victor Stinner [Sat, 17 Dec 2011 21:40:19 +0000 (22:40 +0100)]
Merge
Victor Stinner [Sat, 17 Dec 2011 21:39:43 +0000 (22:39 +0100)]
Issue #10951: Fix compiler warnings in timemodule.c and unicodeobject.c
Thanks Jérémy Anger for the fix.
Victor Stinner [Sat, 17 Dec 2011 21:37:18 +0000 (22:37 +0100)]
Issue #10951: Fix a compiler warning in timemodule.c
Victor Stinner [Sat, 17 Dec 2011 21:18:27 +0000 (22:18 +0100)]
Move PyUnicode_WCHAR_KIND outside PyUnicode_Kind enum
Gregory P. Smith [Sat, 17 Dec 2011 20:36:34 +0000 (12:36 -0800)]
Mention that level can be an int or str in the setLevel docstring.
Charles-François Natali [Sat, 17 Dec 2011 13:59:56 +0000 (14:59 +0100)]
Issue #12809: Expose IP_TRANSPARENT in the socket module. Patch by Michael
Farrell.
Benjamin Peterson [Sat, 17 Dec 2011 13:02:20 +0000 (08:02 -0500)]
fix possible NULL dereference
Victor Stinner [Sat, 17 Dec 2011 06:08:30 +0000 (07:08 +0100)]
The locale decoder raises a UnicodeDecodeError instead of an OSError
Search the invalid character using mbrtowc().
Victor Stinner [Sat, 17 Dec 2011 04:47:23 +0000 (05:47 +0100)]
Issue #13560: Locale codec functions use the classic "errors" parameter,
instead of surrogateescape
So it would be possible to support more error handlers later.
Victor Stinner [Sat, 17 Dec 2011 03:59:06 +0000 (04:59 +0100)]
What's New in Python 3.3: complete the deprecation list
Add also FIXMEs in unicodeobject.c