Commit Graph

77834 Commits

Author SHA1 Message Date
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
Benjamin Peterson c4e6e0a279 bail in unicode error's __str__ methods if the objects are not properly initialized (closes #21134) 2014-04-02 12:15:06 -04:00
Raymond Hettinger 9190b6f4a6 Issue 21125: minor wording tweak. 2014-04-01 22:11:34 -07:00
Zachary Ware aa7385561d Issue #15067: Remove reference to a rejected PEP.
Further explanation of the concept stands alone without this reference,
no need to potentially confuse people by bringing up a feature that
doesn't exist.
2014-04-01 12:18:58 -05:00
Benjamin Peterson 38534381f3 use https docs url (#21115) 2014-03-31 13:44:53 -04:00
Benjamin Peterson 703ed60ca4 add Ian Beer 2014-03-30 20:33:47 -04:00
Benjamin Peterson d42f60ed81 fix overflow detection of strop.expandtabs 2014-03-30 20:09:44 -04:00
Benjamin Peterson 18fc493409 fix expandtabs overflow detection to be consistent and not rely on signed overflow 2014-03-30 19:47:57 -04:00
Benjamin Peterson 8312eccd34 add braces and fix indentation 2014-03-30 19:23:24 -04:00
Benjamin Peterson 0e431b9311 fix indentation and add braces 2014-03-30 19:16:44 -04:00
Benjamin Peterson a4598a3008 support CDN purging 2014-03-30 16:43:11 -04:00
Raymond Hettinger 40e95dfcaa Issue #21029: IDLE now colors print consistently as a keyword. 2014-03-29 21:01:50 -07:00
Raymond Hettinger 3708349c07 Minor readability improvement. 2014-03-29 11:49:11 -07:00
Ned Deily 3ac866539f Issue #21093: Prevent failures of ctypes test_macholib on OS X if a
copy of libz exists in $HOME/lib or /usr/local/lib.
2014-03-29 00:07:42 -07:00
Georg Brandl 0913bff8bc Update suspicious ignore file. 2014-03-28 20:07:35 +01:00
Ned Deily 57847df4e5 Issue #17654: Ensure IDLE menus are customized properly on OS X for
non-framework builds and for all variants of Tk.
2014-03-27 20:47:04 -07:00
Ned Deily b693e9fc5b Issue #6676: Ensure a meaningful exception is raised when attempting
to parse more than one XML document per pyexpat xmlparser instance.
(Original patches by Hirokazu Yamamoto and Amaury Forgeot d'Arc, with
suggested wording by David Gutteridge)
2014-03-27 16:38:32 -07:00
Ned Deily c727533cf5 Issue #20939: Use www.example.com instead of www.python.org to avoid test
failures when ssl is not present.
2014-03-26 23:25:02 -07:00
R David Murray 6d9117604f backport: #20145: assertRaisesRegexp now raises a TypeError on bad regex.
Previously a non-string, non-regex second argument and no callable
argument could cause the test to appear to always pass.
2014-03-25 15:29:42 -04:00
Victor Stinner 988bc970eb Issue #21038: Cleanup test_epoll.py
Remove useless test and unused variables. Initial patch by Andreas Schwab.
2014-03-25 12:53:47 +01:00
Vinay Sajip 33a431cb3c Updated external link in documentation. 2014-03-25 11:20:22 +00:00
Georg Brandl 0fef31efc2 Closes #21045: make the Qt help build not look completely stupid 2014-03-25 10:12:47 +01:00
Georg Brandl fbd2db5005 Closes #18456: Doc fix: PyDict_Update only works with dict-like objects, not key-value sequences. Patch by priyapappachan. 2014-03-25 09:34:30 +01:00
Victor Stinner dd48b902bb Issue #21058: NamedTemporaryFile() closes the FD on any error, not only Exception 2014-03-25 09:10:59 +01:00
Victor Stinner 367f5d379c Issue #21058: Fix a leak of file descriptor in tempfile.NamedTemporaryFile(),
close the file descriptor if os.fdopen() fails
2014-03-25 09:08:16 +01:00
Donald Stufft 74a4ebaed0 Issue #21043 - Remove CACert.org from the recommendations 2014-03-24 19:49:42 -04:00