]>
granicus.if.org Git - python/log
Terry Jan Reedy [Tue, 19 Aug 2014 21:17:51 +0000 (17:17 -0400)]
Idle ColorDelegator: remove special case code for 'as' in import statements.
'As' became a full keyword when with statements were added in 2.5/2.6.
Serhiy Storchaka [Tue, 19 Aug 2014 15:20:07 +0000 (18:20 +0300)]
Fixed typo.
Serhiy Storchaka [Tue, 19 Aug 2014 14:03:42 +0000 (17:03 +0300)]
Issue #15696: Add a __sizeof__ implementation for mmap objects on Windows.
Serhiy Storchaka [Mon, 18 Aug 2014 14:46:34 +0000 (17:46 +0300)]
Clean up test_user_command.
Serhiy Storchaka [Sun, 17 Aug 2014 12:31:41 +0000 (15:31 +0300)]
Issue #22068: Avoided reference loops with Variables and Fonts in Tkinter.
Serhiy Storchaka [Sun, 17 Aug 2014 12:11:06 +0000 (15:11 +0300)]
Issue #22201: Command-line interface of the zipfile module now correctly
extracts ZIP files with directory entries. Patch by Ryan Wilson.
Serhiy Storchaka [Sun, 17 Aug 2014 10:29:13 +0000 (13:29 +0300)]
Removed useless Py_LIMITED_API checks.
Support for Py_LIMITED_API was introduced in Python 3.2.
Thanks Arfrever Frehtes Taifersar Arahesis.
Senthil Kumaran [Sat, 16 Aug 2014 17:21:33 +0000 (22:51 +0530)]
backout changeset
e0510a3bdf8f - due to buildbot failures. Ref: Issue #8797
Victor Stinner [Sat, 16 Aug 2014 12:31:02 +0000 (14:31 +0200)]
Closes #22188: test_gdb now runs gdb with -nx: "Do not execute commands from
any .gdbinit initialization files".
Senthil Kumaran [Sat, 16 Aug 2014 08:46:14 +0000 (14:16 +0530)]
Fix Issue #8797: Raise HTTPError on failed Basic Authentication immediately. Initial patch by Sam Bull.
Terry Jan Reedy [Fri, 15 Aug 2014 01:54:38 +0000 (21:54 -0400)]
Issue #17390: Adjust Editor window title. Remove 'Python', move version to end.
Serhiy Storchaka [Thu, 14 Aug 2014 19:20:23 +0000 (22:20 +0300)]
Issue #22193: Added private function _PySys_GetSizeOf() needed to implement
some __sizeof__() methods.
Serhiy Storchaka [Tue, 12 Aug 2014 17:22:27 +0000 (20:22 +0300)]
Decreased memory requirements of new tests added in issue21448.
Serhiy Storchaka [Tue, 12 Aug 2014 10:58:23 +0000 (13:58 +0300)]
Issue #21448: Fixed FeedParser feed() to avoid O(N**2) behavior when parsing long line.
Original patch by Raymond Hettinger.
Serhiy Storchaka [Tue, 12 Aug 2014 09:54:55 +0000 (12:54 +0300)]
Issue #17923: glob() patterns ending with a slash no longer match non-dirs on
AIX. Based on patch by Delhallt.
Zachary Ware [Mon, 11 Aug 2014 19:58:37 +0000 (14:58 -0500)]
Issue #22178: Fix the date of the Windows epoch (Jan 1, 1601).
Raymond Hettinger [Sun, 10 Aug 2014 17:44:21 +0000 (10:44 -0700)]
Issue #22174: Clean-up grammar and ambiguities in property() docs.
doko@ubuntu.com [Sun, 10 Aug 2014 09:15:28 +0000 (11:15 +0200)]
- Issue #22176: Update the ctypes module's libffi to v3.1. This release
adds support for the Linux AArch64 and POWERPC ELF ABIv2 little endian
architectures.
Benjamin Peterson [Sun, 10 Aug 2014 02:39:55 +0000 (19:39 -0700)]
remove casts
Benjamin Peterson [Sun, 10 Aug 2014 02:39:50 +0000 (19:39 -0700)]
test for 2 arg exec case
Benjamin Peterson [Sun, 10 Aug 2014 02:39:36 +0000 (19:39 -0700)]
restore runtime exec test (#21591)
Terry Jan Reedy [Sat, 9 Aug 2014 03:33:11 +0000 (23:33 -0400)]
Issue #14105: Stop removing breakpoints from Idle editors.
Move BREAK tag configuration to PyShellEditorWindow.
Zachary Ware [Thu, 7 Aug 2014 04:17:20 +0000 (23:17 -0500)]
Issue #22160: Update OpenSSL to 1.0.1i for the Windows build.
Ezio Melotti [Thu, 7 Aug 2014 00:20:22 +0000 (03:20 +0300)]
#22092: use absolute imports in unittest tests. Patch by Vajrasky Kok.
Serhiy Storchaka [Wed, 6 Aug 2014 15:31:54 +0000 (18:31 +0300)]
Issue #18004: test_overflow in test_list by mistake consumed 40 GiB of memory
on 64-bit systems.
Serhiy Storchaka [Wed, 6 Aug 2014 14:50:22 +0000 (17:50 +0300)]
Issue #21975: Fixed crash when using uninitialized sqlite3.Row (in particular
when unpickling pickled sqlite3.Row). sqlite3.Row is now initialized in the
__new__() method.
Vinay Sajip [Tue, 5 Aug 2014 09:32:06 +0000 (10:32 +0100)]
Issue #22130: Corrected fileConfig() documentation.
Ezio Melotti [Tue, 5 Aug 2014 05:14:28 +0000 (08:14 +0300)]
#21928: clarify functools.wraps docs.
Berker Peksag [Tue, 5 Aug 2014 04:15:57 +0000 (07:15 +0300)]
Issue #16037: HTTPMessage.readheaders() raises an HTTPException when more
than 100 headers are read.
Patch by Jyrki Pulliainen and Daniel Eriksson.
Ezio Melotti [Mon, 4 Aug 2014 16:34:29 +0000 (19:34 +0300)]
#18034: update FAQ to suggest importlib.import_module instead of __import__. Patch by Wouter van Heyst.
Terry Jan Reedy [Mon, 4 Aug 2014 03:02:53 +0000 (23:02 -0400)]
PEP 8 spacing in idlelib.configDialog: mostly a = b in assignments,
a, b in arg lists, and hanging indents for long arg lists.
Jason R. Coombs [Sun, 3 Aug 2014 18:57:20 +0000 (14:57 -0400)]
Issue #13540: Merge commits
Jason R. Coombs [Sun, 3 Aug 2014 18:54:11 +0000 (14:54 -0400)]
Issue #13540: Update references to Action class to match syntax used for other classes in this file.
Raymond Hettinger [Sat, 2 Aug 2014 06:51:51 +0000 (23:51 -0700)]
Fix typo in comment.
doko@ubuntu.com [Fri, 1 Aug 2014 15:48:17 +0000 (17:48 +0200)]
- update config.guess and config.sub to support openrisc.
Serhiy Storchaka [Thu, 31 Jul 2014 04:48:14 +0000 (07:48 +0300)]
Issue #21580: Now Tkinter correctly handles binary "data" and "maskdata"
configure options of tkinter.PhotoImage.
Added private Tkapp method _createbytearray().
Terry Jan Reedy [Wed, 30 Jul 2014 23:24:26 +0000 (19:24 -0400)]
Issue #22068: Don't create self reference cycles in idlelib.ConfigDialog.
In 2.7, these become leaks and cause test_gc to fail.
Serhiy Storchaka [Wed, 30 Jul 2014 07:58:34 +0000 (10:58 +0300)]
Issue #21951: Temporary skip crashing test_user_command on AIX.
Victor Stinner [Tue, 29 Jul 2014 22:39:05 +0000 (00:39 +0200)]
Issue #22023: Fix %S, %R and %V formats of PyUnicode_FromFormat().
Robert Jordens [Tue, 29 Jul 2014 15:24:24 +0000 (17:24 +0200)]
Issue #21591: add test for qualified exec in tuple form.
Dirkjan Ochtman [Tue, 29 Jul 2014 15:21:39 +0000 (17:21 +0200)]
Issue #21591: Handle exec backwards compatibility in the AST builder.
Instead of deferring until runtime. This makes sure we hit the right
conditions in dealing with unqualified exec statements.
Reviewed by Victor Stinner. Test follows in a later commit.
Victor Stinner [Mon, 28 Jul 2014 22:04:54 +0000 (00:04 +0200)]
Issue #19612: subprocess.communicate() now also ignores EINVAL when using at
least two pipes.
Terry Jan Reedy [Sun, 27 Jul 2014 08:07:18 +0000 (04:07 -0400)]
Reduce unnecessary 2.7 versus 3.4+ differences in idlelib/configDialog.py.
Only change 2.7 version.
Remove ".keys()" from "x in y.keys()" (leave .keys() elsewhere alone).
Change "string.join" to "' '.join" (and string.join(s, ';') to ';'.join(s)).
Change spacing to match 3.4 (will later make spacing changes to both).
Terry Jan Reedy [Sun, 27 Jul 2014 07:00:47 +0000 (03:00 -0400)]
Modernize turtledemo with conditional expressions; remove duplicate line.
Victor Stinner [Sat, 26 Jul 2014 12:52:55 +0000 (14:52 +0200)]
Fix repr(_socket.socket) on Windows 64-bit: don't fail with OverflowError
on closed socket.
Victor Stinner [Sat, 26 Jul 2014 12:47:56 +0000 (14:47 +0200)]
socketmodule.c: backport INVALID_SOCKET from Python 3.5 to simplify the code
Charles-François Natali [Sat, 26 Jul 2014 12:44:50 +0000 (13:44 +0100)]
Issue #19875: Fix random test_getsockaddrarg() failure.
Zachary Ware [Fri, 25 Jul 2014 19:34:19 +0000 (14:34 -0500)]
Issue #21958: Define HAVE_ROUND when building with VS 2013 and above.
Patch by Zachary Turner.
Raymond Hettinger [Fri, 25 Jul 2014 17:26:36 +0000 (10:26 -0700)]
Issue #21990: Cleanup unnecessary inner class definition in saxutils.
Serhiy Storchaka [Fri, 25 Jul 2014 09:23:08 +0000 (12:23 +0300)]
Issue #22061: Add deprecation warnings in empty obsolete methods.
Terry Jan Reedy [Fri, 25 Jul 2014 07:06:27 +0000 (03:06 -0400)]
Issue #22061: remove call of useless function slated for removal.
Terry Jan Reedy [Fri, 25 Jul 2014 05:56:17 +0000 (01:56 -0400)]
Issue #22053: Make help work, after previous patch for this issue disabled it
by removing global 'demo'. Refactor and remove duplicate code.
Victor Stinner [Thu, 24 Jul 2014 20:11:21 +0000 (22:11 +0200)]
Issue #19884, readline: calling rl_variable_bind ("enable-meta-key", "off")
does crash on Mac OS X which uses libedit instead of readline.
Victor Stinner [Thu, 24 Jul 2014 17:15:00 +0000 (19:15 +0200)]
Issue #16133: The asynchat.async_chat.handle_read() method now ignores
socket.error() exceptions with blocking I/O errors: EAGAIN, EALREADY,
EINPROGRESS, or EWOULDBLOCK. Initial patch written by Xavier de Gaye.
Serhiy Storchaka [Thu, 24 Jul 2014 14:48:28 +0000 (17:48 +0300)]
Issue #
1730136 : Fix comparison between a tk Font object and an object of a
different type.
Victor Stinner [Thu, 24 Jul 2014 10:22:24 +0000 (12:22 +0200)]
Issue #19884: readline: Disable the meta modifier key if stdout is not a
terminal to not write the ANSI sequence "\033[1034h" into stdout. This sequence
is used on some terminal (ex: TERM=xterm-256color") to enable support of 8 bit
characters.
Andrew Svetlov [Thu, 24 Jul 2014 05:08:15 +0000 (08:08 +0300)]
Fix grammar
Terry Jan Reedy [Wed, 23 Jul 2014 21:27:51 +0000 (17:27 -0400)]
Issue #22053: Cleanup turtledemo start and stop and fix debug shutdown warning.
Zachary Ware [Wed, 23 Jul 2014 19:29:25 +0000 (14:29 -0500)]
Issue #19493: Fix two uses of ctypes.test.requires (it's not a decorator)
and skip test_win32.FunctionCallTestCase.test_SEH when Python was compiled
in debug configuration or by a non-MSC compiler.
Serhiy Storchaka [Wed, 23 Jul 2014 19:12:39 +0000 (22:12 +0300)]
Merge heads
Serhiy Storchaka [Wed, 23 Jul 2014 19:07:37 +0000 (22:07 +0300)]
Merge heads
Serhiy Storchaka [Wed, 23 Jul 2014 19:06:26 +0000 (22:06 +0300)]
Issue #6167: Backported tests for Scrollbar.activate() and Scrollbar.set()
from
6ae34a948cb4 .
Terry Jan Reedy [Wed, 23 Jul 2014 19:01:07 +0000 (15:01 -0400)]
Issue #21597: Turtledemo text pane can now be widened to view or copy complete
lines or narrowed for small screens.
Issie #19132: Turtledemo buttons no longer disappear when window is shrun.
Patch mostly by Lita Cho (21597) using idea from patch by Jan Kanis (18132).
Zachary Ware [Tue, 22 Jul 2014 18:14:54 +0000 (13:14 -0500)]
Fix minor typo in round docs. Reported by Scott Hinton on docs@.
Zachary Ware [Tue, 22 Jul 2014 17:26:34 +0000 (12:26 -0500)]
Closes #21665: Don't use OPTS=noxp or -DWINVER=0x0500 when compiling Tcl/Tk
on the buildbots.
2.7 does still support Win2k, but using those options makes default ttk ugly
while not using them doesn't seem to break Win2k.
Serhiy Storchaka [Tue, 22 Jul 2014 08:11:01 +0000 (11:11 +0300)]
Fixed bugs in reprs of CookieJar and multiprocessing.dummy.Value.
Serhiy Storchaka [Tue, 22 Jul 2014 07:39:59 +0000 (10:39 +0300)]
Backout
308f3c1e36d3 . This change (issue21044) does not need to be merged on
2.7, as the os.fdopen sets the name attribute to '<fdopen>' and not to the fd.
Serhiy Storchaka [Tue, 22 Jul 2014 07:28:36 +0000 (10:28 +0300)]
Issue #15759: "make suspicious", "make linkcheck" and "make doctest" in Doc/
now display special message when and only when there are failures.
Antoine Pitrou [Mon, 21 Jul 2014 22:35:01 +0000 (18:35 -0400)]
Issue #21976: Fix test_ssl to accept LibreSSL version strings.
Thanks to William Orr.
Raymond Hettinger [Mon, 21 Jul 2014 04:26:04 +0000 (21:26 -0700)]
Issue #21868: Prevent turtle crash due to invalid undo buffer size.
Benjamin Peterson [Sun, 20 Jul 2014 20:05:01 +0000 (13:05 -0700)]
add #
Benjamin Peterson [Sun, 20 Jul 2014 20:04:11 +0000 (13:04 -0700)]
correct ref counting of default_action (closes #22017)
Jason R. Coombs [Sun, 20 Jul 2014 14:52:46 +0000 (10:52 -0400)]
Issue #13540: Removed redundant documentation about Action instance attributes. Updated example and documentation per recommendations by Steven Bethard in msg149524.
Benjamin Peterson [Sat, 19 Jul 2014 23:34:33 +0000 (16:34 -0700)]
args doesn't need to be a tuple (closes #17210)
Mark Dickinson [Sat, 19 Jul 2014 20:47:13 +0000 (21:47 +0100)]
Issue #22006: Remove outdated thread module caveat. Thanks Dan O'Reilly for the report.
Benjamin Peterson [Fri, 18 Jul 2014 23:25:13 +0000 (16:25 -0700)]
add missing 'because' (closes #22008)
Patch from A Kaptur.
Zachary Ware [Fri, 18 Jul 2014 14:11:48 +0000 (09:11 -0500)]
Issue #22004: Correct an argument name.
Serhiy Storchaka [Wed, 16 Jul 2014 20:58:12 +0000 (23:58 +0300)]
Issue 21044: tarfile.open() now handles fileobj with an integer 'name'
attribute. Based on patch by Martin Panter.
Serhiy Storchaka [Wed, 16 Jul 2014 20:50:37 +0000 (23:50 +0300)]
Add helpers for testing unicode disabled builds.
Zachary Ware [Wed, 16 Jul 2014 19:48:11 +0000 (14:48 -0500)]
Fix a minor typo in the turtle docs. Found by Brandon Passmore on docs@.
Terry Jan Reedy [Tue, 15 Jul 2014 03:07:21 +0000 (23:07 -0400)]
Issue #21982: Add minimal unittest for configDialog with 46% coverage.
Serhiy Storchaka [Mon, 14 Jul 2014 09:20:01 +0000 (12:20 +0300)]
Call PyErr_NoMemory() when PyMem_Malloc() fails.
Terry Jan Reedy [Mon, 14 Jul 2014 06:07:26 +0000 (02:07 -0400)]
Issue #17506: Synchronize Misc/NEWS and idlelib/NEWS.txt for 2.7.
Terry Jan Reedy [Sun, 13 Jul 2014 21:27:21 +0000 (17:27 -0400)]
Issue #18592: Method return signature changes made to SearchDialogBase for
test purposes are now reflected in GrepDialog and ReplaceDialog. Docstrings
are improved. Initial patch by Saimadhav Heblikar
Ned Deily [Sun, 13 Jul 2014 05:01:15 +0000 (22:01 -0700)]
Issue #21323: Fix CGIHTTPServer to again handle scripts in CGI subdirectories,
broken by the fix for security issue #19435. Patch by Zach Byrne.
Steve Dower [Fri, 11 Jul 2014 22:32:02 +0000 (17:32 -0500)]
#21959: Adds 2.7.8 product code to Tools/msi/uuids.py
Terry Jan Reedy [Fri, 11 Jul 2014 04:37:10 +0000 (00:37 -0400)]
Issue #18592: Make unittest for SearchDialogBase work on all tk versions.
Terry Jan Reedy [Fri, 11 Jul 2014 04:24:22 +0000 (00:24 -0400)]
Idle News entries.
Terry Jan Reedy [Fri, 11 Jul 2014 04:15:54 +0000 (00:15 -0400)]
#21940: Add unittest for WidgetRedirector. Initial patch by Saimadhav Heblikar.
Terry Jan Reedy [Thu, 10 Jul 2014 05:16:42 +0000 (01:16 -0400)]
Issue #21940: add docstrings to idlelib.WidgetRedirector.
Ezio Melotti [Wed, 9 Jul 2014 12:45:25 +0000 (15:45 +0300)]
#21945: fix typo in Cookie module docstring.
Zachary Ware [Mon, 7 Jul 2014 20:31:21 +0000 (15:31 -0500)]
Fix typo found by Scott Hinton on docs@
Serhiy Storchaka [Mon, 7 Jul 2014 11:47:17 +0000 (14:47 +0300)]
Issue #21881: Just omit tests for platform-specific NaN representation in test_tcl.
Serhiy Storchaka [Mon, 7 Jul 2014 10:44:11 +0000 (13:44 +0300)]
Issue #21881: Be more tolerant in test_tcl to not parsable by float() NaN
representations (on mips and m68k platforms).
Ned Deily [Sun, 6 Jul 2014 23:11:44 +0000 (16:11 -0700)]
Issue #21923: Prevent AttributeError in distutils.sysconfig.customize_compiler
due to possible uninitialized _config_vars. Original patch by Alex Gaynor.
Ezio Melotti [Sun, 6 Jul 2014 17:53:27 +0000 (20:53 +0300)]
#20135: move FAQ about mutable default arguments to the programming FAQs page.
Benjamin Peterson [Sat, 5 Jul 2014 00:00:25 +0000 (17:00 -0700)]
properly decref the return value of close()
Zachary Ware [Thu, 3 Jul 2014 15:57:44 +0000 (10:57 -0500)]
Issue #21151: Fixed a segfault in the _winreg module.
When ``None`` was passed as a ``REG_BINARY`` value to SetValueEx,
PyMem_DEL was called on an uninitialized buffer. Patch by John Ehresman.
(Also an incidental typo fix in a comment in test_winreg)
Raymond Hettinger [Wed, 2 Jul 2014 23:30:52 +0000 (00:30 +0100)]
Fix guidance for subclassing collections.Set()
Victor Stinner [Wed, 2 Jul 2014 21:12:48 +0000 (23:12 +0200)]
Issue #21090: io.FileIO.readall() does not ignore I/O errors anymore. Before,
it ignored I/O errors if at least the first C call read() succeed.