Commit graph

21441 commits

Author SHA1 Message Date
Eli Bendersky
c353f68b1d fix doc typo for library/test.rst 2011-07-27 20:29:59 +03:00
Éric Araujo
9bce311ea4 Add shlex.quote function, to escape filenames and command lines (#9723).
This function used to live as pipes.quote, where it was undocumented but
used anyway.  (An alias still exists for backward compatibility.)  The
tests have been moved as is, but the code of the function was changed to
use a regex instead of a loop with string comparisons (at Ian Bicking’s
suggestion).  I’m terrible at regexes, so any feedback is welcome.
2011-07-27 18:29:31 +02:00
Ezio Melotti
04f648cb90 #12547: Fix example in nntplib doc. Patch by July Tikhonov. 2011-07-26 09:37:46 +03:00
Charles-François Natali
acd9f7ce32 Issue #11784: Improve multiprocessing.Process.join() documentation. Patch by
Patrick Sabin.
2011-07-25 18:35:49 +02:00
Ross Lagerwall
432171c687 Issue #12102: Merge with 3.2. 2011-07-25 07:14:15 +02:00
Antoine Pitrou
664091be72 Followup to c3b47cdea0d1: document the *write_through* argument to TextIOWrapper. 2011-07-23 22:00:03 +02:00
Georg Brandl
deb852db71 Merge 3.2 branch. 2011-07-23 08:06:00 +02:00
Antoine Pitrou
d649480739 Issue #12551: Provide a get_channel_binding() method on SSL sockets so as
to get channel binding data for the current SSL session (only the
"tls-unique" channel binding is implemented).  This allows the
implementation of certain authentication mechanisms such as SCRAM-SHA-1-PLUS.

Patch by Jacek Konieczny.
2011-07-21 01:11:30 +02:00
R David Murray
875048bd4c #665194: support roundtripping RFC2822 date stamps in the email.utils module 2011-07-20 11:41:21 -04:00
Senthil Kumaran
3e44612726 merge from 3.2 - Fix closes issue12524 - update http.client POST example with a working example. 2011-07-20 21:57:07 +08:00
Senthil Kumaran
a8713b141a merge from 3.2 - Fix closes issue12577 - clarify shutil.move documentation. Patch suggestion by Catalin Iacob 2011-07-19 08:03:55 +08:00
Antoine Pitrou
6d175b72b5 Issue #6476: Document that os.spawnle and os.spawnve are not thread-safe under Windows. 2011-07-19 01:29:18 +02:00
R David Murray
677b6530b0 Fix English in packaging, too. 2011-07-18 12:39:18 -04:00
R David Murray
3ef6ca4882 Merge English fix. 2011-07-18 12:38:48 -04:00
Benjamin Peterson
bd9c655c97 merge heads 2011-07-17 22:50:12 -05:00
Benjamin Peterson
76f7f4d979 excise the remains of STOP_CODE, which hasn't done anything useful for years 2011-07-17 22:49:50 -05:00
Brett Cannon
e52181c05a Add Misc/NEWS entry and relevant doc change for issue 10271. 2011-07-17 19:25:50 -07:00
Senthil Kumaran
c32aae0d44 fix whitespace in rst. 2011-07-18 07:18:11 +08:00
Senthil Kumaran
029b467963 merge from 3.2 - Fix closes Issue12478 - HTTPErrorProcess 's methods are http_response and https_response. 2011-07-18 07:13:21 +08:00
Senthil Kumaran
3121547f42 merge from 3.2 - Fix closes Issue12479 - Add HTTPErrorProcessor class definition - Patch by Sandro Tosi 2011-07-18 06:43:25 +08:00
Senthil Kumaran
42d1320c06 merge from 3.2 2011-07-17 19:06:03 +08:00
Senthil Kumaran
87e59cd701 merge from 3.2 2011-07-17 17:32:06 +08:00
Benjamin Peterson
0bd152cd67 remove ast.__version__ (closes #12273) 2011-07-15 21:10:13 -05:00
Georg Brandl
5c1190bada Remove duplicate "numbered" options for toctrees. 2011-07-15 19:09:49 +02:00
Éric Araujo
dccf9855fc Fix :file: constructs in packaging.database docs 2011-07-15 17:48:20 +02:00
Victor Stinner
a7878b77dc Close #6755: Add get_wch() method to curses.window class
Patch by Iñigo Serna.
2011-07-14 23:07:44 +02:00
Ned Deily
07b353716c Issue #12549: Correct test_platform to not fail when OS X returns 'x86_64'
as the processor type on some Mac systems.
2011-07-13 15:09:49 -07:00
Victor Stinner
a9a9dab042 Issue #12550: Add chain optional argument to faulthandler.register()
Call the previous signal handler if chain is True.
2011-07-13 23:39:53 +02:00
Antoine Pitrou
8442124693 Make it clear that PyNumber_AsSsize_t() returns -1 on error. 2011-07-13 21:02:58 +02:00
Georg Brandl
993409ddc0 Merge doc change from 3.2. 2011-07-13 15:59:43 +02:00
Ezio Melotti
3c14b4ebe7 #12547: Fix import and output in nntplib example. Initial patch by July Tikhonov. 2011-07-13 11:44:44 +03:00
Antoine Pitrou
126edb5607 Use infinitive, not 3rd person of present tense. 2011-07-11 01:39:35 +02:00
Antoine Pitrou
f08310f08b Issue #12343: Add some notes on behaviour of non-blocking SSL sockets. 2011-07-11 01:38:27 +02:00
Antoine Pitrou
e1d2103ede Mention logging.captureWarnings in the warnings module doc. 2011-07-09 21:31:07 +02:00
Antoine Pitrou
87fd76edb6 Issue #12326: document the recommended idiom for checking sys.platform on Unix systems.
Also, point to the various alternatives.
2011-07-09 15:55:38 +02:00
Georg Brandl
d3b41c63a6 Fix syntax in packaging docs and update suspicious ignore file. 2011-07-09 11:48:50 +02:00
Georg Brandl
6c0929b2dd Fix markup and remove character unsupported by latex in 3.3 whatsnew doc. 2011-07-09 11:43:33 +02:00
Éric Araujo
f8bebf8566 Improve reST target 2011-07-02 16:58:25 +02:00
Victor Stinner
2b49f12a63 (merge 3.2) Issue #12423: Fix os.abort() documentation
The Python signal handler for SIGABRT is not called on os.abort() (only if the
signal is raised manually or sent by another process). Patch by Kamil Kisiel.
2011-07-08 02:27:06 +02:00
Victor Stinner
2cded9c3f3 Issue #12016: Multibyte CJK decoders now resynchronize faster
They only ignore the first byte of an invalid byte sequence.

For example, b'\xff\n'.decode('gb2312', 'replace') gives '\ufffd\n' instead of
'\ufffd'.
2011-07-08 01:45:13 +02:00
Senthil Kumaran
8fbfc12f5e merge from 3.2 2011-07-04 11:44:17 -07:00
Senthil Kumaran
276a58b821 Merge from 3.2 . Replace the term members with correct and appropriate terminology. Initial patch by Adam Woodbeck. 2011-07-04 11:31:53 -07:00
Georg Brandl
1945f93888 Merge with 3.2. 2011-07-04 19:58:12 +02:00
Senthil Kumaran
37d72b7164 merge from 3.2 2011-07-03 10:23:43 -07:00
R David Murray
db4120bf9d merge #12147: make send_message correctly handle Sender and Resent- headers. 2011-07-02 21:10:44 -04:00
Éric Araujo
2ee61884fe Clean up NEWS entry and tests for shutil.disk_usage (#12442) 2011-07-02 16:45:45 +02:00
Giampaolo Rodola'
210e7ca032 Issue #12442: add shutil.disk_usage() 2011-07-01 13:55:36 +02:00
Ned Deily
8b56c4b1b8 Issue #8746: Correct faulty configure checks so that os.chflags() and
os.lchflags() are once again built on systems that support these
functions (*BSD and OS X).  Also add new stat file flags for OS X
(UF_HIDDEN and UF_COMPRESSED).  Also add additional tests for
os.chflags() and os.lchflags(). (Tests by Garrett Cooper)
2011-06-28 00:13:01 -07:00
Vinay Sajip
2353e35570 Closes #12419: Added ident to SysLogHandler. 2011-06-27 15:40:06 +01:00
Giampaolo Rodola'
096dcb1eff Issue 12139: add CCC command support to FTP_TLS class to revert the SSL connection back to clear-text. 2011-06-27 11:17:51 +02:00