Terry Jan Reedy
7a825ba3c6
Merge with 3.2
...
#11633 Clarify print buffering (will change again if 13761 adds flush param).
2012-01-11 14:14:14 -05:00
Terry Jan Reedy
610e8140de
Merge with 3.2
...
#13754 String returned if less than *or equal to* x 3
*13753 'seq' now 'iterable'
2012-01-11 03:32:43 -05:00
Antoine Pitrou
9007f72db0
Remove unused certificate from the test directory.
2012-01-10 23:46:26 +01:00
Victor Stinner
1134b0dbbd
Fix _PyFaulthandler_Fini() so it can be called before _PyFaulthandler_Init()
2012-01-10 22:44:11 +01:00
Charles-François Natali
76961faaa0
Issue #13757 : Change os.fdlistdir() so that it duplicates the passed file
...
descriptor (instead of closing it).
2012-01-10 20:25:09 +01:00
Senthil Kumaran
bda7a80194
Merge from 3.2 - Issue9637 - Explain in getproxies_environment that <scheme>_proxy environ variable case does not matter.
2012-01-11 01:30:23 +08:00
Terry Jan Reedy
8d172343ad
Merge with 3.2
2012-01-09 18:33:27 -05:00
Charles-François Natali
dc3044c704
Issue #12760 : Add a create mode to open(). Patch by David Townshend.
2012-01-09 22:40:02 +01:00
Antoine Pitrou
8a9b9c7d16
Merge SSL doc fixes (issue #13747 ).
2012-01-09 21:46:11 +01:00
Raymond Hettinger
7b7caa8ec6
Fix nasty typo
2012-01-09 20:02:24 +00:00
Giampaolo Rodola'
8bc8585873
provide a common method to check for RETR_DATA validity, first checking the expected len and then the actual data content; this way we get a failure on len mismatch rather than content mismatch (which is very long and unreadable)
2012-01-09 17:10:10 +01:00
Raymond Hettinger
0c5e52f0bd
Make the docstring style consistent.
2012-01-09 06:17:39 +00:00
Raymond Hettinger
61bd72924e
Improve clarity with keyword argument for block. Move nowait methods together.
2012-01-09 06:02:08 +00:00
Raymond Hettinger
143f51ade5
Minor code clean-ups and beautifications.
2012-01-09 05:32:01 +00:00
Charles-François Natali
f2840a8890
Backed out changeset 36f2e236c601: For some reason, rewinddir() doesn't work as
...
it should on OpenIndiana.
2012-01-08 20:30:47 +01:00
Charles-François Natali
38f425e475
Issue #13739 : It's simpler and more direct to call rewinddir() at the
...
beginning.
2012-01-08 19:07:18 +01:00
Charles-François Natali
7546ad327d
Issue #13739 : In os.listdir(), rewind the directory stream (so that listdir()
...
can be called again on the same open file).
2012-01-08 18:34:06 +01:00
Antoine Pitrou
94f6fa62bf
Issue #13738 : Simplify implementation of bytes.lower() and bytes.upper().
2012-01-08 16:22:46 +01:00
Ross Lagerwall
69f39a53f6
Merge with 3.2 for #12364 .
2012-01-08 08:42:03 +02:00
Raymond Hettinger
7540427434
Simplify the code using with-statements.
2012-01-07 15:32:52 -08:00
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
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
Sandro Tosi
5e60857e91
merge with 3.2
2012-01-07 17:57:24 +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
Sandro Tosi
b1d44dbf1f
Issue #12042 : merge with 3.2
2012-01-05 19:49:27 +01:00
Sandro Tosi
5021428c2b
Issue #11984 : merge with 3.2
2012-01-05 19:06:56 +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
Vinay Sajip
fa26c4251e
Closes #13699 : merged fix from 3.2.
2012-01-05 11:46:20 +00:00
Sandro Tosi
412d0f2f98
merge with 3.2
2012-01-04 23:25:20 +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
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
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
199808b796
merge 3.2
2012-01-03 16:30:47 -06:00
Benjamin Peterson
c095956ca5
merge 3.2
2012-01-03 16:26:34 -06:00
Antoine Pitrou
f3ac50b778
Merge
2012-01-03 22:50:16 +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
Sandro Tosi
5c91242f88
merge with 3.2
2012-01-03 18:37:46 +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