Benjamin Peterson
7f071e6e9f
merge 3.2
2011-05-20 11:42:47 -05:00
Ezio Melotti
e724665182
#12072 : merge with 3.2.
2011-05-20 15:06:58 +03:00
Antoine Pitrou
e065020680
Issue #8809 : The SMTP_SSL constructor and SMTP.starttls() now support
...
passing a `context` argument pointing to an ssl.SSLContext instance.
Patch by Kasun Herath.
2011-05-18 18:03:09 +02:00
Gregory P. Smith
5ed2e779f1
Issue #1746656 : Add if_nameindex, if_nametoindex, if_indextoname
...
methods to the socket module.
2011-05-15 00:26:45 -07:00
Georg Brandl
1a4de20d95
Merge #6498 fix from 3.2.
2011-05-15 08:49:38 +02:00
Łukasz Langa
9334758955
Merged rethought pprint example from 3.2.
2011-05-14 22:58:17 +02:00
Ezio Melotti
6b71811469
#11979 : merge with 3.2.
2011-05-14 09:24:33 +03:00
Raymond Hettinger
db3dd8a6cc
Further beautification of the example
2011-05-13 01:39:22 -07:00
Raymond Hettinger
2584b2f9f3
Neaten up example so it can be cut and pasted.
2011-05-13 01:04:45 -07:00
Georg Brandl
93ea851e83
Merge two minor doc changes into default.
2011-05-13 07:01:58 +02:00
Gregory P. Smith
6b65745430
- Issue #12044 : Fixed subprocess.Popen when used as a context manager to
...
wait for the process to end when exiting the context to avoid unintentionally
leaving zombie processes around.
2011-05-11 21:42:08 -07:00
Ezio Melotti
e9c7d6c3d9
Fix markup and working in the doc.
2011-05-12 01:10:57 +03:00
Raymond Hettinger
caece0a6a0
Document default fmtspec. Fix inaccurate note. Document exceptions.
2011-05-11 10:48:02 -07:00
Senthil Kumaran
61b5efc2b9
Fix closed Issue #11968 - the start_response header values in wsgiref shoudl be
...
str not bytes. The PEP-0333 says that and test_wsgiref follows the same.
Updated docs accordingly.
2011-05-11 22:27:26 +08:00
Senthil Kumaran
4de00a2e87
Fix closes Issue #11799 : urllib.request Authentication Handlers will raise a
...
ValueError when presented with an unsupported Authentication Scheme.
2011-05-11 21:17:57 +08:00
Senthil Kumaran
cc99528d87
issue12039 - update the documentation of send_response method in http.server.rst.
2011-05-11 16:04:28 +08:00
Senthil Kumaran
6ea17a88af
Issue #12039 - Update the http.server.rst with the requirement to call end_headers after calling send_header.
2011-05-11 11:45:48 +08:00
Antoine Pitrou
3cade9942e
Issue #8498 : In socket.accept(), allow to specify 0 as a backlog value in
...
order to accept exactly one connection. Patch by Daniel Evers.
2011-05-10 19:19:13 +02:00
Victor Stinner
388196ed72
Issue #12011 : signal.signal() and signal.siginterrupt() raise an OSError,
...
instead of a RuntimeError: OSError has an errno attribute.
2011-05-10 17:13:00 +02:00
Łukasz Langa
3c6e4dd11f
Merged trivial doc fix from 3.2.
2011-05-10 15:26:22 +02:00
Raymond Hettinger
6a523489fa
merge
2011-05-10 00:35:48 -07:00
Łukasz Langa
fc75393275
Merged solution for #12036 from 3.2
2011-05-09 18:50:47 +02:00
Senthil Kumaran
c7ae19b6a7
Issue #3709 : a flush_headers method to BaseHTTPRequestHandler which manages the
...
sending of headers to output stream and flushing the internal headers buffer.
Patch contribution by Andrew Schaaf
2011-05-09 23:25:02 +08:00
Martin v. Löwis
7c038b4726
merge 11164
2011-05-09 08:12:19 +02:00
Ezio Melotti
60480454bc
Merge with 3.2.
2011-05-09 04:00:47 +03:00
Benjamin Peterson
eaee1385a0
note the point of having log2
2011-05-08 19:48:08 -05:00
Victor Stinner
fa0e3d52d6
Issue #11888 : Add log2 function to math module. Patch written by Mark
...
Dickinson.
2011-05-09 01:01:09 +02:00
Victor Stinner
3de49192aa
Issue #12012 : ssl.PROTOCOL_SSLv2 becomes optional
...
OpenSSL is now compiled with OPENSSL_NO_SSL2 defined (without the SSLv2
protocol) on Debian: fix the ssl module on Debian Testing and Debian Sid.
Optimize also ssl.get_protocol_name(): speed does matter!
2011-05-09 00:42:58 +02:00
Victor Stinner
d49b1f14de
Issue #8407 : The signal handler writes the signal number as a single byte
...
instead of a nul byte into the wakeup file descriptor. So it is possible to
wait more than one signal and know which signals were raised.
2011-05-08 02:03:15 +02:00
Victor Stinner
b3e7219abf
Issue #8407 : Add pthread_kill(), sigpending() and sigwait() functions to the
...
signal module.
2011-05-08 01:46:11 +02:00
Giampaolo Rodola'
a55efb3b6f
#11072- applying http://bugs.python.org/review/11072/show suggestions
2011-05-07 16:06:59 +02:00
Victor Stinner
7bba62fd68
faulthandler: dump all threads by default
...
* Set the default value of all_threads arguments to True
* Py_FatalError() dumps all threads, instead of only the current thread
Dump only the current thread is not reliable. In some cases, Python is unable
to retrieve the state of the current thread and so is unable to dump the
traceback. faulthandler keeps a reference to the interpreter and so is always
able to dump the traceback of all threads.
2011-05-07 12:43:00 +02:00
Giampaolo Rodola'
d78def9474
Issue #11072 : added MLSD command (RFC-3659) support to ftplib.
2011-05-06 19:49:08 +02:00
Éric Araujo
17b60f0367
Also add versionchanged directive to the function doc ( #11591 )
2011-05-06 18:50:08 +02:00
Antoine Pitrou
0872816dc1
Issue #8808 : The IMAP4_SSL constructor now allows passing an SSLContext
...
parameter to control parameters of the secure channel. Patch by Sijin
Joseph.
2011-05-06 18:49:52 +02:00
Ezio Melotti
b4dc2502ad
Issue #10775 : assertRaises, assertRaisesRegex, assertWarns, and assertWarnsRegex now accept a keyword argument 'msg' when used as context managers. Initial patch by Winston Ewert.
2011-05-06 15:01:41 +03:00
Eli Bendersky
e168965bd0
Issue #11015 : bring test.support docs up to date
2011-05-06 09:29:27 +03:00
Nick Coghlan
7ceb1804b0
Merge #11647 update from 3.2
2011-05-05 23:58:57 +10:00
Ezio Melotti
868fc87591
#11997 : merge with 3.2.
2011-05-05 14:21:55 +03:00
Alexander Belopolsky
6d3c9a6893
Mention that timezone is a subclass of tzinfo.
2011-05-04 10:28:26 -04:00
Victor Stinner
35b300c5fd
Issue #8407 : signal.pthread_sigmask() returns a set instead of a list
...
Update the doc. Refactor also related tests.
2011-05-04 13:20:35 +02:00
Brian Curtin
afd01172f9
Fix #11834 . Correct site-packages paths.
...
Patch by Bryce Verdier.
2011-05-03 21:58:32 -05:00
Ezio Melotti
4e787aeed6
#11985 : merge with 3.2.
2011-05-03 20:44:26 +03:00
Brian Curtin
49a40cd562
Adjust OS/2 & VMS grammar, and add Windows 2000 to the unsupported list.
2011-05-02 22:30:06 -05:00
Alexander Belopolsky
5611a1c326
Issue #11930 : Added Misc/NEWS and versionchanged entries.
2011-05-02 14:14:48 -04:00
Alexander Belopolsky
89da349b7b
Issue #11930 : Remove year >= 1000 limitation from datetime.strftime.
...
Patch by Victor Stinner.
2011-05-02 13:14:24 -04:00
Alexander Belopolsky
03163ac185
Issue #11930 : Remove deprecated time.accept2dyear.
2011-05-02 12:20:52 -04:00
Éric Araujo
f95f18048d
Merge 3.2
2011-05-02 13:33:14 +02:00
Benjamin Peterson
0255973af6
merge 3.2
2011-05-01 20:24:59 -05:00
Victor Stinner
fadeeffe5b
(Merge 3.2) Issue #11277 : mmap.mmap() calls fcntl(fd, F_FULLFSYNC) on Mac OS X
...
to get around a mmap bug with sparse files. Patch written by Steffen Daode
Nurpmeso.
2011-05-02 01:14:55 +02:00