Commit Graph

77818 Commits

Author SHA1 Message Date
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
Zachary Ware 163a214df8 Use "x" instead of "i" for s.index and s.count entries in sequence ops table.
Suggested by Bruce Esrig on docs@.
2014-03-20 11:00:29 -05:00
Benjamin Peterson c847bd707f sync with 3.4 branch 2014-03-19 20:54:59 -05:00
Benjamin Peterson adeec149c7 add Nehal Hussain 2014-03-19 20:52:17 -05:00
Zachary Ware 5c1d3ddfa5 Issue #20966: Fix Tkinter Resources link 2014-03-18 09:18:53 -05:00
Georg Brandl b553ce1736 Update doc version switcher for 3.4/3.5. 2014-03-17 07:36:45 +01:00
Benjamin Peterson e3af6f0a88 fix ctypes test alignment assumptions (closes #20946)
Patch by Andreas Schwab.
2014-03-16 10:07:26 +01:00
Antoine Pitrou c7692805f7 Close #16665: improve documentation for hex(). Patch by Jessica McKellar. 2014-03-16 02:12:20 +01:00
Benjamin Peterson e530f26864 send people to the right editors page (#20938) 2014-03-15 15:23:32 -05:00
Ned Deily a146df8dd6 Issue #20939: Fix test_geturl failure in test_urllibnet due to
new redirect of http://www.python.org/ to https://www.python.org.
2014-03-15 13:14:15 -07:00
Benjamin Peterson fbe50672c1 remove runtime_library_dirs for _sqlite; it isn't needed 2014-03-15 12:29:04 -05:00
Éric Araujo 01111e85b8 Clarify distutils’ clean command (ref #6142) 2014-03-13 16:17:11 -04:00
Jesus Cea 8f606a0d4f Closes #20908: Memory leak in Reg2Py() 2014-03-13 17:33:43 +01:00
Benjamin Peterson 4c874ef4a5 weaken callback count inequality (closes #20901) 2014-03-12 21:51:52 -05:00
Benjamin Peterson 944996ff20 remove unnecessary word (closes #19060)
Patch by Anastasia Filatova.
2014-03-12 21:41:35 -05:00
Éric Araujo 31fe52dc9e Make distutils error messages more helpful (#11599).
When running external programs such as a C compiler and getting an
error code, distutils only prints the program name.  With this change,
one can get the full command line by setting the DISTUTILS_DEBUG
environment variable.

This should have no compatibility issues, unless there are tools
that depend on the exact format of distutils debug messages.
2014-03-12 22:19:39 -04:00
Éric Araujo 69d096597d Fix note markup (#16805).
Patch by Tshepang Lekhonkhobe, reviewed by Georg Brandl.
2014-03-12 19:35:54 -04:00