Commit Graph

78107 Commits

Author SHA1 Message Date
Serhiy Storchaka 186f66540d Issue #1730136: Fix comparison between a tk Font object and an object of a
different type.
2014-07-24 17:48:28 +03:00
Victor Stinner 63a474788a 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.
2014-07-24 12:22:24 +02:00
Andrew Svetlov 909d61f7dd Fix grammar 2014-07-24 08:08:15 +03:00
Terry Jan Reedy cbe6d24313 Issue #22053: Cleanup turtledemo start and stop and fix debug shutdown warning. 2014-07-23 17:27:51 -04:00
Zachary Ware f2eb721d14 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.
2014-07-23 14:29:25 -05:00
Serhiy Storchaka 12e7870650 Merge heads 2014-07-23 22:12:39 +03:00
Serhiy Storchaka 58f9b57b6f Merge heads 2014-07-23 22:07:37 +03:00
Serhiy Storchaka 9cb68ca927 Issue #6167: Backported tests for Scrollbar.activate() and Scrollbar.set()
from 6ae34a948cb4.
2014-07-23 22:06:26 +03:00
Terry Jan Reedy e2fbf4faca 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).
2014-07-23 15:01:07 -04:00
Zachary Ware 85b5b73999 Fix minor typo in round docs. Reported by Scott Hinton on docs@. 2014-07-22 13:14:54 -05:00
Zachary Ware f6aac5d75b 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.
2014-07-22 12:26:34 -05:00
Serhiy Storchaka fc1ae6c673 Fixed bugs in reprs of CookieJar and multiprocessing.dummy.Value. 2014-07-22 11:11:01 +03:00
Serhiy Storchaka 7cc3b0aefb 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.
2014-07-22 10:39:59 +03:00
Serhiy Storchaka 7f7d99c279 Issue #15759: "make suspicious", "make linkcheck" and "make doctest" in Doc/
now display special message when and only when there are failures.
2014-07-22 10:28:36 +03:00
Antoine Pitrou 4e64d8768f Issue #21976: Fix test_ssl to accept LibreSSL version strings.
Thanks to William Orr.
2014-07-21 18:35:01 -04:00
Raymond Hettinger b606d45fb2 Issue #21868: Prevent turtle crash due to invalid undo buffer size. 2014-07-20 21:26:04 -07:00
Benjamin Peterson e2d1e64a1f add # 2014-07-20 13:05:01 -07:00
Benjamin Peterson 0fb88f7c51 correct ref counting of default_action (closes #22017) 2014-07-20 13:04:11 -07:00
Benjamin Peterson 8f25762a94 args doesn't need to be a tuple (closes #17210) 2014-07-19 16:34:33 -07:00
Mark Dickinson 70beff1105 Issue #22006: Remove outdated thread module caveat. Thanks Dan O'Reilly for the report. 2014-07-19 21:47:13 +01:00
Benjamin Peterson ee5729dbf9 add missing 'because' (closes #22008)
Patch from A Kaptur.
2014-07-18 16:25:13 -07:00
Zachary Ware a2dd3b23af Issue #22004: Correct an argument name. 2014-07-18 09:11:48 -05:00
Serhiy Storchaka e7829bdf12 Issue 21044: tarfile.open() now handles fileobj with an integer 'name'
attribute.  Based on patch by Martin Panter.
2014-07-16 23:58:12 +03:00
Serhiy Storchaka fdfe9fce8c Add helpers for testing unicode disabled builds. 2014-07-16 23:50:37 +03:00
Zachary Ware 2d011e6c2c Fix a minor typo in the turtle docs. Found by Brandon Passmore on docs@. 2014-07-16 14:48:11 -05:00
Terry Jan Reedy af0dce939c Issue #21982: Add minimal unittest for configDialog with 46% coverage. 2014-07-14 23:07:21 -04:00
Serhiy Storchaka 5d93f408d8 Call PyErr_NoMemory() when PyMem_Malloc() fails. 2014-07-14 12:20:01 +03:00
Terry Jan Reedy 6e9a3ac881 Issue #17506: Synchronize Misc/NEWS and idlelib/NEWS.txt for 2.7. 2014-07-14 02:07:26 -04:00
Terry Jan Reedy e2c409f010 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
2014-07-13 17:27:21 -04:00
Ned Deily c89376292e Issue #21323: Fix CGIHTTPServer to again handle scripts in CGI subdirectories,
broken by the fix for security issue #19435.  Patch by Zach Byrne.
2014-07-12 22:01:15 -07:00
Steve Dower f2892879a0 #21959: Adds 2.7.8 product code to Tools/msi/uuids.py 2014-07-11 17:32:02 -05:00
Terry Jan Reedy d6c3163e46 Issue #18592: Make unittest for SearchDialogBase work on all tk versions. 2014-07-11 00:37:10 -04:00
Terry Jan Reedy 4761934523 Idle News entries. 2014-07-11 00:24:22 -04:00
Terry Jan Reedy c03c11019d #21940: Add unittest for WidgetRedirector. Initial patch by Saimadhav Heblikar. 2014-07-11 00:15:54 -04:00
Terry Jan Reedy d11dde4795 Issue #21940: add docstrings to idlelib.WidgetRedirector. 2014-07-10 01:16:42 -04:00
Ezio Melotti f97376f952 #21945: fix typo in Cookie module docstring. 2014-07-09 15:45:25 +03:00
Zachary Ware 65a6436b5f Fix typo found by Scott Hinton on docs@ 2014-07-07 15:31:21 -05:00
Serhiy Storchaka 5fc570fc7e Issue #21881: Just omit tests for platform-specific NaN representation in test_tcl. 2014-07-07 14:47:17 +03:00
Serhiy Storchaka 668af7e955 Issue #21881: Be more tolerant in test_tcl to not parsable by float() NaN
representations (on mips and m68k platforms).
2014-07-07 13:44:11 +03:00
Ned Deily 9be578990e Issue #21923: Prevent AttributeError in distutils.sysconfig.customize_compiler
due to possible uninitialized _config_vars.  Original patch by Alex Gaynor.
2014-07-06 16:11:44 -07:00
Ezio Melotti 4f7e09a9eb #20135: move FAQ about mutable default arguments to the programming FAQs page. 2014-07-06 20:53:27 +03:00
Benjamin Peterson a83050196d properly decref the return value of close() 2014-07-04 17:00:25 -07:00
Zachary Ware 6690eed48b 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)
2014-07-03 10:57:44 -05:00
Raymond Hettinger 809b665b57 Fix guidance for subclassing collections.Set() 2014-07-03 00:30:52 +01:00
Victor Stinner f6b3c84a4a 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.
2014-07-02 23:12:48 +02:00
Berker Peksag cf0a706c15 Issue #19870: BaseCookie now parses 'secure' and 'httponly' flags.
Backport of issue #16611.
2014-07-02 10:48:27 +03:00
Terry Jan Reedy 228b99e8a4 More idlelib cleanup inspired by pyflakes. 2014-07-01 21:33:26 -04:00
Terry Jan Reedy 9bc505616b Delete a few unused names suggested by pyflakes. 2014-07-01 18:52:31 -04:00
Zachary Ware 5b1b38cbef Issue #14097: Backport 796d1371605d and subsequent changes.
The 2.7 tutorial introduction now matches the 3.x introduction as rewritten
by Ezio Melotti, with appropriate changes for 2.x.
2014-07-01 14:25:34 -05:00
Terry Jan Reedy 6a0fe8db19 Issue #18592: Refactor 2 SearchDialogBase.create_(option/other)_buttons methods
to remove duplication and return info for tests.  Rewrite corresponding tests.
Test_create_option_buttons was not testing anything because of buggy
comparisons.  Use Python subscripting to get widget options.
2014-06-30 23:52:14 -04:00