Commit Graph

78279 Commits

Author SHA1 Message Date
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
Terry Jan Reedy 1530a82223 whitespace 2014-06-30 20:03:23 -04:00
Terry Jan Reedy 72eb0752d4 Issue #18592: Add unittests for SearchDialogBase. Patch by Phil Webster. 2014-06-30 19:59:57 -04:00
Terry Jan Reedy f7f746a828 Issue #21882: In turtle demos, remove module scope gui and sys calls by
moving them to the module's main function.
2014-06-30 16:09:16 -04:00
Ned Deily 04a37be9e5 Issue #21811: Add Misc/NEWS entry. 2014-06-29 23:38:55 -07:00
Benjamin Peterson 7ce6a96469 after 2.7.8 2014-06-29 18:59:07 -07:00
Benjamin Peterson 808335ff80 Added tag v2.7.8 for changeset ee879c0ffa11 2014-06-29 18:58:31 -07:00
Benjamin Peterson fdbdcfe020 bump to 2.7.8 2014-06-29 18:58:16 -07:00
Benjamin Peterson f722c2969a update pydoc-topics 2014-06-29 18:57:11 -07:00
Benjamin Peterson bb4d3527cf add a test for access errors from OpenKey (closes #21871)
Patch from Vladimir Iofik.
2014-06-29 13:02:12 -07:00
Benjamin Peterson 4becf85d54 don't allow unicode into type_map on Windows (closes #21652)
Patch from Vladimir Iofik.
2014-06-29 12:58:16 -07:00
Jesus Cea fd3ba7b261 Closes #11279: test_posix and lack of "id -G" support - less noise required? (Solaris) 2014-06-28 18:39:01 +02:00
Berker Peksag 86af310c15 Fix typo pointed out by Dmitry Chaplinsky on docs@. 2014-06-28 03:12:37 +03:00
Ned Deily 5937f39aee Issue #21875: Remove vestigial references to Classic Mac OS in os module docs. 2014-06-26 23:38:14 -07:00
Benjamin Peterson df71dcbef2 don't overwrite the error from PyObject_GetAttrString (closes #4346) 2014-06-26 23:27:41 -07:00
Berker Peksag e75f527b5a Issue #19897: Use python as executable instead of python3. 2014-06-26 23:27:26 +03:00
Raymond Hettinger 38017b3698 Issue #19145: Remove duplicate ACKS entry 2014-06-26 09:27:36 -07:00
Terry Jan Reedy aa608fdf7e Issue #18592: For idlelib.SearchDialogBase, edit and add docstrings,
move two functions next to the functions that use them.
2014-06-26 01:40:46 -04:00
Ned Deily c40b9039da Issue #21811: Anticipated fixes to 2.7 configure for OS X 10.10 Yosemite. 2014-06-25 13:48:46 -07:00
Ned Deily 1f70b878c4 Issue #21811: Anticipated fixes to 3.x and 2.7 for OS X 10.10 Yosemite. 2014-06-25 13:33:57 -07:00
Serhiy Storchaka 33ad0968eb Issue #21729: Used the "with" statement in the dbm.dumb module to ensure
files closing.  Patch by Claudiu Popa.
2014-06-25 20:37:49 +03:00
Jesus Cea 6d52ced4ce Closes #20872: dbm/gdbm/ndbm close methods are not documented 2014-06-25 12:55:48 +02:00
Vinay Sajip 7de99717c8 Fixed typo in documentation. 2014-06-25 07:29:19 +01:00
Raymond Hettinger 58ad24512a Issue #19145: Fix handling of negative values for a "times" keyword argument to itertools.repeat()>
(Patch contributed by Vajrasky Kok.)
2014-06-24 21:53:45 -07:00
Terry Jan Reedy 3fecd48bde Issue #14117: Inprove help text and docstrings, some for clarity, some just to
fit in the default width of the text window (45 chars).
2014-06-24 22:21:36 -04:00
Raymond Hettinger 53296810f8 Add news entry for 21832 2014-06-24 18:14:53 -07:00
R David Murray 3eb76fc10b #20155: use fake HTTP method names so windows doesn't hang the tests.
Windows was seeing the 'GET' generated by these tests as invalid and forcibly
closing the socket, causing the test to fail.

Patch by Jeff Allen.
2014-06-24 16:49:24 -04:00
Raymond Hettinger de5170eb15 Issue 21832: Require named tuple inputs to be exact strings 2014-06-24 13:49:24 -07:00
Benjamin Peterson b23eef5895 add Chris Foster 2014-06-23 20:14:46 -07:00
Benjamin Peterson 550b945fd6 avoid overflow with large buffer sizes and/or offsets (closes #21831) 2014-06-23 20:12:27 -07:00