Antoine Pitrou
5285518fe0
Forgot the data file for Diffie-Hellman tests.
2011-12-22 10:05:50 +01:00
Antoine Pitrou
0e576f1f50
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.
2011-12-22 10:03:38 +01:00
Ross Lagerwall
5ad1af076c
Merge with 3.2.
2011-12-22 09:46:44 +02:00
Ross Lagerwall
0b77ac32b2
Merge with 3.2 for #11006 .
2011-12-22 09:10:47 +02:00
Victor Stinner
80bc72d5a2
fix PyCompactUnicodeObject doc (test)
2011-12-22 03:23:10 +01:00
Michael Foord
85530aa1c3
Merge
2011-12-22 01:15:53 +00:00
Benjamin Peterson
059226b8ec
merge heads
2011-12-21 11:22:02 -06:00
Antoine Pitrou
6b15c90fd8
Use context managers in test_ssl to simplify test writing.
2011-12-21 16:54:45 +01:00
Antoine Pitrou
f0a49a9e27
Issue #13645 : fix test_import failure when run immediately after test_coding.
2011-12-21 15:53:16 +01:00
Senthil Kumaran
c90959947b
Docs and News update for Issue13620. Chrome support in webbrowser.py
2011-12-21 22:31:36 +08:00
Senthil Kumaran
ea6b4187cf
Issue 13620 - Support chrome browser in webbrowser.py module.
2011-12-21 22:20:32 +08:00
Antoine Pitrou
d5ec134d82
Issue #13597 : Fix the documentation of the "-u" command-line option, and wording of "What's new in Python 3.0" about standard streams.
2011-12-21 11:24:47 +01:00
Antoine Pitrou
de911b2915
Issue #12708 : Add starmap() and starmap_async() methods (similar to itertools.starmap()) to multiprocessing.Pool.
...
Patch by Hynek Schlawack.
2011-12-21 11:03:24 +01:00
Antoine Pitrou
12f65d1fef
Issue #1785 : Fix inspect and pydoc with misbehaving descriptors.
...
Also fixes issue #13581 : `help(type)` wouldn't display anything.
2011-12-21 09:59:49 +01:00
Antoine Pitrou
501da61671
Fix ssl module compilation if ECDH support was disabled in the OpenSSL build.
...
(followup to issue #13627 )
2011-12-21 09:27:41 +01:00
Benjamin Peterson
c0b95d18fa
4 space indentation
2011-12-20 17:24:05 -06:00
Benjamin Peterson
ead6b53659
fix spacing around switch statements
2011-12-20 17:23:42 -06:00
Benjamin Peterson
822c790527
merge 3.2
2011-12-20 13:32:50 -06:00
Benjamin Peterson
97193c1a16
merge 3.2
2011-12-20 10:13:05 -06:00
Antoine Pitrou
1743db5c10
Merge
2011-12-20 14:00:12 +01:00
Antoine Pitrou
0831676962
Issue #13637 : "a2b" functions in the binascii module now accept ASCII-only unicode strings.
2011-12-20 13:58:41 +01:00
Charles-François Natali
29b15d11bb
Followup to issue #11867 : Use socketpair(), since FreeBSD < 8 doesn't really
...
support multiprocessing.Event.
2011-12-20 11:49:25 +01:00
Antoine Pitrou
8691bff6db
Fix for buggy test
2011-12-20 10:47:42 +01:00
Antoine Pitrou
8abdb8abd8
Issue #13634 : Add support for querying and disabling SSL compression.
2011-12-20 10:13:40 +01:00
Benjamin Peterson
3563b18c19
merge 3.2
2011-12-19 16:42:28 -05:00
Victor Stinner
52e2cc8604
backout 7876cd49300d: Move PyUnicode_WCHAR_KIND outside PyUnicode_Kind enum
2011-12-19 22:14:45 +01:00
Giampaolo Rodola'
2fa22818bd
(bug #8684 ) fix 'fedora without thread buildbot' as per http://bugs.python.org/issue8684
2011-12-19 19:12:01 +01:00
Antoine Pitrou
2b1cc89572
_Py_fopen now allows bytes filenames under non-Windows platforms.
2011-12-19 18:19:06 +01:00
Antoine Pitrou
923df6f22a
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.
2011-12-19 17:16:51 +01:00
Antoine Pitrou
d1301953fe
Issue #5424 : add tests for inet_ntoa, inet_ntop, inet_aton and inet_pton.
...
Patch by Philipp Hagemeister.
2011-12-19 16:22:26 +01:00
Charles-François Natali
b01c32dab4
Issue #13453 : Try to increase some socket timeouts to make some buildbots stop
...
failing.
2011-12-19 16:12:59 +01:00
Victor Stinner
d974393419
(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()
2011-12-19 13:47:10 +01:00
Antoine Pitrou
6db4944cc5
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.
2011-12-19 13:27:11 +01:00
Charles-François Natali
bfaa79a982
Issue #11867 : Make test_mailbox.test_lock_conflict deterministic (and fix a
...
race condition).
2011-12-19 12:19:52 +01:00
Ezio Melotti
ca9afca07c
#13576 : merge with 3.2.
2011-12-19 07:35:21 +02:00
Ezio Melotti
5ce6f8ed5c
#13387 : merge with 3.2.
2011-12-19 07:07:00 +02:00
Michael Foord
a699a2d0c1
Merge 3.2
2011-12-18 22:09:27 +00:00
Victor Stinner
8f23be7189
iobench.py: add more info in the header
...
Write the Python version, Unicode implementation and the platform.
2011-12-18 21:38:51 +01:00
Victor Stinner
3573476271
(Merge 3.2) Handle correctly _Py_fopen() error: don't replace the exception
2011-12-18 21:05:22 +01:00
Victor Stinner
bd0850b857
import.c now catchs _Py_stat() exceptions
...
_Py_stat() now returns -2 if an exception was raised.
2011-12-18 20:47:30 +01:00
Antoine Pitrou
7bfe89945b
Followup to #7502 : add __hash__ method and tests.
2011-12-18 20:22:50 +01:00
Antoine Pitrou
83250bb0a8
Merge
2011-12-18 19:31:14 +01:00
Georg Brandl
f928b5d27e
Merge with 3.2.
2011-12-18 19:32:37 +01:00
Victor Stinner
0d81c1357d
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.
2011-12-18 19:30:55 +01:00
Antoine Pitrou
92d4acb7a7
Issue #7502 : Fix equality comparison for DocTestCase instances.
...
Patch by Cédric Krier.
2011-12-18 19:29:06 +01:00
Antoine Pitrou
0f694d72a2
Merge
2011-12-18 19:00:16 +01:00
Antoine Pitrou
fb0901c968
In the test SSL server, also output the cipher name
2011-12-18 19:00:02 +01:00
Charles-François Natali
dec36b6b74
Null merge.
2011-12-18 18:49:40 +01:00
Charles-François Natali
b055bf6acb
Issue #11870 : threading: Properly reinitialize threads internal locks and
...
condition variables to avoid deadlocks in child processes.
2011-12-18 18:45:16 +01:00
Charles-François Natali
3c4dcea712
Issue #8035 : urllib: Fix a bug where the client could remain stuck after a
...
redirection or an error.
2011-12-18 16:08:33 +01:00