Commit Graph

77878 Commits

Author SHA1 Message Date
Antoine Pitrou b0acc1b0a3 Issue #21350: Fix file.writelines() to accept arbitrary buffer objects, as advertised.
Patch by Brian Kearns.
2014-05-08 19:26:04 +02:00
doko@ubuntu.com 9ba90c9f06 - Issue #17752: Fix distutils tests when run from the installed location. 2014-05-07 04:41:26 +02:00
Zachary Ware 4773b908b1 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.
2014-05-06 09:18:17 -05:00
Zachary Ware 1512143ef0 Issue #21366: Document the fact that ``return`` in a ``finally`` clause
overrides a ``return`` in the ``try`` suite.
2014-05-06 09:07:13 -05:00
Raymond Hettinger 93434890dc Issue 21375: Fix possible Py_ssizet overflow in heapq. 2014-05-03 15:27:14 -07:00
Zachary Ware 2460dc880f 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).
2014-05-02 10:33:49 -05:00
Tim Golden e9864c5e30 Issue #19630 Emphasise that the file parameter to marshal.dump must be a real file object 2014-04-29 16:11:18 +01:00
Antoine Pitrou 3ec903fce4 Issue #21321: itertools.islice() now releases the reference to the source iterator when the slice is exhausted.
Patch by Anton Afanasyev.
2014-04-29 12:13:46 +02:00
Terry Jan Reedy f3ae10e7ca Closes #21055: Index (augmented) assignment symbols. 2014-04-29 01:19:05 -04:00
Terry Jan Reedy cd3d741451 Closes 21048: Index 'as' in import and with statements. 2014-04-29 00:58:48 -04:00
Terry Jan Reedy 0fe1d0a597 Closes #21026: Augment site doc based on experiments. Patch by Carol Willing. 2014-04-29 00:31:46 -04:00
Andrew Kuchling b7967ccb40 #21225: copy docstrings from base classes 2014-04-25 09:29:30 -04:00
Tim Golden 700c8fe2ba Issue #9291 Add ACKS & NEWS 2014-04-27 16:39:33 +01:00
Tim Golden 3c5816f5e6 Issue #9291 Do not attempt to re-encode mimetype data read from registry in ANSI mode. Initial patches by Dmitry Jemerov & Vladimir Iofik 2014-04-27 16:36:47 +01:00
R David Murray 9b244ad12d #18243: Remove obsolete cautionary note from email mktime_tz docs. 2014-04-26 19:05:03 -04:00
Stefan Krah 32ae4378b9 Issue #17145: Document array.array buffer interface limitations. 2014-04-26 22:50:25 +02:00
Terry Jan Reedy 807c9da951 Issue #18944: backport typo fix 2014-04-26 13:55:59 -04:00
Tim Golden d6a1b2ba95 Add NEWS entry for issue21349 2014-04-26 16:02:38 +01:00
Tim Golden 3c603f3618 Issue21349 Passing a memoryview to _winreg.SetValueEx now correctly raises a TypeError where it previously crashed the interpreter. Patch by Brian Kearns 2014-04-26 15:47:08 +01:00
Kristján Valur Jónsson be580f2e48 Issue #20434 Correct error handlin of _PyString_Resize and _PyBytes_Resize 2014-04-25 09:51:21 +00:00
Zachary Ware 4e0df17bd7 Issue #21346: Fix typos in test_itertools. Patch by Brian Kearns. 2014-04-24 13:20:27 -05:00
Benjamin Peterson 10c7781b90 fix off-by-one error (closes #21330) 2014-04-22 21:54:10 -04:00
Zachary Ware c6606edc86 Issue #21303, #20565: Updated the version of Tcl/Tk used on Windows
from 8.5.2 to 8.5.15.
2014-04-22 15:36:11 -05:00
Terry Jan Reedy 46b6c086d3 Issue #21138: Change default reformat paragraph width to PEP 8's 72. 2014-04-22 01:26:35 -04:00
Terry Jan Reedy 0edf52a2c2 Issue 21284: Idle: make test_formatparagraph pass even when a user changes the
reformat width in the configuration menu.
2014-04-22 01:10:57 -04:00
Ned Deily 8488901282 Issue #21311: Avoid exception in _osx_support with non-standard compiler
configurations.  Patch by John Szakmeister.
2014-04-19 13:24:03 -07:00
doko@ubuntu.com f27ec3e551 - Issue #21285: Refactor and fix curses configure check to always search
in a ncursesw directory.
2014-04-17 20:11:19 +02:00
R David Murray dd967efae9 #18628: clarify index entry for source file encoding declaration. 2014-04-16 21:57:38 -04:00
Terry Jan Reedy 0d1e44b61e #18566: Whitespace 2014-04-15 23:44:10 -04:00
Terry Jan Reedy e804efa6bb Issue #18566: Clarify unittest setUp, tearDown doc. Patch by Nitika Agarwal. 2014-04-15 23:38:11 -04:00
Vinay Sajip 51f80c12a4 Issue #21245: updated documentation on exception() method and function. 2014-04-15 23:11:15 +01:00
Andrew Kuchling cb4069c329 #1704474: mark refleak test as specific to CPython
Patch by Christian Hudon.
2014-04-15 16:44:43 -04:00
Andrew Kuchling 68e85e5834 #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.
2014-04-15 16:07:52 -04:00
Gregory P. Smith 49bf4ce563 whitespace chaps my hide 2014-04-15 08:01:27 -07:00
Gregory P. Smith 8f813fe2f2 Some cleanup of the subprocess docs in 2.7. Adds a reference to the
subprocess32 project in PyPI for posix users.
2014-04-15 07:59:44 -07:00
Benjamin Peterson 7fc8a10577 add missing NULL check 2014-04-14 19:57:52 -04:00
Benjamin Peterson 5c863bf938 when an exception is raised in fdopen, never close the fd (changing on my mind on #21191) 2014-04-14 19:45:46 -04:00
Benjamin Peterson f609a3dc18 Backed out changeset 81abb121dc65 2014-04-14 19:25:36 -04:00
Benjamin Peterson 81f90710b3 temporary change to get better debugging from windows bots 2014-04-14 16:51:29 -04:00
Terry Jan Reedy f7568e0a8a Closes #20956: 2.7 tokenize does not produce named tuples. Patch by Sam Kimbrel. 2014-04-14 16:17:09 -04:00
Benjamin Peterson e03d3fdd20 do not generate pipe names in the temporary dir 2014-04-14 12:24:37 -04:00
Benjamin Peterson 3e5d87bb86 disallow a negative idx parameter 2014-04-14 11:43:09 -04:00
Mark Dickinson f10cc46ad7 Issue #20624: Merge exception docs tweak from 3.4 branch. 2014-04-14 11:33:46 -04:00
Eric V. Smith 9a55cd8857 Issue #12546: Allow \x00 as a fill character for builtin type __format__ methods. 2014-04-14 11:22:33 -04:00
Benjamin Peterson 6c939cb6f6 in scan_once, prevent the reading of arbitrary memory when passed a negative index
Bug reported by Guido Vranken.
2014-04-13 22:10:38 -04:00
Ned Deily 4624b00d67 Remove references to the obsolete Mac Carbon modules in the GUI
section of the FAQ.
2014-04-12 09:31:28 -07:00
Terry Jan Reedy 94fb85e765 Issue #21170: Removed invalid parameter names from unittest doc.
Patch by Kushal Das.
2014-04-11 14:11:00 -04:00
Vinay Sajip 5aad46e5c3 Issue #21172: isinstance check relaxed from dict to collections.Mapping. 2014-04-10 07:07:59 +01:00
Benjamin Peterson 00109c9bd3 teach 2to3 about 'yield from' 2014-04-10 00:23:18 -04:00
Benjamin Peterson da952f3ff4 add matrix multiplication operator support to 2to3 2014-04-10 00:12:47 -04:00