]>
granicus.if.org Git - python/log
Zachary Ware [Thu, 24 Apr 2014 18:22:47 +0000 (13:22 -0500)]
Closes #21346: Merge with 3.4
Zachary Ware [Thu, 24 Apr 2014 18:22:05 +0000 (13:22 -0500)]
Issue #21346: Fix typo, make message consistent in test_itertools.
Pointed out by Brian Kearns.
Giampaolo Rodola' [Thu, 24 Apr 2014 16:09:21 +0000 (18:09 +0200)]
update os.sendfile() doc signaling that cross-platform apps should not use headers, trailers and flags arguments
Zachary Ware [Wed, 23 Apr 2014 20:37:37 +0000 (15:37 -0500)]
Issue #9765: Adjust where Tools/msi/msi.py looks for Tcl/Tk license terms.
Patch by Daniel Stutzbach.
Zachary Ware [Wed, 23 Apr 2014 18:51:27 +0000 (13:51 -0500)]
Fix compiler warning on Windows
..\Modules\_testcapimodule.c(3320): warning C4098: 'matmulType_dealloc' : 'void' function returning a value
Zachary Ware [Wed, 23 Apr 2014 17:17:25 +0000 (12:17 -0500)]
Null merge
Zachary Ware [Wed, 23 Apr 2014 17:09:54 +0000 (12:09 -0500)]
"Escape" a character in the middle of "warning"
This should stop Buildbot from falsely reporting a warning on Windows bots.
Zachary Ware [Wed, 23 Apr 2014 17:09:54 +0000 (12:09 -0500)]
"Escape" a character in the middle of "warning"
This should stop Buildbot from falsely reporting a warning on Windows bots.
Gregory P. Smith [Wed, 23 Apr 2014 15:39:02 +0000 (08:39 -0700)]
fix the test on windows which has different return codes from killed
children.
Gregory P. Smith [Wed, 23 Apr 2014 15:38:36 +0000 (08:38 -0700)]
fix the test on windows which has different return codes from killed
children.
Zachary Ware [Wed, 23 Apr 2014 15:04:55 +0000 (10:04 -0500)]
Merge from 3.4
Zachary Ware [Wed, 23 Apr 2014 15:04:20 +0000 (10:04 -0500)]
Prevent Sphinx error on whatsnew/changelog
Raymond Hettinger [Wed, 23 Apr 2014 07:58:48 +0000 (00:58 -0700)]
Add implementation notes
Gregory P. Smith [Wed, 23 Apr 2014 07:38:22 +0000 (00:38 -0700)]
subprocess's Popen.wait() is now thread safe so that multiple threads
may be calling wait() or poll() on a Popen instance at the same time
without losing the Popen.returncode value. Fixes issue #21291.
Gregory P. Smith [Wed, 23 Apr 2014 07:27:17 +0000 (00:27 -0700)]
subprocess's Popen.wait() is now thread safe so that multiple threads
may be calling wait() or poll() on a Popen instance at the same time
without losing the Popen.returncode value. Fixes issue #21291.
Benjamin Peterson [Wed, 23 Apr 2014 01:55:07 +0000 (21:55 -0400)]
merge 3.4 (#21330)
Benjamin Peterson [Wed, 23 Apr 2014 01:54:10 +0000 (21:54 -0400)]
fix off-by-one error (closes #21330)
Antoine Pitrou [Tue, 22 Apr 2014 22:34:51 +0000 (00:34 +0200)]
Issue #21127: Path objects can now be instantiated from str subclass instances (such as numpy.str_).
Thanks to Antony Lee for the report and preliminary patch.
Antoine Pitrou [Tue, 22 Apr 2014 22:34:15 +0000 (00:34 +0200)]
Issue #21127: Path objects can now be instantiated from str subclass instances (such as numpy.str_).
Thanks to Antony Lee for the report and preliminary patch.
Terry Jan Reedy [Tue, 22 Apr 2014 05:27:06 +0000 (01:27 -0400)]
Merge with 3.4
Terry Jan Reedy [Tue, 22 Apr 2014 05:26:41 +0000 (01:26 -0400)]
Issue #21138: Change default reformat paragraph width to PEP 8's 72.
Terry Jan Reedy [Tue, 22 Apr 2014 05:11:49 +0000 (01:11 -0400)]
Merge with 3.4
Terry Jan Reedy [Tue, 22 Apr 2014 05:11:03 +0000 (01:11 -0400)]
Issue 21284: Idle: make test_formatparagraph pass even when a user changes the
reformat width in the configuration menu.
Senthil Kumaran [Sun, 20 Apr 2014 16:45:00 +0000 (09:45 -0700)]
merge 3.4
urllib.response object to use _TemporaryFileWrapper (and _TemporaryFileCloser)
facility. Provides a better way to handle file descriptor close.
Address issue #15002 . Patch contributed by Christian Theune.
Senthil Kumaran [Sun, 20 Apr 2014 16:44:11 +0000 (09:44 -0700)]
NEWS entry for #15002
Senthil Kumaran [Sun, 20 Apr 2014 16:41:29 +0000 (09:41 -0700)]
urllib.response object to use _TemporaryFileWrapper (and _TemporaryFileCloser)
facility. Provides a better way to handle file descriptor close.
Address issue #15002 . Patch contributed by Christian Theune.
R David Murray [Sun, 20 Apr 2014 04:48:25 +0000 (00:48 -0400)]
Merge: #12220: improve minidom error when URI contains spaces.
R David Murray [Sun, 20 Apr 2014 04:46:05 +0000 (00:46 -0400)]
#12220: improve minidom error when URI contains spaces.
Fix by 'amathew', test by Marek Stepniowski.
Ned Deily [Sun, 20 Apr 2014 02:14:29 +0000 (19:14 -0700)]
Issue #10291: Cleanup turtledemo to use docstrings for help.
(Original patch by Alexander Belopolsky, refreshed by Jessica McKellar.)
Ned Deily [Sun, 20 Apr 2014 02:12:31 +0000 (19:12 -0700)]
Issue #11571: merge with 3.4
Ned Deily [Sun, 20 Apr 2014 02:11:14 +0000 (19:11 -0700)]
Issue #11571: Ensure that the turtle window becomes the topmost window
when launched on OS X. (Original patch by Ronald Oussoren)
Ned Deily [Sat, 19 Apr 2014 20:27:06 +0000 (13:27 -0700)]
Issue #21311: merge with 3.4
Ned Deily [Sat, 19 Apr 2014 20:25:29 +0000 (13:25 -0700)]
Issue #21311: Avoid exception in _osx_support with non-standard compiler
configurations. Patch by John Szakmeister.
Antoine Pitrou [Sat, 19 Apr 2014 19:07:16 +0000 (21:07 +0200)]
Issue #7221: remove redundant tests in test_asyncore. Patch by Jessica McKellar.
R David Murray [Sat, 19 Apr 2014 17:01:21 +0000 (13:01 -0400)]
Merge: #9364: Improve the text printed by help(pydoc) and help(help).
R David Murray [Sat, 19 Apr 2014 16:59:30 +0000 (12:59 -0400)]
#9364: Improve the text printed by help(pydoc) and help(help).
Eric Snow [Sat, 19 Apr 2014 06:14:54 +0000 (00:14 -0600)]
Merge from 3.4.
Eric Snow [Sat, 19 Apr 2014 06:13:23 +0000 (00:13 -0600)]
Issue #21200: Return None from pkgutil.get_loader() when __spec__ is missing.
Terry Jan Reedy [Fri, 18 Apr 2014 21:00:50 +0000 (17:00 -0400)]
Merge with 3.4. Closes #21232.
Terry Jan Reedy [Fri, 18 Apr 2014 21:00:19 +0000 (17:00 -0400)]
Issue #21232: Replace .splitlines arg '1' with 'keepends=True'.
Zachary Ware [Fri, 18 Apr 2014 20:45:02 +0000 (15:45 -0500)]
Merge with 3.4
Zachary Ware [Fri, 18 Apr 2014 20:10:40 +0000 (15:10 -0500)]
Issue #21289: Fix documentation building on Windows using Doc/make.bat.
Also fixes a long-standing typo in Doc/README.txt.
Initial patch by Dave Sawyer.
Antoine Pitrou [Fri, 18 Apr 2014 18:33:08 +0000 (20:33 +0200)]
Issue #21068: The ssl.PROTOCOL* constants are now enum members.
Philip Jenvey [Fri, 18 Apr 2014 18:10:50 +0000 (11:10 -0700)]
fix the description of bytes tests
Guido van Rossum [Fri, 18 Apr 2014 16:21:55 +0000 (09:21 -0700)]
Merge news item from 3.4
Guido van Rossum [Fri, 18 Apr 2014 16:21:26 +0000 (09:21 -0700)]
NEWS for latest asyncio commit.
Guido van Rossum [Fri, 18 Apr 2014 16:13:12 +0000 (09:13 -0700)]
Merge 3.4
Guido van Rossum [Tue, 15 Apr 2014 19:06:34 +0000 (12:06 -0700)]
asyncio: Add gi_{frame,running,code} properties to CoroWrapper (upstream #163).
Zachary Ware [Fri, 18 Apr 2014 14:23:14 +0000 (09:23 -0500)]
Fix a typo in the docstring of nb_index.
Zachary Ware [Fri, 18 Apr 2014 14:14:31 +0000 (09:14 -0500)]
Fix a typo in the signature for object.__ge__
Benjamin Peterson [Fri, 18 Apr 2014 05:03:59 +0000 (01:03 -0400)]
correct len signature in docstring (closes #21294)
Benjamin Peterson [Thu, 17 Apr 2014 22:29:01 +0000 (18:29 -0400)]
fix ref count annotations on sphinx >= 1.2.1 (closes #21286)
doko@ubuntu.com [Thu, 17 Apr 2014 18:13:44 +0000 (20:13 +0200)]
- Issue #21285: Refactor and fix curses configure check to always search
in a ncursesw directory.
doko@ubuntu.com [Thu, 17 Apr 2014 17:47:16 +0000 (19:47 +0200)]
Fixes for KFreeBSD and the Hurd:
- Issue #21274: Define PATH_MAX for GNU/Hurd in Python/pythonrun.c.
- Issue #21276: posixmodule: Don't define USE_XATTRS on KFreeBSD and the Hurd.
- Issue #21275: Fix a socket test on KFreeBSD.
doko@ubuntu.com [Thu, 17 Apr 2014 15:52:48 +0000 (17:52 +0200)]
- Issue #15234: For BerkelyDB and Sqlite, only add the found library and
include directories if they aren't already being searched. This avoids
an explicit runtime library dependency.
Senthil Kumaran [Thu, 17 Apr 2014 03:43:34 +0000 (23:43 -0400)]
Clarify BROWSER envar behavior in webbrowser.py. Noted by David Turner. Closes #21248
Senthil Kumaran [Thu, 17 Apr 2014 03:33:02 +0000 (23:33 -0400)]
Correct the URL in the http.client example. Noted by Evens Fortuné. Closes #21229
R David Murray [Thu, 17 Apr 2014 01:48:04 +0000 (21:48 -0400)]
#18628: clarify index entry for source file encoding declaration.
Patch by Sam Lucidi.
Benjamin Peterson [Wed, 16 Apr 2014 20:16:37 +0000 (16:16 -0400)]
remove superfluous and useless line
Benjamin Peterson [Wed, 16 Apr 2014 20:06:39 +0000 (16:06 -0400)]
use the called property of the run_pip mock rather than an assertion method that doesn't exist
Senthil Kumaran [Wed, 16 Apr 2014 17:56:19 +0000 (13:56 -0400)]
Address issue 18229 - Explain http.server.BaseHTTPRequestHandler's .headers attribute further.
Initial patch by Caelyn McAulay.
Antoine Pitrou [Wed, 16 Apr 2014 16:33:39 +0000 (18:33 +0200)]
Try to fix buildbot failures on old OpenSSLs (< 1.0.0) - followup to issue #21015
Terry Jan Reedy [Wed, 16 Apr 2014 03:44:14 +0000 (23:44 -0400)]
#18566: Whitespace
Terry Jan Reedy [Wed, 16 Apr 2014 03:38:18 +0000 (23:38 -0400)]
Issue #18566: Clarify unittest setUp, tearDown doc. Patch by Nitika Agarwal.
Andrew Kuchling [Tue, 15 Apr 2014 20:44:43 +0000 (16:44 -0400)]
#
1704474 : mark refleak test as specific to CPython
Patch by Christian Hudon.
Andrew Kuchling [Wed, 16 Apr 2014 01:11:36 +0000 (21:11 -0400)]
#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
implementations 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.
R David Murray [Wed, 16 Apr 2014 00:26:54 +0000 (20:26 -0400)]
#20874: reflow paragraph.
R David Murray [Wed, 16 Apr 2014 00:25:18 +0000 (20:25 -0400)]
#20874: update tutorial wording: sophisticated line editing is now standard.
Patch by Rafael Mejia.
Vinay Sajip [Tue, 15 Apr 2014 22:13:12 +0000 (23:13 +0100)]
Issue #21245: updated documentation on exception() method and function.
Michael Foord [Tue, 15 Apr 2014 21:21:08 +0000 (17:21 -0400)]
Closes issue 21239. unittest.mock.patch.stopall() did not work deterministically when the same name was patched multiple times.
Senthil Kumaran [Tue, 15 Apr 2014 20:36:43 +0000 (16:36 -0400)]
Run test_urllib2_localnet tests using unittest.main().
Capture threads in the setUpModule and cleanup threads in the tearDownModule.
Kushal Das [Tue, 15 Apr 2014 19:35:50 +0000 (01:05 +0530)]
Closes Issue 21222.
Passing name keyword argument to mock.create_autospec now works.
Guido van Rossum [Tue, 15 Apr 2014 19:06:34 +0000 (12:06 -0700)]
asyncio: Add gi_{frame,running,code} properties to CoroWrapper (upstream #163).
Mark Dickinson [Fri, 18 Apr 2014 15:08:47 +0000 (16:08 +0100)]
Fix typo in test method name.
Zachary Ware [Fri, 18 Apr 2014 14:23:35 +0000 (09:23 -0500)]
Merge typo fix from 3.4
Zachary Ware [Fri, 18 Apr 2014 14:17:04 +0000 (09:17 -0500)]
Merge typo fix from 3.4
Benjamin Peterson [Fri, 18 Apr 2014 05:04:07 +0000 (01:04 -0400)]
merge 3.4
Benjamin Peterson [Thu, 17 Apr 2014 22:29:27 +0000 (18:29 -0400)]
merge 3.4
doko@ubuntu.com [Thu, 17 Apr 2014 18:14:29 +0000 (20:14 +0200)]
- Merge 3.4
doko@ubuntu.com [Thu, 17 Apr 2014 17:49:00 +0000 (19:49 +0200)]
- Merge 3.4
doko@ubuntu.com [Thu, 17 Apr 2014 16:46:53 +0000 (18:46 +0200)]
- fix merge conflict
doko@ubuntu.com [Thu, 17 Apr 2014 15:55:03 +0000 (17:55 +0200)]
Merge 3.4
Antoine Pitrou [Thu, 17 Apr 2014 10:30:14 +0000 (12:30 +0200)]
Add a --ciphers option to Lib/test/ssl_servers.py
Antoine Pitrou [Thu, 17 Apr 2014 10:21:36 +0000 (12:21 +0200)]
Use ssl.create_default_context in Lib/test/ssl_servers.py
Benjamin Peterson [Thu, 17 Apr 2014 04:00:31 +0000 (00:00 -0400)]
support setting fpu precision on m68k (closes #20904)
Patch from Andreas Schwab.
Senthil Kumaran [Thu, 17 Apr 2014 03:44:03 +0000 (23:44 -0400)]
merge 3.4
Senthil Kumaran [Thu, 17 Apr 2014 03:33:30 +0000 (23:33 -0400)]
merge 3.4
R David Murray [Thu, 17 Apr 2014 01:50:25 +0000 (21:50 -0400)]
Merge: #18628: clarify index entry for source file encoding declaration.
Thomas Wouters [Wed, 16 Apr 2014 23:13:29 +0000 (01:13 +0200)]
Fix Tools/scripts/generate_opcode_h.py from issue #17861 to work correctly
when building in a separate object tree. More people should build this way.
This may still fail if the source is unwritable, I haven't tested that yet.
Kushal Das [Wed, 16 Apr 2014 20:24:07 +0000 (01:54 +0530)]
Removes unused varargs and varkwargs from assert_not_called().
Benjamin Peterson [Wed, 16 Apr 2014 20:17:16 +0000 (16:17 -0400)]
merge 3.4
Benjamin Peterson [Wed, 16 Apr 2014 20:07:49 +0000 (16:07 -0400)]
merge 3.4
Kushal Das [Wed, 16 Apr 2014 20:06:14 +0000 (01:36 +0530)]
Closes Issue 21262: New method assert_not_called for Mock.
It raises AssertionError if the mock has been called.
Kushal Das [Wed, 16 Apr 2014 18:02:21 +0000 (23:32 +0530)]
Closes Issue 21238: New keyword argument `unsafe` to Mock.
It raises `AttributeError` incase of an attribute startswith assert
or assret.
Senthil Kumaran [Wed, 16 Apr 2014 17:56:41 +0000 (13:56 -0400)]
merge 3.4
Antoine Pitrou [Wed, 16 Apr 2014 16:56:28 +0000 (18:56 +0200)]
Issue #20896: ssl.get_server_certificate() now uses PROTOCOL_SSLv23, not PROTOCOL_SSLv3, for maximum compatibility.
Antoine Pitrou [Wed, 16 Apr 2014 16:34:01 +0000 (18:34 +0200)]
Try to fix buildbot failures on old OpenSSLs (< 1.0.0) - followup to issue #21015
Andrew Kuchling [Wed, 16 Apr 2014 13:10:53 +0000 (09:10 -0400)]
#6490: Expand documentation for os.popen().
Patch by Sam Kimbrel.
Terry Jan Reedy [Wed, 16 Apr 2014 03:44:37 +0000 (23:44 -0400)]
Merge with 3.4
Terry Jan Reedy [Wed, 16 Apr 2014 03:38:44 +0000 (23:38 -0400)]
Merge with 3.4