]>
granicus.if.org Git - python/log
Benjamin Peterson [Fri, 4 Apr 2014 13:52:05 +0000 (09:52 -0400)]
merge 3.3
Benjamin Peterson [Fri, 4 Apr 2014 13:51:45 +0000 (09:51 -0400)]
merge 3.2
Benjamin Peterson [Fri, 4 Apr 2014 13:50:35 +0000 (09:50 -0400)]
fix versionchanged version
Vinay Sajip [Fri, 4 Apr 2014 09:51:49 +0000 (10:51 +0100)]
Issue #21149: Improved thread-safety in logging cleanup during interpreter shutdown.
Raymond Hettinger [Thu, 3 Apr 2014 15:01:22 +0000 (08:01 -0700)]
Issue 21143: Fix typo in docs for max().
Benjamin Peterson [Thu, 3 Apr 2014 14:22:10 +0000 (10:22 -0400)]
remove unused argument (closes #21135)
Eli Bendersky [Thu, 3 Apr 2014 13:14:38 +0000 (06:14 -0700)]
Issue #20375: Clarify ET's parsing of comments and processing instructions.
Based on patch by Nikolaus Rath.
Benjamin Peterson [Wed, 2 Apr 2014 19:51:38 +0000 (15:51 -0400)]
make sure to test UnicodeEncodeError, too
Benjamin Peterson [Wed, 2 Apr 2014 16:15:06 +0000 (12:15 -0400)]
bail in unicode error's __str__ methods if the objects are not properly initialized (closes #21134)
Benjamin Peterson [Wed, 2 Apr 2014 16:05:35 +0000 (12:05 -0400)]
make test name consistent with the rest of the file
Raymond Hettinger [Wed, 2 Apr 2014 10:16:42 +0000 (03:16 -0700)]
Issue #18652: Add an itertools recipe for first_true()
Raymond Hettinger [Wed, 2 Apr 2014 07:58:47 +0000 (00:58 -0700)]
Documentation nit. List the traditional keyword-only argument first and the default last.
Raymond Hettinger [Wed, 2 Apr 2014 05:17:33 +0000 (22:17 -0700)]
Issue 21125: minor documentation tweak.
Benjamin Peterson [Tue, 1 Apr 2014 23:22:06 +0000 (19:22 -0400)]
update version changed
Benjamin Peterson [Tue, 1 Apr 2014 23:18:48 +0000 (19:18 -0400)]
merge 3.3 (#21082)
Benjamin Peterson [Tue, 1 Apr 2014 23:17:57 +0000 (19:17 -0400)]
merge 3.2 (#21082)
Benjamin Peterson [Tue, 1 Apr 2014 23:13:18 +0000 (19:13 -0400)]
remove directory mode check from makedirs (closes #21082)
Benjamin Peterson [Tue, 1 Apr 2014 20:27:30 +0000 (16:27 -0400)]
fix typo
Benjamin Peterson [Tue, 1 Apr 2014 18:20:56 +0000 (14:20 -0400)]
simplify check, since now there are only new-style classes
Zachary Ware [Tue, 1 Apr 2014 17:21:56 +0000 (12:21 -0500)]
Issue #15067: Port 2.7 sqlite3 docs to 3.4
Andrew Svetlov [Mon, 31 Mar 2014 23:08:25 +0000 (02:08 +0300)]
#16716: remove deprecation warning
Andrew Svetlov [Mon, 31 Mar 2014 22:13:30 +0000 (01:13 +0300)]
Get rid of deprecated IOError in the doc
Andrew Svetlov [Mon, 31 Mar 2014 21:44:13 +0000 (00:44 +0300)]
IOError -> OSError
Andrew Svetlov [Mon, 31 Mar 2014 21:23:23 +0000 (00:23 +0300)]
Fix the doc: add deprecation warning in select module.
Antoine Pitrou [Mon, 31 Mar 2014 20:04:38 +0000 (22:04 +0200)]
Issue #21073: explain why Py_ReprEnter() allows for a missing thread state.
Benjamin Peterson [Mon, 31 Mar 2014 17:50:34 +0000 (13:50 -0400)]
use https docs url
Benjamin Peterson [Mon, 31 Mar 2014 17:46:45 +0000 (13:46 -0400)]
merge 3.3 (#21115)
Benjamin Peterson [Mon, 31 Mar 2014 17:46:26 +0000 (13:46 -0400)]
merge 3.2
Benjamin Peterson [Mon, 31 Mar 2014 17:44:53 +0000 (13:44 -0400)]
use https docs url (#21115)
Victor Stinner [Mon, 31 Mar 2014 15:40:06 +0000 (17:40 +0200)]
Issue #20668: Remove tests.txt of test_asyncio
It's useless, tests are now discovered automatically.
Benjamin Peterson [Mon, 31 Mar 2014 00:34:20 +0000 (20:34 -0400)]
merge 3.3
Benjamin Peterson [Mon, 31 Mar 2014 00:34:05 +0000 (20:34 -0400)]
merge 3.2
Benjamin Peterson [Mon, 31 Mar 2014 00:33:47 +0000 (20:33 -0400)]
add Ian Beer
Benjamin Peterson [Sun, 30 Mar 2014 23:52:39 +0000 (19:52 -0400)]
merge 3.3
Benjamin Peterson [Sun, 30 Mar 2014 23:52:22 +0000 (19:52 -0400)]
merge 3.2
Benjamin Peterson [Sun, 30 Mar 2014 23:47:57 +0000 (19:47 -0400)]
fix expandtabs overflow detection to be consistent and not rely on signed overflow
Benjamin Peterson [Sun, 30 Mar 2014 21:16:09 +0000 (17:16 -0400)]
update notes to talk about -X showrefcount
Martin v. Löwis [Sun, 30 Mar 2014 19:32:03 +0000 (21:32 +0200)]
Add test case for freeze.
Martin v. Löwis [Sun, 30 Mar 2014 19:07:25 +0000 (21:07 +0200)]
Issue #16047: Fix module exception list and __file__ handling in freeze.
Patch by Meador Inge.
Benjamin Peterson [Sun, 30 Mar 2014 19:07:09 +0000 (15:07 -0400)]
make partialmethod example work (closes #21105)
Martin v. Löwis [Sun, 30 Mar 2014 18:28:52 +0000 (20:28 +0200)]
Issue #11824: Consider ABI tags in freeze. Patch by Meador Inge.
Guido van Rossum [Sun, 30 Mar 2014 04:14:04 +0000 (21:14 -0700)]
Fix doc typo.
Eric Snow [Sat, 29 Mar 2014 21:57:44 +0000 (15:57 -0600)]
Issue #21097: Move test_namespace_pkgs into test_importlib.
Raymond Hettinger [Sat, 29 Mar 2014 18:50:08 +0000 (11:50 -0700)]
Minor readability improvement.
Ned Deily [Sat, 29 Mar 2014 07:08:44 +0000 (00:08 -0700)]
Issue #21093: Prevent failures of ctypes test_macholib on OS X if a
copy of libz exists in $HOME/lib or /usr/local/lib.
Nick Coghlan [Sat, 29 Mar 2014 05:39:42 +0000 (15:39 +1000)]
Issue #19697: document more __main__.__spec__ quirks
Zachary Ware [Sat, 29 Mar 2014 04:31:04 +0000 (23:31 -0500)]
Fix another old mention of "Standard Edition" VS in PCbuild/readme.txt.
Also removes a mention of using "Express Edition with the Windows SDK
64-bit compilers" to build 64-bit Python. If that can be made to work,
it will need some extra instructions somewhere.
Eric Snow [Sat, 29 Mar 2014 00:10:33 +0000 (18:10 -0600)]
Issue #19697: Document cases where __main__.__spec__ is None.
Raymond Hettinger [Fri, 28 Mar 2014 23:39:25 +0000 (16:39 -0700)]
Issue 21014: Use booleans instead of 0 and 1 in examples.
Benjamin Peterson [Fri, 28 Mar 2014 22:52:45 +0000 (18:52 -0400)]
undefine SET_SYS_FROM_STRING_BORROW after its done being used (closes #21089)
Georg Brandl [Fri, 28 Mar 2014 18:48:55 +0000 (19:48 +0100)]
Doc: do not compress .epub for dist, it is already zipped.
Ned Deily [Fri, 28 Mar 2014 03:49:14 +0000 (20:49 -0700)]
Issue #17654: Ensure IDLE menus are customized properly on OS X for
non-framework builds and for all variants of Tk.
Ned Deily [Thu, 27 Mar 2014 23:39:58 +0000 (16:39 -0700)]
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)
Yury Selivanov [Thu, 27 Mar 2014 22:42:52 +0000 (18:42 -0400)]
inspect: Fix getcallargs() to fail correctly if more than 3 args are missing.
Patch by Jeremiah Lowin. Closes #20817.
Yury Selivanov [Thu, 27 Mar 2014 22:23:03 +0000 (18:23 -0400)]
inspect: Fix getcallargs() to raise correct TypeError
... for missing keyword-only arguments. Patch by Jeremiah Lowin.
Closes #20816.
Yury Selivanov [Thu, 27 Mar 2014 16:21:20 +0000 (12:21 -0400)]
asyncio.tests: Autodiscover asyncio tests. Patch by Vajrasky Kok. Closes #20668
Ned Deily [Thu, 27 Mar 2014 08:39:28 +0000 (01:39 -0700)]
Issue #21069: Temporarily use www.google.com while investigating
test_urllibnet.test_fileno intermittent failures with www.example.com.
Ned Deily [Thu, 27 Mar 2014 06:43:26 +0000 (23:43 -0700)]
Issue #20939: remove stray character from comment
Ned Deily [Thu, 27 Mar 2014 06:31:39 +0000 (23:31 -0700)]
Issue #20939: Use www.example.com instead of www.python.org to avoid test
failures when ssl is not present.
Ned Deily [Thu, 27 Mar 2014 06:26:03 +0000 (23:26 -0700)]
Issue #20939: Backout test_urllib2.test_issue16464 disables:
68335b8afb1f 3.4
ad0c75b7bd7d default
R David Murray [Tue, 25 Mar 2014 19:31:50 +0000 (15:31 -0400)]
backport: #20145: assert[Raises|Warns]Regex now raise TypeError on bad regex.
Previously a non-string, non-regex second argument and missing callable
argument could cause the test to appear to always pass.
Initial patch by Kamilla Holanda.
Victor Stinner [Tue, 25 Mar 2014 17:19:17 +0000 (18:19 +0100)]
Issue #21058: fix typo in a comment. Patch written by Vajrasky Kok.
Victor Stinner [Tue, 25 Mar 2014 11:50:50 +0000 (12:50 +0100)]
Issue #21038: Use monotonic clock to compute timeout, not the system clock
Victor Stinner [Tue, 25 Mar 2014 11:49:53 +0000 (12:49 +0100)]
Issue #21038: Cleanup test_epoll.py
Remove useless test and unused variables. Initial patch by Andreas Schwab.
Victor Stinner [Tue, 25 Mar 2014 11:33:56 +0000 (12:33 +0100)]
Issue #12209: Minor edits to faulthandler doc. Patch written by Éric Araujo.
Vinay Sajip [Tue, 25 Mar 2014 11:21:41 +0000 (11:21 +0000)]
Updated external link in documentation.
Georg Brandl [Tue, 25 Mar 2014 09:12:47 +0000 (10:12 +0100)]
Closes #21045: make the Qt help build not look completely stupid
Victor Stinner [Tue, 25 Mar 2014 08:40:26 +0000 (09:40 +0100)]
Issue #21006: asyncio doc: reorganize subprocess doc
Georg Brandl [Tue, 25 Mar 2014 08:34:30 +0000 (09:34 +0100)]
Closes #18456: Doc fix: PyDict_Update only works with dict-like objects, not key-value sequences. Patch by priyapappachan.
Victor Stinner [Tue, 25 Mar 2014 08:18:04 +0000 (09:18 +0100)]
Issue #21058: Fix a leak of file descriptor in tempfile.NamedTemporaryFile(),
close the file descriptor if io.open() fails
Richard Oudkerk [Sun, 23 Mar 2014 12:42:28 +0000 (12:42 +0000)]
Issue #20633: Replace relative import by absolute import.
Victor Stinner [Fri, 21 Mar 2014 09:00:52 +0000 (10:00 +0100)]
asyncio: Ensure call_soon(), call_later() and call_at() are invoked on current
loop in debug mode. Raise a RuntimeError if the event loop of the current
thread is different. The check should help to debug thread-safetly issue.
Patch written by David Foster.
Donald Stufft [Mon, 24 Mar 2014 23:26:03 +0000 (19:26 -0400)]
Issue #21043: Remove the recommendation for specific CA organizations
Closes #21043 by updating the documentation to remove specific CA
organizations and update the text to no longer need to tell you to
download root certificates, but instead use the OS certificates
avaialble through SSLContext.load_default_certs.
Victor Stinner [Mon, 24 Mar 2014 21:34:34 +0000 (22:34 +0100)]
Issue #21036: Fix typo in macro name
_PY_HASHTABLE_ENTRY_DATA => _Py_HASHTABLE_ENTRY_DATA
Georg Brandl [Mon, 24 Mar 2014 08:06:18 +0000 (09:06 +0100)]
Fix a few scoping issues with versionadded/versionchanged directives.
Zachary Ware [Mon, 24 Mar 2014 03:21:38 +0000 (22:21 -0500)]
Remove superfluous open parenthesis. Noticed by cocoatomo on docs@.
Donald Stufft [Sun, 23 Mar 2014 23:05:28 +0000 (19:05 -0400)]
Issue #21013: Enhance ssl.create_default_context() for server side contexts
Closes #21013 by modfying ssl.create_default_context() to:
* Move the restricted ciphers to only apply when using
ssl.Purpose.CLIENT_AUTH. The major difference between restricted and not
is the lack of RC4 in the restricted. However there are servers that exist
that only expose RC4 still.
* Switches the default protocol to ssl.PROTOCOL_SSLv23 so that the context
will select TLS1.1 or TLS1.2 if it is available.
* Add ssl.OP_NO_SSLv3 by default to continue to block SSL3.0 sockets
* Add ssl.OP_SINGLE_DH_USE and ssl.OP_SINGLE_ECDG_USE to improve the security
of the perfect forward secrecy
* Add ssl.OP_CIPHER_SERVER_PREFERENCE so that when used for a server side
socket the context will prioritize our ciphers which have been carefully
selected to maximize security and performance.
* Documents the failure conditions when a SSL3.0 connection is required so
that end users can more easily determine if they need to unset
ssl.OP_NO_SSLv3.
Georg Brandl [Sun, 23 Mar 2014 22:03:59 +0000 (23:03 +0100)]
tutorial: no "linux2" sys.platform on 3.x (thanks Arfrever)
Antoine Pitrou [Sun, 23 Mar 2014 21:55:03 +0000 (22:55 +0100)]
Issue #19537: Fix PyUnicode_DATA() alignment under m68k. Patch by Andreas Schwab.
Richard Oudkerk [Sun, 23 Mar 2014 18:44:11 +0000 (18:44 +0000)]
Issue #20990: Correction for
619331c67638 .
R David Murray [Sun, 23 Mar 2014 18:18:44 +0000 (14:18 -0400)]
#20976: remove unneeded quopri import in email.utils.
Antoine Pitrou [Sun, 23 Mar 2014 15:31:08 +0000 (16:31 +0100)]
Issue #20913: make it clear that create_default_context() also enables hostname checking
Richard Oudkerk [Sun, 23 Mar 2014 12:52:16 +0000 (12:52 +0000)]
Merge 3.3.
Richard Oudkerk [Sun, 23 Mar 2014 12:30:54 +0000 (12:30 +0000)]
Issue #20980: Stop wrapping exception when using ThreadPool.
Richard Oudkerk [Sun, 23 Mar 2014 11:54:15 +0000 (11:54 +0000)]
Issue #20990: Fix issues found by pyflakes for multiprocessing.
Georg Brandl [Sat, 22 Mar 2014 19:38:11 +0000 (20:38 +0100)]
Closes #20975: make date in the interpreter banner a little more consistent
Antoine Pitrou [Sat, 22 Mar 2014 17:19:11 +0000 (18:19 +0100)]
Issue #20913: improve the SSL security considerations to first advocate using create_default_context().
Antoine Pitrou [Sat, 22 Mar 2014 17:13:50 +0000 (18:13 +0100)]
Issue #21015: SSL contexts will now automatically select an elliptic curve for ECDH key exchange on OpenSSL 1.0.2 and later, and otherwise default to "prime256v1".
(should also fix a buildbot failure introduced by #20995)
Donald Stufft [Sat, 22 Mar 2014 01:33:34 +0000 (21:33 -0400)]
Issue #20995: Enhance default ciphers used by the ssl module
Closes #20995 by Enabling better security by prioritizing ciphers
such that:
* Prefer cipher suites that offer perfect forward secrecy (DHE/ECDHE)
* Prefer ECDHE over DHE for better performance
* Prefer any AES-GCM over any AES-CBC for better performance and security
* Then Use HIGH cipher suites as a fallback
* Then Use 3DES as fallback which is secure but slow
* Finally use RC4 as a fallback which is problematic but needed for
compatibility some times.
* Disable NULL authentication, NULL encryption, and MD5 MACs for security
reasons
Victor Stinner [Fri, 21 Mar 2014 16:17:15 +0000 (17:17 +0100)]
Close #21010: Fix typo in asyncio doc. Patch written by Claudiu Popa.
Victor Stinner [Fri, 21 Mar 2014 10:56:40 +0000 (11:56 +0100)]
Issue #21006: Fix subprocess example on Windows in asyncio doc
Victor Stinner [Fri, 21 Mar 2014 10:44:49 +0000 (11:44 +0100)]
Close #21005: Fix documentation of asyncio.subprocess.DEVNULL
Brett Cannon [Fri, 21 Mar 2014 15:02:10 +0000 (11:02 -0400)]
merge
Brett Cannon [Fri, 21 Mar 2014 14:58:33 +0000 (10:58 -0400)]
Issue #20884: Don't assume in importlib.__init__ that __file__ is
defined.
Vinay Sajip [Fri, 21 Mar 2014 11:44:32 +0000 (11:44 +0000)]
Issue #10141, Issue 20065: Changed #if to take CAN_RAW into account.
Benjamin Peterson [Thu, 20 Mar 2014 17:39:53 +0000 (12:39 -0500)]
improve start default for relpath
Zachary Ware [Thu, 20 Mar 2014 15:16:09 +0000 (10:16 -0500)]
Fix typos in Doc/faq/extending. Found by cocoatomo on docs@.
Zachary Ware [Thu, 20 Mar 2014 15:01:48 +0000 (10:01 -0500)]
Fix spelling in enum docs.
"equivalant" was caught by Tobias Käs on docs@, "seperated" and "chartruese"
were discovered by a spell-checker.
Zachary Ware [Thu, 20 Mar 2014 14:46:09 +0000 (09:46 -0500)]
Add missing parenthesis. Found by cocoatomo on docs@.
Zachary Ware [Thu, 20 Mar 2014 14:42:01 +0000 (09:42 -0500)]
Fix parameter name in docs for os.makedirs and os.removedirs.
Pointed out by Colin Davis on docs@.