Commit Graph

77859 Commits

Author SHA1 Message Date
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
Ned Deily c177b1cbf3 Issue #21187: Fix OS X installer fail-to-build with Xcode 5.1. 2014-04-09 16:13:46 -07:00
Ned Deily ebd63dc7e1 Issue #20644: Keep build-installer.py in sync across active versions. 2014-04-09 16:12:11 -07:00
Benjamin Peterson 02ab7a84ef make sure fdopen always closes the fd in error cases (closes #21191) 2014-04-09 15:40:18 -04:00
Senthil Kumaran d546009677 issue #21190: Fix the docs README link 2014-04-09 11:41:02 -04:00
Mark Dickinson 05bbb8cbcf Issue #21179: Fix description of 'round' function for numbers.Real. 2014-04-09 07:03:27 -04:00
Benjamin Peterson ffc34e8311 use imperative 2014-04-08 10:51:20 -04:00
Benjamin Peterson 95d8acfde3 PySequence_Fast generally returns a list (#16305) 2014-04-08 10:50:54 -04:00
Benjamin Peterson 96c9a35815 PySequence_Fast generally returns a list not a tuple (closes #16395) 2014-04-08 10:48:36 -04:00
Benjamin Peterson 236d9f8cd6 the name of the slot of nb_multiply not nb_mul 2014-04-08 10:44:30 -04:00
Benjamin Peterson c0f5063031 fix verb (closes #21174) 2014-04-07 19:34:33 -04:00
Senthil Kumaran eb6a101dd0 minor docfix (reported at docs@python.org) trace.py argument is --count not --counts 2014-04-06 10:58:51 -07:00
Benjamin Peterson 3c0027b721 use with statement 2014-04-04 13:59:33 -04:00
Benjamin Peterson c2dafe60bc explicitly close file object (#21128) 2014-04-04 13:56:44 -04:00
Benjamin Peterson 7b26a5a32d properly explicitly close file (#21128) 2014-04-04 13:56:26 -04:00
Benjamin Peterson d7ffb77e6f make temporary read-only files writable, so rmtree can remove them (#21128) 2014-04-04 13:55:56 -04:00
Benjamin Peterson b41299e498 note that the hash of an arbitrary object is only derived from its address (closes #21154)
Patch from Armin Rigo.
2014-04-04 09:58:13 -04:00
Vinay Sajip 66d8dbeacf Issue #21149: Improved thread-safety in logging cleanup during interpreter shutdown. 2014-04-04 10:47:53 +01:00
Benjamin Peterson 352eb4f432 properly close files in test_zipfile (#20887)
Patch by Matti Picus.
2014-04-03 10:31:25 -04:00
Benjamin Peterson 07681001c9 make sure to test UnicodeEncodeError, too 2014-04-02 15:51:38 -04:00