]>
granicus.if.org Git - python/log
Amaury Forgeot d'Arc [Fri, 13 Jan 2012 21:12:37 +0000 (22:12 +0100)]
Silence compilation warnings on Windows
Amaury Forgeot d'Arc [Fri, 13 Jan 2012 20:08:49 +0000 (21:08 +0100)]
Fix compilation with C89 compilers (Windows...)
Amaury Forgeot d'Arc [Fri, 13 Jan 2012 20:06:12 +0000 (21:06 +0100)]
Fix a crash when the return value of a subgenerator is a temporary
object (with a refcount of 1)
Amaury Forgeot d'Arc [Sat, 17 Dec 2011 09:23:14 +0000 (10:23 +0100)]
Fix compilation warning on Windows
Benjamin Peterson [Fri, 13 Jan 2012 19:54:31 +0000 (14:54 -0500)]
NULL and no exception set from tp_iternext means StopIteration
Benjamin Peterson [Fri, 13 Jan 2012 19:39:38 +0000 (14:39 -0500)]
add test, which was missing from
d64ac9ab4cd0
Antoine Pitrou [Fri, 13 Jan 2012 18:42:13 +0000 (19:42 +0100)]
Issue #13764: remove outdated script Misc/build.sh
Antoine Pitrou [Fri, 13 Jan 2012 18:41:42 +0000 (19:41 +0100)]
Issue #13764: remove outdated script Misc/build.sh
Georg Brandl [Fri, 13 Jan 2012 18:41:25 +0000 (19:41 +0100)]
Closes #13761: add a "flush" keyword argument to print().
Antoine Pitrou [Fri, 13 Jan 2012 17:52:16 +0000 (18:52 +0100)]
Issue #13645: pyc files now contain the size of the corresponding source
code, to avoid timestamp collisions (especially on filesystems with a low
timestamp resolution) when checking for freshness of the bytecode.
Benjamin Peterson [Fri, 13 Jan 2012 13:45:55 +0000 (08:45 -0500)]
make Python-ast.c depend on Python-ast.h
Nick Coghlan [Fri, 13 Jan 2012 11:43:40 +0000 (21:43 +1000)]
Implement PEP 380 - 'yield from' (closes #11682)
Benjamin Peterson [Fri, 13 Jan 2012 02:10:29 +0000 (21:10 -0500)]
move do_title to a better place
Antoine Pitrou [Thu, 12 Jan 2012 21:46:19 +0000 (22:46 +0100)]
Issue #13748: Raw bytes literals can now be written with the `rb` prefix as well as `br`.
Antoine Pitrou [Thu, 12 Jan 2012 21:38:13 +0000 (22:38 +0100)]
test_strlit was never run
Antoine Pitrou [Thu, 12 Jan 2012 21:36:48 +0000 (22:36 +0100)]
test_strlit was never run
Benjamin Peterson [Thu, 12 Jan 2012 20:40:18 +0000 (15:40 -0500)]
make fix_decimal_and_space_to_ascii check if it modifies the string
Benjamin Peterson [Thu, 12 Jan 2012 20:26:20 +0000 (15:26 -0500)]
merge heads
Benjamin Peterson [Thu, 12 Jan 2012 20:25:41 +0000 (15:25 -0500)]
kill capwords implementation which has been disabled since the begining
Terry Jan Reedy [Thu, 12 Jan 2012 19:51:14 +0000 (14:51 -0500)]
Merge #11633 At least 2 people prefer earlier revision.
Terry Jan Reedy [Thu, 12 Jan 2012 19:49:02 +0000 (14:49 -0500)]
#11633 At least 2 people prefer earlier revision.
Antoine Pitrou [Thu, 12 Jan 2012 07:06:49 +0000 (08:06 +0100)]
Issue #13724: improve documentation for socket.create_connection.
Antoine Pitrou [Thu, 12 Jan 2012 07:06:19 +0000 (08:06 +0100)]
Issue #13724: improve documentation for socket.create_connection.
Benjamin Peterson [Thu, 12 Jan 2012 02:00:48 +0000 (21:00 -0500)]
merge 3.2
Benjamin Peterson [Thu, 12 Jan 2012 02:00:42 +0000 (21:00 -0500)]
remove some usage of Py_UNICODE_TOUPPER/LOWER
Benjamin Peterson [Thu, 12 Jan 2012 02:00:16 +0000 (21:00 -0500)]
fold into one if statement
Benjamin Peterson [Wed, 11 Jan 2012 23:17:40 +0000 (18:17 -0500)]
merge heads
Benjamin Peterson [Wed, 11 Jan 2012 23:17:06 +0000 (18:17 -0500)]
use full unicode mappings for upper/lower/title case (#12736)
Also broaden the category of characters that count as lowercase/uppercase.
Terry Jan Reedy [Wed, 11 Jan 2012 19:56:22 +0000 (14:56 -0500)]
Merge with 3.2
Terry Jan Reedy [Wed, 11 Jan 2012 19:54:34 +0000 (14:54 -0500)]
Minor correction. #11418
Terry Jan Reedy [Wed, 11 Jan 2012 19:14:14 +0000 (14:14 -0500)]
Merge with 3.2
#11633 Clarify print buffering (will change again if 13761 adds flush param).
Terry Jan Reedy [Wed, 11 Jan 2012 19:09:49 +0000 (14:09 -0500)]
Closes #11633 Clarify print buffering.
Terry Jan Reedy [Wed, 11 Jan 2012 08:32:43 +0000 (03:32 -0500)]
Merge with 3.2
#13754 String returned if less than *or equal to* x 3
*13753 'seq' now 'iterable'
Terry Jan Reedy [Wed, 11 Jan 2012 08:29:42 +0000 (03:29 -0500)]
#13754 String returned if less than *or equal to* x 3
Close *13753 'seq' now 'iterable'
Antoine Pitrou [Tue, 10 Jan 2012 22:46:26 +0000 (23:46 +0100)]
Remove unused certificate from the test directory.
Antoine Pitrou [Tue, 10 Jan 2012 22:45:54 +0000 (23:45 +0100)]
Remove unused certificate from the test directory.
Victor Stinner [Tue, 10 Jan 2012 21:44:11 +0000 (22:44 +0100)]
Fix _PyFaulthandler_Fini() so it can be called before _PyFaulthandler_Init()
Charles-François Natali [Tue, 10 Jan 2012 19:25:09 +0000 (20:25 +0100)]
Issue #13757: Change os.fdlistdir() so that it duplicates the passed file
descriptor (instead of closing it).
Senthil Kumaran [Tue, 10 Jan 2012 17:30:23 +0000 (01:30 +0800)]
Merge from 3.2 - Issue9637 - Explain in getproxies_environment that <scheme>_proxy environ variable case does not matter.
Senthil Kumaran [Tue, 10 Jan 2012 17:29:08 +0000 (01:29 +0800)]
Issue9637 - Explain in getproxies_environment that <scheme>_proxy environ variable case does not matter.
Terry Jan Reedy [Mon, 9 Jan 2012 23:33:27 +0000 (18:33 -0500)]
Merge with 3.2
Terry Jan Reedy [Mon, 9 Jan 2012 23:20:09 +0000 (18:20 -0500)]
#11906 Make test_argparse work interactively by removing extra space
in comparison string that argparse does not add when program name is blank.
Charles-François Natali [Mon, 9 Jan 2012 21:40:02 +0000 (22:40 +0100)]
Issue #12760: Add a create mode to open(). Patch by David Townshend.
Antoine Pitrou [Mon, 9 Jan 2012 20:46:11 +0000 (21:46 +0100)]
Merge SSL doc fixes (issue #13747).
Antoine Pitrou [Mon, 9 Jan 2012 20:43:18 +0000 (21:43 +0100)]
Issue #13747: fix SSL compatibility table.
Antoine Pitrou [Mon, 9 Jan 2012 20:35:11 +0000 (21:35 +0100)]
Issue #13747: fix documentation error about the default SSL version.
Raymond Hettinger [Mon, 9 Jan 2012 20:02:24 +0000 (20:02 +0000)]
Fix nasty typo
Giampaolo Rodola' [Mon, 9 Jan 2012 16:10:10 +0000 (17:10 +0100)]
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)
Raymond Hettinger [Mon, 9 Jan 2012 06:17:39 +0000 (06:17 +0000)]
Make the docstring style consistent.
Raymond Hettinger [Mon, 9 Jan 2012 06:02:08 +0000 (06:02 +0000)]
Improve clarity with keyword argument for block. Move nowait methods together.
Raymond Hettinger [Mon, 9 Jan 2012 05:32:01 +0000 (05:32 +0000)]
Minor code clean-ups and beautifications.
Charles-François Natali [Sun, 8 Jan 2012 19:30:47 +0000 (20:30 +0100)]
Backed out changeset
36f2e236c601 : For some reason, rewinddir() doesn't work as
it should on OpenIndiana.
Charles-François Natali [Sun, 8 Jan 2012 18:07:18 +0000 (19:07 +0100)]
Issue #13739: It's simpler and more direct to call rewinddir() at the
beginning.
Charles-François Natali [Sun, 8 Jan 2012 17:34:06 +0000 (18:34 +0100)]
Issue #13739: In os.listdir(), rewind the directory stream (so that listdir()
can be called again on the same open file).
Antoine Pitrou [Sun, 8 Jan 2012 15:22:46 +0000 (16:22 +0100)]
Issue #13738: Simplify implementation of bytes.lower() and bytes.upper().
Ross Lagerwall [Sun, 8 Jan 2012 06:42:03 +0000 (08:42 +0200)]
Merge with 3.2 for #12364.
Ross Lagerwall [Sun, 8 Jan 2012 06:29:40 +0000 (08:29 +0200)]
Issue #12364: Fix a hang in concurrent.futures.ProcessPoolExecutor.
Raymond Hettinger [Sat, 7 Jan 2012 23:32:52 +0000 (15:32 -0800)]
Simplify the code using with-statements.
Vinay Sajip [Sat, 7 Jan 2012 23:26:17 +0000 (23:26 +0000)]
Closes #13732: now use os.linesep instead of a literal newline.
Sandro Tosi [Sat, 7 Jan 2012 17:34:24 +0000 (18:34 +0100)]
merge with 3.2
Sandro Tosi [Sat, 7 Jan 2012 17:34:07 +0000 (18:34 +0100)]
Py_SetPythonHome() can be called before Py_Initialize(); thanks to Cody Smith from docs@
Charles-François Natali [Sat, 7 Jan 2012 17:26:39 +0000 (18:26 +0100)]
Issue #13502: threading: Fix a race condition in Event.wait() that made it
return False when the event was set and cleared right after.
Charles-François Natali [Sat, 7 Jan 2012 17:24:56 +0000 (18:24 +0100)]
Issue #13502: threading: Fix a race condition in Event.wait() that made it
return False when the event was set and cleared right after.
Sandro Tosi [Sat, 7 Jan 2012 16:57:24 +0000 (17:57 +0100)]
merge with 3.2
Sandro Tosi [Sat, 7 Jan 2012 16:56:58 +0000 (17:56 +0100)]
clarify recv* are blocking operations; thanks to Chris Kogelnik from docs@
Antoine Pitrou [Fri, 6 Jan 2012 19:16:19 +0000 (20:16 +0100)]
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.
Antoine Pitrou [Fri, 6 Jan 2012 19:09:29 +0000 (20:09 +0100)]
Update printout of SSL certificate examples for 3.2+.
Antoine Pitrou [Fri, 6 Jan 2012 19:06:15 +0000 (20:06 +0100)]
Update printout of SSL certificate examples for 3.2+.
Sandro Tosi [Thu, 5 Jan 2012 18:49:27 +0000 (19:49 +0100)]
Issue #12042: merge with 3.2
Sandro Tosi [Thu, 5 Jan 2012 18:48:56 +0000 (19:48 +0100)]
Issue #12042: a queue is only used to retrive results; preliminary patch by Jordan Stadler
Sandro Tosi [Thu, 5 Jan 2012 18:06:56 +0000 (19:06 +0100)]
Issue #11984: merge with 3.2
Sandro Tosi [Thu, 5 Jan 2012 18:06:25 +0000 (19:06 +0100)]
Issue #11984: remove reference to parser, it's not showing symbol usage anymore
Lars Gustäbel [Thu, 5 Jan 2012 17:53:00 +0000 (18:53 +0100)]
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.
Lars Gustäbel [Thu, 5 Jan 2012 17:48:06 +0000 (18:48 +0100)]
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.
Vinay Sajip [Thu, 5 Jan 2012 11:46:20 +0000 (11:46 +0000)]
Closes #13699: merged fix from 3.2.
Vinay Sajip [Thu, 5 Jan 2012 11:45:31 +0000 (11:45 +0000)]
Closes #13699. Skipped two tests if Python is optimised.
Sandro Tosi [Wed, 4 Jan 2012 22:25:20 +0000 (23:25 +0100)]
merge with 3.2
Sandro Tosi [Wed, 4 Jan 2012 22:25:04 +0000 (23:25 +0100)]
Issue #10772: add count and help argparse action; patch by Marc Sibson
Antoine Pitrou [Wed, 4 Jan 2012 17:57:22 +0000 (18:57 +0100)]
Issue #13713: fix a regression in HTTP chunked reading after
806cfe39f729
(originally issue #13464: Add a readinto() method to http.client.HTTPResponse)
Benjamin Peterson [Wed, 4 Jan 2012 16:12:14 +0000 (10:12 -0600)]
convince regrtest.py we aren't modifying _CONFIG_VARS
Jason R. Coombs [Wed, 4 Jan 2012 15:20:37 +0000 (10:20 -0500)]
Corrected typo in install docs
Vinay Sajip [Wed, 4 Jan 2012 12:07:30 +0000 (12:07 +0000)]
Closes #13699. Skipped two tests if Python is optimised.
Vinay Sajip [Wed, 4 Jan 2012 12:02:26 +0000 (12:02 +0000)]
Refactored logging rotating handlers for improved flexibility.
Senthil Kumaran [Wed, 4 Jan 2012 06:47:30 +0000 (14:47 +0800)]
merge from 3.2
Senthil Kumaran [Wed, 4 Jan 2012 05:46:59 +0000 (13:46 +0800)]
Issue13696 - Fix 302 Redirection for Relative urls.
Victor Stinner [Wed, 4 Jan 2012 02:59:16 +0000 (03:59 +0100)]
Fix PyUnicode_Fill() doc: return type is Py_ssize_t, not int
Antoine Pitrou [Wed, 4 Jan 2012 01:54:12 +0000 (02:54 +0100)]
Add a subsection explaning cipher selection.
Antoine Pitrou [Wed, 4 Jan 2012 01:53:44 +0000 (02:53 +0100)]
Add a subsection explaning cipher selection.
Victor Stinner [Tue, 3 Jan 2012 23:33:50 +0000 (00:33 +0100)]
Add a new PyUnicode_Fill() function
It is faster than the unicode_fill() function which was implemented in
formatter_unicode.c.
Benjamin Peterson [Tue, 3 Jan 2012 22:48:14 +0000 (16:48 -0600)]
merge 3.2
Benjamin Peterson [Tue, 3 Jan 2012 22:47:22 +0000 (16:47 -0600)]
fix formatting
Benjamin Peterson [Tue, 3 Jan 2012 22:30:47 +0000 (16:30 -0600)]
merge 3.2
Benjamin Peterson [Tue, 3 Jan 2012 22:30:37 +0000 (16:30 -0600)]
exception support is correct now (closes #13705)
Benjamin Peterson [Tue, 3 Jan 2012 22:26:34 +0000 (16:26 -0600)]
merge 3.2
Benjamin Peterson [Tue, 3 Jan 2012 22:24:39 +0000 (16:24 -0600)]
merge 3.1
Benjamin Peterson [Tue, 3 Jan 2012 22:23:11 +0000 (16:23 -0600)]
fix this to not depend on dictionary order
Antoine Pitrou [Tue, 3 Jan 2012 21:50:16 +0000 (22:50 +0100)]
Merge
Antoine Pitrou [Tue, 3 Jan 2012 21:49:56 +0000 (22:49 +0100)]
Merge
Antoine Pitrou [Tue, 3 Jan 2012 21:49:08 +0000 (22:49 +0100)]
Issue #13636: Weak ciphers are now disabled by default in the ssl module
(except when SSLv2 is explicitly asked for).
Sandro Tosi [Tue, 3 Jan 2012 21:47:28 +0000 (22:47 +0100)]
merge with 3.2