]>
granicus.if.org Git - python/log
Senthil Kumaran [Sat, 17 May 2014 01:51:46 +0000 (18:51 -0700)]
Backport Fix for Issue #7776: Fix ``Host:'' header and reconnection when using http.client.HTTPConnection.set_tunnel().
Patch by Nikolaus Rath.
Terry Jan Reedy [Fri, 16 May 2014 00:49:57 +0000 (20:49 -0400)]
Issue #18104: revise docstrings, remove obsolete comments.
Victor Stinner [Wed, 14 May 2014 21:28:48 +0000 (23:28 +0200)]
Issue #21488: Oops, the patch for codecs.encode/decode doc was written by
Berker Peksag (already present in Misc/ACKS). The issue was reported by Brad
Aylsworth.
Victor Stinner [Wed, 14 May 2014 15:07:08 +0000 (17:07 +0200)]
Issue #21488: Fix doc of codecs.decode() and codecs.encode(), no keyword support.
Patch written by Brad Aylsworth.
R David Murray [Wed, 14 May 2014 14:09:21 +0000 (10:09 -0400)]
#21347: use string not list in shell=True example.
Patch by Akira.
Raymond Hettinger [Wed, 14 May 2014 05:09:23 +0000 (22:09 -0700)]
Issue #21470: Do a better job seeding the random number generator
to fully cover its state space.
Raymond Hettinger [Tue, 13 May 2014 05:18:50 +0000 (22:18 -0700)]
Issue 21469: Mitigate risk of false positives with robotparser.
* Repair the broken link to norobots-rfc.txt.
* HTTP response codes >= 500 treated as a failed read rather than as a not
found. Not found means that we can assume the entire site is allowed. A 5xx
server error tells us nothing.
* A successful read() or parse() updates the mtime (which is defined to be "the
time the robots.txt file was last fetched").
* The can_fetch() method returns False unless we've had a read() with a 2xx or
4xx response. This avoids false positives in the case where a user calls
can_fetch() before calling read().
* I don't see any easy way to test this patch without hitting internet
resources that might change or without use of mock objects that wouldn't
provide must reassurance.
Terry Jan Reedy [Mon, 12 May 2014 03:37:26 +0000 (23:37 -0400)]
whitespace
Terry Jan Reedy [Mon, 12 May 2014 03:32:20 +0000 (23:32 -0400)]
Issue #18104: Add idlelib/idle_test/htest.py with a few sample tests to begin
consolidating and improving human-validated tests of Idle. Change other files
as needed to work with htest. Running the module as __main__ runs all tests.
Benjamin Peterson [Sun, 11 May 2014 23:17:02 +0000 (16:17 -0700)]
use logical rather than bit and
Benjamin Peterson [Sun, 11 May 2014 23:16:27 +0000 (16:16 -0700)]
this file now has utf-8 chars
Benjamin Peterson [Sun, 11 May 2014 23:14:00 +0000 (16:14 -0700)]
cast away warnings
Benjamin Peterson [Sun, 11 May 2014 23:11:44 +0000 (16:11 -0700)]
backport hmac.compare_digest to partially implement PEP 466 (closes #21306)
Backport from Alex Gaynor.
Benjamin Peterson [Sun, 11 May 2014 18:18:51 +0000 (11:18 -0700)]
remove confusing delete indexing (closes #21466)
Steve Dower [Sun, 11 May 2014 04:25:54 +0000 (21:25 -0700)]
Issue #21476 Include idle icon files in Windows installer
Brian Curtin [Sat, 10 May 2014 17:52:59 +0000 (12:52 -0500)]
Backport
4e9f1017355f from #3561.
This brings the option to install Python on the Windows Path.
Committed per Benjamin Peterson's approval on python-dev.
Antoine Pitrou [Thu, 8 May 2014 17:26:04 +0000 (19:26 +0200)]
Issue #21350: Fix file.writelines() to accept arbitrary buffer objects, as advertised.
Patch by Brian Kearns.
doko@ubuntu.com [Wed, 7 May 2014 02:41:26 +0000 (04:41 +0200)]
- Issue #17752: Fix distutils tests when run from the installed location.
Zachary Ware [Tue, 6 May 2014 14:18:17 +0000 (09:18 -0500)]
Add prompts to interactive example.
This makes it match the new example below, and allows Sphinx's
"hide the prompts and output" feature to work.
Zachary Ware [Tue, 6 May 2014 14:07:13 +0000 (09:07 -0500)]
Issue #21366: Document the fact that ``return`` in a ``finally`` clause
overrides a ``return`` in the ``try`` suite.
Raymond Hettinger [Sat, 3 May 2014 22:27:14 +0000 (15:27 -0700)]
Issue 21375: Fix possible Py_ssizet overflow in heapq.
Zachary Ware [Fri, 2 May 2014 15:33:49 +0000 (10:33 -0500)]
Issue #18604: Consolidated checks for GUI availability.
test_support._is_gui_available is now defined the same way on every
platform, and now includes the Windows-specific check that had been in the
Windows version of _is_gui_available and the OSX-specific check that was
in runtktests.check_tk_availability. Also, every platform checks whether
Tk can be instantiated (if the platform-specific checks passed).
Tim Golden [Tue, 29 Apr 2014 15:11:18 +0000 (16:11 +0100)]
Issue #19630 Emphasise that the file parameter to marshal.dump must be a real file object
Antoine Pitrou [Tue, 29 Apr 2014 10:13:46 +0000 (12:13 +0200)]
Issue #21321: itertools.islice() now releases the reference to the source iterator when the slice is exhausted.
Patch by Anton Afanasyev.
Terry Jan Reedy [Tue, 29 Apr 2014 05:19:05 +0000 (01:19 -0400)]
Closes #21055: Index (augmented) assignment symbols.
Terry Jan Reedy [Tue, 29 Apr 2014 04:58:48 +0000 (00:58 -0400)]
Closes 21048: Index 'as' in import and with statements.
Terry Jan Reedy [Tue, 29 Apr 2014 04:31:46 +0000 (00:31 -0400)]
Closes #21026: Augment site doc based on experiments. Patch by Carol Willing.
Andrew Kuchling [Fri, 25 Apr 2014 13:29:30 +0000 (09:29 -0400)]
#21225: copy docstrings from base classes
Tim Golden [Sun, 27 Apr 2014 15:39:33 +0000 (16:39 +0100)]
Issue #9291 Add ACKS & NEWS
Tim Golden [Sun, 27 Apr 2014 15:36:47 +0000 (16:36 +0100)]
Issue #9291 Do not attempt to re-encode mimetype data read from registry in ANSI mode. Initial patches by Dmitry Jemerov & Vladimir Iofik
R David Murray [Sat, 26 Apr 2014 23:05:03 +0000 (19:05 -0400)]
#18243: Remove obsolete cautionary note from email mktime_tz docs.
Stefan Krah [Sat, 26 Apr 2014 20:50:25 +0000 (22:50 +0200)]
Issue #17145: Document array.array buffer interface limitations.
Terry Jan Reedy [Sat, 26 Apr 2014 17:55:59 +0000 (13:55 -0400)]
Issue #18944: backport typo fix
Tim Golden [Sat, 26 Apr 2014 15:02:38 +0000 (16:02 +0100)]
Add NEWS entry for issue21349
Tim Golden [Sat, 26 Apr 2014 14:47:08 +0000 (15:47 +0100)]
Issue21349 Passing a memoryview to _winreg.SetValueEx now correctly raises a TypeError where it previously crashed the interpreter. Patch by Brian Kearns
Kristján Valur Jónsson [Fri, 25 Apr 2014 09:51:21 +0000 (09:51 +0000)]
Issue #20434 Correct error handlin of _PyString_Resize and _PyBytes_Resize
Zachary Ware [Thu, 24 Apr 2014 18:20:27 +0000 (13:20 -0500)]
Issue #21346: Fix typos in test_itertools. Patch by Brian Kearns.
Benjamin Peterson [Wed, 23 Apr 2014 01:54:10 +0000 (21:54 -0400)]
fix off-by-one error (closes #21330)
Zachary Ware [Tue, 22 Apr 2014 20:36:11 +0000 (15:36 -0500)]
Issue #21303, #20565: Updated the version of Tcl/Tk used on Windows
from 8.5.2 to 8.5.15.
Terry Jan Reedy [Tue, 22 Apr 2014 05:26:35 +0000 (01:26 -0400)]
Issue #21138: Change default reformat paragraph width to PEP 8's 72.
Terry Jan Reedy [Tue, 22 Apr 2014 05:10:57 +0000 (01:10 -0400)]
Issue 21284: Idle: make test_formatparagraph pass even when a user changes the
reformat width in the configuration menu.
Ned Deily [Sat, 19 Apr 2014 20:24:03 +0000 (13:24 -0700)]
Issue #21311: Avoid exception in _osx_support with non-standard compiler
configurations. Patch by John Szakmeister.
doko@ubuntu.com [Thu, 17 Apr 2014 18:11:19 +0000 (20:11 +0200)]
- Issue #21285: Refactor and fix curses configure check to always search
in a ncursesw directory.
R David Murray [Thu, 17 Apr 2014 01:57:38 +0000 (21:57 -0400)]
#18628: clarify index entry for source file encoding declaration.
Terry Jan Reedy [Wed, 16 Apr 2014 03:44:10 +0000 (23:44 -0400)]
#18566: Whitespace
Terry Jan Reedy [Wed, 16 Apr 2014 03:38:11 +0000 (23:38 -0400)]
Issue #18566: Clarify unittest setUp, tearDown doc. Patch by Nitika Agarwal.
Vinay Sajip [Tue, 15 Apr 2014 22:11:15 +0000 (23:11 +0100)]
Issue #21245: updated documentation on exception() method and function.
Andrew Kuchling [Tue, 15 Apr 2014 20:44:43 +0000 (16:44 -0400)]
#
1704474 : mark refleak test as specific to CPython
Patch by Christian Hudon.
Andrew Kuchling [Tue, 15 Apr 2014 20:07:52 +0000 (16:07 -0400)]
#15840: make docs consistent by saying operations on closed files raise ValueError.
Patch by Caelyn McAulay.
Neither Caelyn nor I could find any cases in 2.7 or 3.4/5 where an
operation on a closed stream raised IOError; generally the C
implementation have a macro to check for the stream being closed, and
these macros all raised ValueError. If we find any, a new bug should
be opened.
Gregory P. Smith [Tue, 15 Apr 2014 15:01:27 +0000 (08:01 -0700)]
whitespace chaps my hide
Gregory P. Smith [Tue, 15 Apr 2014 14:59:44 +0000 (07:59 -0700)]
Some cleanup of the subprocess docs in 2.7. Adds a reference to the
subprocess32 project in PyPI for posix users.
Benjamin Peterson [Mon, 14 Apr 2014 23:57:52 +0000 (19:57 -0400)]
add missing NULL check
Benjamin Peterson [Mon, 14 Apr 2014 23:45:46 +0000 (19:45 -0400)]
when an exception is raised in fdopen, never close the fd (changing on my mind on #21191)
Benjamin Peterson [Mon, 14 Apr 2014 23:25:36 +0000 (19:25 -0400)]
Backed out changeset
81abb121dc65
Benjamin Peterson [Mon, 14 Apr 2014 20:51:29 +0000 (16:51 -0400)]
temporary change to get better debugging from windows bots
Terry Jan Reedy [Mon, 14 Apr 2014 20:17:09 +0000 (16:17 -0400)]
Closes #20956: 2.7 tokenize does not produce named tuples. Patch by Sam Kimbrel.
Benjamin Peterson [Mon, 14 Apr 2014 16:24:37 +0000 (12:24 -0400)]
do not generate pipe names in the temporary dir
Benjamin Peterson [Mon, 14 Apr 2014 15:43:09 +0000 (11:43 -0400)]
disallow a negative idx parameter
Mark Dickinson [Mon, 14 Apr 2014 15:33:46 +0000 (11:33 -0400)]
Issue #20624: Merge exception docs tweak from 3.4 branch.
Eric V. Smith [Mon, 14 Apr 2014 15:22:33 +0000 (11:22 -0400)]
Issue #12546: Allow \x00 as a fill character for builtin type __format__ methods.
Benjamin Peterson [Mon, 14 Apr 2014 02:10:38 +0000 (22:10 -0400)]
in scan_once, prevent the reading of arbitrary memory when passed a negative index
Bug reported by Guido Vranken.
Ned Deily [Sat, 12 Apr 2014 16:31:28 +0000 (09:31 -0700)]
Remove references to the obsolete Mac Carbon modules in the GUI
section of the FAQ.
Terry Jan Reedy [Fri, 11 Apr 2014 18:11:00 +0000 (14:11 -0400)]
Issue #21170: Removed invalid parameter names from unittest doc.
Patch by Kushal Das.
Vinay Sajip [Thu, 10 Apr 2014 06:07:59 +0000 (07:07 +0100)]
Issue #21172: isinstance check relaxed from dict to collections.Mapping.
Benjamin Peterson [Thu, 10 Apr 2014 04:23:18 +0000 (00:23 -0400)]
teach 2to3 about 'yield from'
Benjamin Peterson [Thu, 10 Apr 2014 04:12:47 +0000 (00:12 -0400)]
add matrix multiplication operator support to 2to3
Ned Deily [Wed, 9 Apr 2014 23:13:46 +0000 (16:13 -0700)]
Issue #21187: Fix OS X installer fail-to-build with Xcode 5.1.
Ned Deily [Wed, 9 Apr 2014 23:12:11 +0000 (16:12 -0700)]
Issue #20644: Keep build-installer.py in sync across active versions.
Benjamin Peterson [Wed, 9 Apr 2014 19:40:18 +0000 (15:40 -0400)]
make sure fdopen always closes the fd in error cases (closes #21191)
Senthil Kumaran [Wed, 9 Apr 2014 15:41:02 +0000 (11:41 -0400)]
issue #21190: Fix the docs README link
Mark Dickinson [Wed, 9 Apr 2014 11:03:27 +0000 (07:03 -0400)]
Issue #21179: Fix description of 'round' function for numbers.Real.
Benjamin Peterson [Tue, 8 Apr 2014 14:51:20 +0000 (10:51 -0400)]
use imperative
Benjamin Peterson [Tue, 8 Apr 2014 14:50:54 +0000 (10:50 -0400)]
PySequence_Fast generally returns a list (#16305)
Benjamin Peterson [Tue, 8 Apr 2014 14:48:36 +0000 (10:48 -0400)]
PySequence_Fast generally returns a list not a tuple (closes #16395)
Benjamin Peterson [Tue, 8 Apr 2014 14:44:30 +0000 (10:44 -0400)]
the name of the slot of nb_multiply not nb_mul
Benjamin Peterson [Mon, 7 Apr 2014 23:34:33 +0000 (19:34 -0400)]
fix verb (closes #21174)
Senthil Kumaran [Sun, 6 Apr 2014 17:58:51 +0000 (10:58 -0700)]
minor docfix (reported at docs@python.org) trace.py argument is --count not --counts
Benjamin Peterson [Fri, 4 Apr 2014 17:59:33 +0000 (13:59 -0400)]
use with statement
Benjamin Peterson [Fri, 4 Apr 2014 17:56:44 +0000 (13:56 -0400)]
explicitly close file object (#21128)
Benjamin Peterson [Fri, 4 Apr 2014 17:56:26 +0000 (13:56 -0400)]
properly explicitly close file (#21128)
Benjamin Peterson [Fri, 4 Apr 2014 17:55:56 +0000 (13:55 -0400)]
make temporary read-only files writable, so rmtree can remove them (#21128)
Benjamin Peterson [Fri, 4 Apr 2014 13:58:13 +0000 (09:58 -0400)]
note that the hash of an arbitrary object is only derived from its address (closes #21154)
Patch from Armin Rigo.
Vinay Sajip [Fri, 4 Apr 2014 09:47:53 +0000 (10:47 +0100)]
Issue #21149: Improved thread-safety in logging cleanup during interpreter shutdown.
Benjamin Peterson [Thu, 3 Apr 2014 14:31:25 +0000 (10:31 -0400)]
properly close files in test_zipfile (#20887)
Patch by Matti Picus.
Benjamin Peterson [Wed, 2 Apr 2014 19:51:38 +0000 (15:51 -0400)]
make sure to test UnicodeEncodeError, too
Benjamin Peterson [Wed, 2 Apr 2014 16:15:06 +0000 (12:15 -0400)]
bail in unicode error's __str__ methods if the objects are not properly initialized (closes #21134)
Raymond Hettinger [Wed, 2 Apr 2014 05:11:34 +0000 (22:11 -0700)]
Issue 21125: minor wording tweak.
Zachary Ware [Tue, 1 Apr 2014 17:18:58 +0000 (12:18 -0500)]
Issue #15067: Remove reference to a rejected PEP.
Further explanation of the concept stands alone without this reference,
no need to potentially confuse people by bringing up a feature that
doesn't exist.
Benjamin Peterson [Mon, 31 Mar 2014 17:44:53 +0000 (13:44 -0400)]
use https docs url (#21115)
Benjamin Peterson [Mon, 31 Mar 2014 00:33:47 +0000 (20:33 -0400)]
add Ian Beer
Benjamin Peterson [Mon, 31 Mar 2014 00:09:44 +0000 (20:09 -0400)]
fix overflow detection of strop.expandtabs
Benjamin Peterson [Sun, 30 Mar 2014 23:47:57 +0000 (19:47 -0400)]
fix expandtabs overflow detection to be consistent and not rely on signed overflow
Benjamin Peterson [Sun, 30 Mar 2014 23:23:24 +0000 (19:23 -0400)]
add braces and fix indentation
Benjamin Peterson [Sun, 30 Mar 2014 23:16:44 +0000 (19:16 -0400)]
fix indentation and add braces
Benjamin Peterson [Sun, 30 Mar 2014 20:43:11 +0000 (16:43 -0400)]
support CDN purging
Raymond Hettinger [Sun, 30 Mar 2014 04:01:50 +0000 (21:01 -0700)]
Issue #21029: IDLE now colors print consistently as a keyword.
Raymond Hettinger [Sat, 29 Mar 2014 18:49:11 +0000 (11:49 -0700)]
Minor readability improvement.
Ned Deily [Sat, 29 Mar 2014 07:07:42 +0000 (00:07 -0700)]
Issue #21093: Prevent failures of ctypes test_macholib on OS X if a
copy of libz exists in $HOME/lib or /usr/local/lib.
Georg Brandl [Fri, 28 Mar 2014 19:07:35 +0000 (20:07 +0100)]
Update suspicious ignore file.
Ned Deily [Fri, 28 Mar 2014 03:47:04 +0000 (20:47 -0700)]
Issue #17654: Ensure IDLE menus are customized properly on OS X for
non-framework builds and for all variants of Tk.