52804 Commits

Author SHA1 Message Date
Vinay Sajip
2c94cdde6d Closes #13732: now use os.linesep instead of a literal newline. 2012-01-07 23:26:17 +00:00
Sandro Tosi
ac8f78a1a9 merge with 3.2 2012-01-07 18:34:24 +01:00
Sandro Tosi
645a0dd6f7 Py_SetPythonHome() can be called before Py_Initialize(); thanks to Cody Smith from docs@ 2012-01-07 18:34:07 +01:00
Charles-François Natali
61d28d6a74 Issue #13502: threading: Fix a race condition in Event.wait() that made it
return False when the event was set and cleared right after.
2012-01-07 18:26:39 +01:00
Charles-François Natali
ded0348c08 Issue #13502: threading: Fix a race condition in Event.wait() that made it
return False when the event was set and cleared right after.
2012-01-07 18:24:56 +01:00
Sandro Tosi
5e60857e91 merge with 3.2 2012-01-07 17:57:24 +01:00
Sandro Tosi
b52e7a9a36 clarify recv* are blocking operations; thanks to Chris Kogelnik from docs@ 2012-01-07 17:56:58 +01:00
Antoine Pitrou
0a08d7a095 Issue #9993: When the source and destination are on different filesystems,
and the source is a symlink, shutil.move() now recreates a symlink on the
destination instead of copying the file contents.
Patch by Jonathan Niehof and Hynek Schlawack.
2012-01-06 20:16:19 +01:00
Antoine Pitrou
deec7566ae Update printout of SSL certificate examples for 3.2+. 2012-01-06 20:09:29 +01:00
Antoine Pitrou
441ae043df Update printout of SSL certificate examples for 3.2+. 2012-01-06 20:06:15 +01:00
Sandro Tosi
b1d44dbf1f Issue #12042: merge with 3.2 2012-01-05 19:49:27 +01:00
Sandro Tosi
f57674713a Issue #12042: a queue is only used to retrive results; preliminary patch by Jordan Stadler 2012-01-05 19:48:56 +01:00
Sandro Tosi
5021428c2b Issue #11984: merge with 3.2 2012-01-05 19:06:56 +01:00
Sandro Tosi
ba232dfc83 Issue #11984: remove reference to parser, it's not showing symbol usage anymore 2012-01-05 19:06:25 +01:00
Lars Gustäbel
8f771a4716 Merge from 3.2: Issue #12926: Fix a bug in tarfile's link extraction.
On platforms that do not support (symbolic) links, tarfile offers a
work-around and extracts a link in an archive as the regular file the link is
pointing to. On other platforms, this code was accidentally executed even
after the link had been successfully extracted which failed due to the already
existing link.
2012-01-05 18:53:00 +01:00
Lars Gustäbel
dee45e20f6 Issue #12926: Fix a bug in tarfile's link extraction.
On platforms that do not support (symbolic) links, tarfile offers a
work-around and extracts a link in an archive as the regular file the link is
pointing to. On other platforms, this code was accidentally executed even
after the link had been successfully extracted which failed due to the already
existing link.
2012-01-05 18:48:06 +01:00
Vinay Sajip
fa26c4251e Closes #13699: merged fix from 3.2. 2012-01-05 11:46:20 +00:00
Vinay Sajip
cdf6cd9ff3 Closes #13699. Skipped two tests if Python is optimised. 2012-01-05 11:45:31 +00:00
Sandro Tosi
412d0f2f98 merge with 3.2 2012-01-04 23:25:20 +01:00
Sandro Tosi
98492a50ea Issue #10772: add count and help argparse action; patch by Marc Sibson 2012-01-04 23:25:04 +01:00
Antoine Pitrou
f7e7818e24 Issue #13713: fix a regression in HTTP chunked reading after 806cfe39f729
(originally issue #13464: Add a readinto() method to http.client.HTTPResponse)
2012-01-04 18:57:22 +01:00
Benjamin Peterson
d710d147f6 convince regrtest.py we aren't modifying _CONFIG_VARS 2012-01-04 10:12:14 -06:00
Jason R. Coombs
a599489e91 Corrected typo in install docs 2012-01-04 10:20:37 -05:00
Vinay Sajip
2549f87520 Closes #13699. Skipped two tests if Python is optimised. 2012-01-04 12:07:30 +00:00
Vinay Sajip
23b94d0b98 Refactored logging rotating handlers for improved flexibility. 2012-01-04 12:02:26 +00:00
Senthil Kumaran
239a0429fd merge from 3.2 2012-01-04 14:47:30 +08:00
Senthil Kumaran
6497aa3e00 Issue13696 - Fix 302 Redirection for Relative urls. 2012-01-04 13:46:59 +08:00
Victor Stinner
606e19dda3 Fix PyUnicode_Fill() doc: return type is Py_ssize_t, not int 2012-01-04 03:59:16 +01:00
Antoine Pitrou
8f746d83e2 Add a subsection explaning cipher selection. 2012-01-04 02:54:12 +01:00
Antoine Pitrou
b7ffed8a50 Add a subsection explaning cipher selection. 2012-01-04 02:53:44 +01:00
Victor Stinner
3fe553160c Add a new PyUnicode_Fill() function
It is faster than the unicode_fill() function which was implemented in
formatter_unicode.c.
2012-01-04 00:33:50 +01:00
Benjamin Peterson
332503db07 merge 3.2 2012-01-03 16:48:14 -06:00
Benjamin Peterson
a12d5c62f7 fix formatting 2012-01-03 16:47:22 -06:00
Benjamin Peterson
199808b796 merge 3.2 2012-01-03 16:30:47 -06:00
Benjamin Peterson
d204934ee3 exception support is correct now (closes #13705) 2012-01-03 16:30:37 -06:00
Benjamin Peterson
c095956ca5 merge 3.2 2012-01-03 16:26:34 -06:00
Benjamin Peterson
a8d7037e32 merge 3.1 2012-01-03 16:24:39 -06:00
Benjamin Peterson
b462da8c0a fix this to not depend on dictionary order 2012-01-03 16:23:11 -06:00
Antoine Pitrou
f3ac50b778 Merge 2012-01-03 22:50:16 +01:00
Antoine Pitrou
4f616af086 Merge 2012-01-03 22:49:56 +01:00
Antoine Pitrou
72aeec35a1 Issue #13636: Weak ciphers are now disabled by default in the ssl module
(except when SSLv2 is explicitly asked for).
2012-01-03 22:49:08 +01:00
Sandro Tosi
9b5626d52c merge with 3.2 2012-01-03 22:47:28 +01:00
Antoine Pitrou
8f85f907e3 Issue #13636: Weak ciphers are now disabled by default in the ssl module
(except when SSLv2 is explicitly asked for).
2012-01-03 22:46:48 +01:00
Sandro Tosi
753b79c073 Issue #6031: improve serve_forever() description 2012-01-03 22:35:54 +01:00
Sandro Tosi
5c91242f88 merge with 3.2 2012-01-03 18:37:46 +01:00
Sandro Tosi
ea320abcae Issue #9349: add argparse.SUPPRESS to help doc 2012-01-03 18:37:03 +01:00
Eli Bendersky
74c503b40d use io.SEEK_* constants instead of os.SEEK_* where an IO stream is seeked, leaving the os.SEEK_* constants only for os.lseek, as documented 2012-01-03 06:26:13 +02:00
Antoine Pitrou
c041ab6c7d Mock the rename failure a bit better 2012-01-02 19:18:02 +01:00
Benjamin Peterson
5e458f520c also decref the right thing 2012-01-02 10:12:13 -06:00
Benjamin Peterson
4c13a4a352 ready the correct string 2012-01-02 09:07:38 -06:00