]>
granicus.if.org Git - python/log
Benjamin Peterson [Sat, 26 Apr 2014 20:56:52 +0000 (16:56 -0400)]
make operations on closed dumb databases raise a consistent exception (closes #19385)
Patch by Claudiu Popa.
Benjamin Peterson [Sat, 26 Apr 2014 17:36:21 +0000 (13:36 -0400)]
shallow defaults to 'True' not '1' (closes #21355)
Patch by Diana Clarke.
Antoine Pitrou [Sat, 26 Apr 2014 12:33:03 +0000 (14:33 +0200)]
Issue #21207: Detect when the os.urandom cached fd has been closed or replaced, and open it anew.
Andrew Kuchling [Fri, 25 Apr 2014 13:29:30 +0000 (09:29 -0400)]
#21225: copy docstrings from base classes
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.
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: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:20 +0000 (10:04 -0500)]
Prevent Sphinx error on whatsnew/changelog
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:54:10 +0000 (21:54 -0400)]
fix off-by-one error (closes #21330)
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: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: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: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: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: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:25:29 +0000 (13:25 -0700)]
Issue #21311: Avoid exception in _osx_support with non-standard compiler
configurations. Patch by John Szakmeister.
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: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:19 +0000 (17:00 -0400)]
Issue #21232: Replace .splitlines arg '1' with 'keepends=True'.
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.
Guido van Rossum [Fri, 18 Apr 2014 16:21:26 +0000 (09:21 -0700)]
NEWS for latest asyncio commit.
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.
doko@ubuntu.com [Tue, 15 Apr 2014 18:37:54 +0000 (20:37 +0200)]
- Issue #21223: Pass test_site/test_startup_imports when some of the extensions
are built as builtins.
Yury Selivanov [Tue, 15 Apr 2014 16:01:16 +0000 (12:01 -0400)]
asyncio.tasks: Make sure CoroWrapper.send proxies one argument correctly
Issue #21209.
Vinay Sajip [Tue, 15 Apr 2014 12:52:21 +0000 (13:52 +0100)]
Reverted
16efa8d27e4c after discussion with Eric.
Vinay Sajip [Tue, 15 Apr 2014 10:18:10 +0000 (11:18 +0100)]
Issue #21197: Add lib64 -> lib symlink in venvs on 64-bit non-OS X POSIX.
Eric V. Smith [Tue, 15 Apr 2014 07:05:02 +0000 (03:05 -0400)]
Closed issue #8931: Make alternate formatting for 'c' raise an exception. Patch by Torsten Landschoff.
Yury Selivanov [Tue, 15 Apr 2014 02:22:36 +0000 (22:22 -0400)]
misc.news: Remove whitespace
Yury Selivanov [Tue, 15 Apr 2014 02:21:52 +0000 (22:21 -0400)]
asyncio.tasks: Fix CoroWrapper to workaround yield-from bug in CPython < 3.4.1
Closes issue #21209.
Senthil Kumaran [Tue, 15 Apr 2014 01:31:41 +0000 (21:31 -0400)]
Invoke test_urllibnet tests using unittest.main function
R David Murray [Mon, 14 Apr 2014 22:53:51 +0000 (18:53 -0400)]
#15104: add backtick code markup.
R David Murray [Mon, 14 Apr 2014 22:21:38 +0000 (18:21 -0400)]
#17498: Defer SMTPServerDisconnected errors until the next command.
Normally an SMTP server will return an error, and smtplib will then issue an
RSET to return the connection to the known starting state. Some servers,
however, disconnect after issuing certain errors. When we issue the RSET,
this would result in raising an SMTPServerDisconnected error, *instead* of
returning the error code the user of the library was expecting. This fix
makes the internal RSET calls ignore the disconnection so that the error code
is returned. The user of the library will then get the SMTPServerDisconnected
error the next time they try to talk to the server.
Patch by Kushal Das.
Senthil Kumaran [Mon, 14 Apr 2014 20:48:39 +0000 (16:48 -0400)]
merge heads
Eric V. Smith [Mon, 14 Apr 2014 20:46:52 +0000 (16:46 -0400)]
Issue #13598: Added acknowledgements to Misc/NEWS.
Senthil Kumaran [Mon, 14 Apr 2014 20:45:49 +0000 (16:45 -0400)]
merge heads
Senthil Kumaran [Mon, 14 Apr 2014 20:43:58 +0000 (16:43 -0400)]
merge heads
Eric V. Smith [Mon, 14 Apr 2014 20:43:50 +0000 (16:43 -0400)]
Issue #13598: Add auto-numbering of replacement fields to string.Formatter.
Senthil Kumaran [Mon, 14 Apr 2014 20:32:20 +0000 (16:32 -0400)]
Convert urllib.request parse_proxy doctests to unittests.
Gregory P. Smith [Mon, 14 Apr 2014 20:31:21 +0000 (13:31 -0700)]
Add conditional code for android's lack of definition of SYS_getdent64.
Fixes issue20307. No Misc/NEWS entry because frankly this is an
esoteric platform for anyone to be figuring out how to cross compile
CPython for.
Michael Foord [Mon, 14 Apr 2014 20:09:42 +0000 (16:09 -0400)]
Issue 17826. Setting an iterable side_effect on a mock created by create_autospec now works
R David Murray [Mon, 14 Apr 2014 19:04:47 +0000 (15:04 -0400)]
#15104: improve the discussion of __main__.
Patch by Sam Lucidi.
Senthil Kumaran [Mon, 14 Apr 2014 18:32:20 +0000 (14:32 -0400)]
Fix the NEWS Entry item. (Thanks Stéphane Wirtel)
Andrew Kuchling [Mon, 14 Apr 2014 17:39:43 +0000 (13:39 -0400)]
#18518: mention that including a return statement changes/breaks the behaviour
Benjamin Peterson [Mon, 14 Apr 2014 16:24:37 +0000 (12:24 -0400)]
do not generate pipe names in the temporary dir
Senthil Kumaran [Mon, 14 Apr 2014 17:07:56 +0000 (13:07 -0400)]
Issue #7776: Fix ``Host:'' header and reconnection when using http.client.HTTPConnection.set_tunnel().
Patch by Nikolaus Rath.
Benjamin Peterson [Mon, 14 Apr 2014 16:16:07 +0000 (12:16 -0400)]
merge 3.3
Benjamin Peterson [Mon, 14 Apr 2014 16:15:58 +0000 (12:15 -0400)]
merge 3.2
Benjamin Peterson [Mon, 14 Apr 2014 16:15:28 +0000 (12:15 -0400)]
fix poor spelling
Eric V. Smith [Mon, 14 Apr 2014 15:55:10 +0000 (11:55 -0400)]
Issue #12546: Allow \x00 as a fill character for builtin type __format__ methods.
Benjamin Peterson [Mon, 14 Apr 2014 15:48:21 +0000 (11:48 -0400)]
merge 3.3
Benjamin Peterson [Mon, 14 Apr 2014 15:46:51 +0000 (11:46 -0400)]
merge 3.2
Benjamin Peterson [Mon, 14 Apr 2014 15:45:21 +0000 (11:45 -0400)]
disallow a negative idx parameter
Michael Foord [Mon, 14 Apr 2014 15:26:38 +0000 (11:26 -0400)]
Merge
Michael Foord [Mon, 14 Apr 2014 15:23:48 +0000 (11:23 -0400)]
Issue 20968. unittest.mock.MagicMock now supports division
Mark Dickinson [Mon, 14 Apr 2014 15:20:12 +0000 (11:20 -0400)]
Issue #20624: Exception docs wording tweak - clarify that it's okay to inherit from a subclass of Exception.
R David Murray [Mon, 14 Apr 2014 14:28:58 +0000 (10:28 -0400)]
#21169: add comment and doc update for getpass change.
Eric V. Smith [Mon, 14 Apr 2014 11:52:53 +0000 (07:52 -0400)]
Fix faq example with division.
Eric V. Smith [Mon, 14 Apr 2014 11:41:52 +0000 (07:41 -0400)]
Fix text about int() with octal numbers. Closes #21212.
Benjamin Peterson [Mon, 14 Apr 2014 03:52:01 +0000 (23:52 -0400)]
fix sending tuples to custom generator objects with yield from (closes #21209)
Debugged by Victor.
Benjamin Peterson [Mon, 14 Apr 2014 02:31:42 +0000 (22:31 -0400)]
merge 3.3
Benjamin Peterson [Mon, 14 Apr 2014 02:28:16 +0000 (22:28 -0400)]
merge 3.2
Benjamin Peterson [Mon, 14 Apr 2014 02:10:38 +0000 (22:10 -0400)]
in scan_once, prevent the reading of arbitrary memory when passed a negative index
Bug reported by Guido Vranken.
R David Murray [Mon, 14 Apr 2014 02:07:39 +0000 (22:07 -0400)]
#21169: fix getpass to use replace error handler on UnicodeEncodeError.
If the input stream encoding couldn't encode one or more of the
non-ascii characters in the prompt, it would fail, throwing a
UnicodeEncodeError. Now if that happens we re-encoding using the
'replace' error handler.
Patch by Kushal Das.
Serhiy Storchaka [Sun, 13 Apr 2014 16:52:23 +0000 (19:52 +0300)]
Issue #20635: Added tests for Tk geometry managers.
Serhiy Storchaka [Sun, 13 Apr 2014 14:07:04 +0000 (17:07 +0300)]
Issue #21171: Fixed undocumented filter API of the rot13 codec.
Patch by Berker Peksag.
Ned Deily [Sat, 12 Apr 2014 16:32:04 +0000 (09:32 -0700)]
Remove references to the obsolete Mac Carbon modules in the GUI
section of the FAQ.
Terry Jan Reedy [Fri, 11 Apr 2014 18:11:11 +0000 (14:11 -0400)]
Issue #21170: Removed invalid parameter names from unittest doc.
Patch by Kushal Das.
Vinay Sajip [Thu, 10 Apr 2014 06:12:19 +0000 (07:12 +0100)]
Issue #21172: isinstance check relaxed from dict to collections.Mapping.
Benjamin Peterson [Thu, 10 Apr 2014 04:23:18 +0000 (00:23 -0400)]
teach 2to3 about 'yield from'
Benjamin Peterson [Thu, 10 Apr 2014 04:12:47 +0000 (00:12 -0400)]
add matrix multiplication operator support to 2to3
Ned Deily [Wed, 9 Apr 2014 23:16:08 +0000 (16:16 -0700)]
Issue #21187: Fix OS X installer fail-to-build with Xcode 5.1.
Ned Deily [Wed, 9 Apr 2014 23:15:20 +0000 (16:15 -0700)]
Issue #20644: Keep build-installer.py in sync across active versions.
Senthil Kumaran [Wed, 9 Apr 2014 15:44:34 +0000 (11:44 -0400)]
issue #21190: Fix the broken docs download link
Ned Deily [Wed, 9 Apr 2014 01:54:49 +0000 (18:54 -0700)]
Issue #21097: Update Makefile with changed install locations of test directories.