Antoine Pitrou
9007f72db0
Remove unused certificate from the test directory.
2012-01-10 23:46:26 +01:00
Antoine Pitrou
f7bfff0e42
Remove unused certificate from the test directory.
2012-01-10 23:45:54 +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
Senthil Kumaran
19d85c2762
Issue9637 - Explain in getproxies_environment that <scheme>_proxy environ variable case does not matter.
2012-01-11 01:29:08 +08:00
Terry Jan Reedy
8d172343ad
Merge with 3.2
2012-01-09 18:33:27 -05:00
Terry Jan Reedy
ee91e0990a
#11906 Make test_argparse work interactively by removing extra space
...
in comparison string that argparse does not add when program name is blank.
2012-01-09 18:20:09 -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
Antoine Pitrou
ac8bfcacfc
Issue #13747 : fix SSL compatibility table.
2012-01-09 21:43:18 +01:00
Antoine Pitrou
84a2edcdf7
Issue #13747 : fix documentation error about the default SSL version.
2012-01-09 21:35: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
Ross Lagerwall
66e2fb68ac
Issue #12364 : Fix a hang in concurrent.futures.ProcessPoolExecutor.
2012-01-08 08:29:40 +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
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