Commit Graph

77802 Commits

Author SHA1 Message Date
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
Benjamin Peterson ae80f450a6 use ssl.PROTOCOL_SSLv23 for maximum compatibility (closes #20896) 2014-03-12 18:05:53 -05:00
Benjamin Peterson 4bb5d7832a add Sean Rodman 2014-03-12 15:08:43 -05:00
Éric Araujo 00ee494603 Fix missing import in bdist_rpm (#18045) 2014-03-12 05:01:25 -04:00
Éric Araujo b5099031dd Restore missing part of error message (#4931) 2014-03-12 03:19:33 -04:00
Éric Araujo 3d1134e395 Avoid “error: None” messages from distutils (#4931).
Thanks to Amaury Forgeot d’Arc and Philip J. Eby.
2014-03-12 03:14:48 -04:00
Éric Araujo fd0c2f5711 Define what “updating” means in docs for open (#19627).
Original patch by Lina Clark.
2014-03-12 02:16:37 -04:00
R David Murray 8de21188ae #20030: doc that TestLoader.discover returns a TestSuite.
Patch by Lita Cho.
2014-03-11 18:12:25 -04:00
Benjamin Peterson 841da4ed22 sync pyporting howto from python 3 docs 2014-03-11 14:28:37 -05:00
Georg Brandl 6d07641fce #13530: port to 2.7 branch (document what os.lseek returns). 2014-03-11 10:28:56 +01:00
Georg Brandl 418b1eab91 Closes #20090: update Doc/README and the error message in sphinx-build.py to make
it clear that any Python 3.x is not usable with the checked out Sphinx.
2014-03-10 19:26:57 +01:00
Benjamin Peterson 84f323eae7 note that future_builtin's map is not quite like python 3's (closes #19363)
Patch by Gareth Rees.
2014-03-09 14:01:09 -05:00
Georg Brandl 3bca761ae8 merge 2014-03-09 10:23:24 +01:00
Raymond Hettinger 4c150e0bd2 Improve the default seeding in random module to use 32 bytes of entropy when available. 2014-03-08 09:56:08 -08:00
Serhiy Storchaka e50fe4c9eb Issue #20283: RE pattern methods now accept the string keyword parameters
as documented.  The pattern and source keyword parameters are left as
deprecated aliases.
2014-03-06 12:24:29 +02:00
Terry Jan Reedy 09f4f253b5 Issue #15618: Make turtle.py itself work when run from a module with
from __future__ import unicode_literals.  Initial patch by Juancarlo Añez.

The demos at the end of turtle.py appear to be the only test, so I changed
some of the strings to unicode with a u prefix.  If os.path.isfile or the Tk
image function have problems with Unicode input, that would be different issue.
2014-03-05 23:15:57 -05:00
Serhiy Storchaka fd48a56b27 Correct and improve comments in test_fileinput (closes #20501).
Thanks Vajrasky Kok and Zachary Ware.
2014-03-03 21:16:27 +02:00