]>
granicus.if.org Git - python/log
Serhiy Storchaka [Fri, 3 Jun 2016 07:44:12 +0000 (10:44 +0300)]
Merge heads
Serhiy Storchaka [Fri, 3 Jun 2016 07:38:24 +0000 (10:38 +0300)]
Issue #27185: Rename test_string_merged.py back to test_string.py.
Serhiy Storchaka [Fri, 3 Jun 2016 07:38:02 +0000 (10:38 +0300)]
Issue #27185: Merge test_pep292.py into test_string_merged.py.
Serhiy Storchaka [Fri, 3 Jun 2016 07:32:36 +0000 (10:32 +0300)]
Issue #27185: Rename test_pep292.py to test_string_merged.py.
Serhiy Storchaka [Fri, 3 Jun 2016 07:30:25 +0000 (10:30 +0300)]
Issue #27185: Rename test_string.py to test_string_merged.py.
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Fri, 3 Jun 2016 00:31:21 +0000 (00:31 +0000)]
Document that CalledProcessError.returncode is the negative
signal number when the process died due to a signal.
R David Murray [Fri, 3 Jun 2016 00:05:43 +0000 (20:05 -0400)]
#26829: Clarify that namespace is copied to a new __dict__ in instance creation.
Patch by Emily Morehouse.
R David Murray [Thu, 2 Jun 2016 23:37:47 +0000 (19:37 -0400)]
#27185: move test_pep292 into test_string.
This makes the Template tests discoverable. Patch by Erin Braswell.
Berker Peksag [Thu, 2 Jun 2016 22:28:00 +0000 (15:28 -0700)]
Issue #16192: Fix copy and paste mistake noticed by Eryk Sun
Yury Selivanov [Thu, 2 Jun 2016 20:51:07 +0000 (16:51 -0400)]
asyncio: Fix getaddrinfo to accept service names (for port)
Patch by A. Jesse Jiryu Davis
Yury Selivanov [Thu, 2 Jun 2016 20:43:52 +0000 (16:43 -0400)]
asyncio: Support host=b'' for getaddrinfo
Berker Peksag [Thu, 2 Jun 2016 20:45:53 +0000 (13:45 -0700)]
Issue #21776: distutils.upload now correctly handles HTTPError
Initial patch by Claudiu Popa.
R David Murray [Thu, 2 Jun 2016 19:46:04 +0000 (15:46 -0400)]
#20973: add total ordering tests for ipaddress
Patch by Tommy Beadle.
Benjamin Peterson [Thu, 2 Jun 2016 19:41:35 +0000 (12:41 -0700)]
remove (hilarious) defaults for various constants getpath.c needs
R David Murray [Thu, 2 Jun 2016 19:14:30 +0000 (15:14 -0400)]
#13784: fix xml.sax.reader getColumn/LineNumber docs.
verification and patch by Emily Morehouse.
Berker Peksag [Thu, 2 Jun 2016 19:17:51 +0000 (12:17 -0700)]
Issue #16192: Clarify when c_int is an alias to c_long in ctypes documentation
Benjamin Peterson [Thu, 2 Jun 2016 18:35:59 +0000 (11:35 -0700)]
note that Py_VISIT handles NULL (closes #27183)
Berker Peksag [Thu, 2 Jun 2016 18:31:19 +0000 (11:31 -0700)]
Issue #23116: Improve ask_ok() example in the Python tutorial
Martin Panter [Thu, 2 Jun 2016 10:07:09 +0000 (10:07 +0000)]
Issue #27171: Fix typos in documentation, comments, and test function names
Berker Peksag [Thu, 2 Jun 2016 01:26:18 +0000 (18:26 -0700)]
Issue #12243: Remove redundant availability notes from getpass docs
Patch by Bryce Verdier.
Berker Peksag [Wed, 1 Jun 2016 20:54:33 +0000 (13:54 -0700)]
Fix link in programming FAQ.
The example actually uses the sort method of list object.
Berker Peksag [Wed, 1 Jun 2016 16:52:35 +0000 (09:52 -0700)]
Issue #27174: Update IPython URL in tutorial
Berker Peksag [Wed, 1 Jun 2016 16:36:14 +0000 (09:36 -0700)]
Fix typo in Python tutorial
Martin Panter [Wed, 1 Jun 2016 08:10:50 +0000 (08:10 +0000)]
Issue #25570: Add example of customizing User-Agent via add_header()
Zachary Ware [Wed, 1 Jun 2016 05:01:10 +0000 (00:01 -0500)]
Fix typo
Martin Panter [Mon, 30 May 2016 04:04:50 +0000 (04:04 +0000)]
Issue #27125: Remove duplicated words from documentation and comments
Terry Jan Reedy [Mon, 30 May 2016 05:02:34 +0000 (01:02 -0400)]
Add items to MISC/NEWS and idlelib/NEWS.txt.
Senthil Kumaran [Mon, 30 May 2016 03:36:58 +0000 (20:36 -0700)]
issue27043 - Explain the inspect.cleandoc behavior on synopsis line and other lines.
Patch contributed by Nathan Harold.
Martin Panter [Sun, 29 May 2016 04:13:35 +0000 (04:13 +0000)]
Issue #27125: Fix various errors like “will [be] inherited”
Terry Jan Reedy [Sun, 29 May 2016 05:40:30 +0000 (01:40 -0400)]
Issue #27117: Make ColorDelegator htest and turtledemo work with dark theme.
Factor out code for configuring text widget colors to a new function.
Martin Panter [Sun, 29 May 2016 00:48:54 +0000 (00:48 +0000)]
Issue #27124: Fix documentation of exception raised by a2b_hex()
Benjamin Peterson [Sat, 28 May 2016 21:07:30 +0000 (14:07 -0700)]
merge heads
Benjamin Peterson [Sat, 28 May 2016 21:04:40 +0000 (14:04 -0700)]
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Sat, 28 May 2016 21:03:48 +0000 (21:03 +0000)]
Fix issue27146 - add stdio.h include to posixmodule.c for ctermid().
Eric Snow [Sat, 28 May 2016 17:56:53 +0000 (11:56 -0600)]
Issue #27147: Mention PEP 420 in the importlib docs.
Serhiy Storchaka [Sat, 28 May 2016 11:46:13 +0000 (14:46 +0300)]
Issue #27138: Regenerate Python/importlib_external.h.
Raymond Hettinger [Sat, 28 May 2016 07:10:56 +0000 (00:10 -0700)]
Issue 25926: Clarify that the pure python equivalents are only approximate.
Martin Panter [Sat, 28 May 2016 02:20:39 +0000 (02:20 +0000)]
Issue #26553: Capitalization of HTTP, HTTPS, FTP, and URL
Patch by Anish Shah and Aatish Neupane.
Martin Panter [Sat, 28 May 2016 00:41:57 +0000 (00:41 +0000)]
Issue #20699: Document that “io” methods accept bytes-like objects
This matches the usage of ZipFile and BufferedWriter. This still requires
return values to be bytes() objects.
Also document and test that the write() methods should only access their
argument before they return.
Eric Snow [Fri, 27 May 2016 18:36:28 +0000 (12:36 -0600)]
Issue #27138: Fix the doc comment for FileFinder.find_spec().
Martin Panter [Fri, 27 May 2016 11:20:21 +0000 (11:20 +0000)]
Issue #5784: wbits=0 apparently added in zlib v1.2.3.5
Martin Panter [Fri, 27 May 2016 07:32:11 +0000 (07:32 +0000)]
Issue #5784: Expand documentation and tests for zlib wbits parameter
Based on documentation by AM Kuchling.
Benjamin Peterson [Fri, 27 May 2016 06:18:51 +0000 (23:18 -0700)]
stop talking about svn
Benjamin Peterson [Fri, 27 May 2016 05:55:49 +0000 (22:55 -0700)]
remove cruft from Schwarzian transform section
Benjamin Peterson [Fri, 27 May 2016 05:51:32 +0000 (22:51 -0700)]
"Numeric Python" -> "NumPy"
Steve Dower [Thu, 26 May 2016 19:18:12 +0000 (12:18 -0700)]
Issue #27114: Fix SSLContext._load_windows_store_certs fails with PermissionError
Guido van Rossum [Thu, 26 May 2016 16:56:19 +0000 (09:56 -0700)]
Comment/docstring tweaks for typing.py.
Victor Stinner [Thu, 26 May 2016 13:21:25 +0000 (15:21 +0200)]
test_warnings: catch stderr and check warning
Check the user warning in test_error_after_default() to not pollute the output,
and check the warning logged into stderr.
Martin Panter [Thu, 26 May 2016 09:10:55 +0000 (09:10 +0000)]
Issue #18383: Avoid adding duplicate filters when warnings is reloaded
Based on patch by Alex Shkop.
Martin Panter [Thu, 26 May 2016 05:35:26 +0000 (05:35 +0000)]
Issue #27076: Doc, comment and tests spelling fixes
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
Guido van Rossum [Tue, 24 May 2016 23:38:22 +0000 (16:38 -0700)]
Added Type[C] implementation to typing.py.
Benjamin Peterson [Tue, 24 May 2016 05:47:50 +0000 (22:47 -0700)]
fix indentation and add curlies (closes #27093)
Serhiy Storchaka [Mon, 23 May 2016 05:41:48 +0000 (08:41 +0300)]
Issue #26927: Fixed test_mmap on platforms with 32-bit off_t (like Android).
Patch by Xavier de Gaye.
Terry Jan Reedy [Sun, 22 May 2016 18:35:24 +0000 (14:35 -0400)]
Issue #26673: Protect IDLE from Linux fonts with reported default size 0.
Such fonts on Linux prevented the configuration dialog from opening.
Serhiy Storchaka [Sun, 22 May 2016 15:23:36 +0000 (18:23 +0300)]
Fixed an error in previous commit.
Serhiy Storchaka [Sun, 22 May 2016 15:16:20 +0000 (18:16 +0300)]
Temporary skip curses tests on non-tty (issue #27067).
Martin Panter [Sun, 22 May 2016 03:01:52 +0000 (03:01 +0000)]
Fix minor inconsistencies with Issue #N references in NEWS and HISTORY
Yury Selivanov [Sat, 21 May 2016 20:50:16 +0000 (16:50 -0400)]
asyncio: Fix BytesWarning (use typed=True in lru_cache for _ipaddr_info)
Serhiy Storchaka [Sat, 21 May 2016 18:36:11 +0000 (21:36 +0300)]
Issue #27067: Improved curses tests.
Berker Peksag [Sat, 21 May 2016 11:56:35 +0000 (14:56 +0300)]
Issue #27075: Link to StreamReader and StreamWriter docs
Patch by Ville Skyttä.
Yury Selivanov [Fri, 20 May 2016 21:44:19 +0000 (17:44 -0400)]
asyncio: Fix getaddrinfo to accept None/str/bytes for 'port' arg
Patch by A. Jesse Jiryu Davis.
Serhiy Storchaka [Fri, 20 May 2016 20:28:37 +0000 (23:28 +0300)]
Issue #27063: Some unittest loader tests were silently skipped.
Serhiy Storchaka [Fri, 20 May 2016 19:31:14 +0000 (22:31 +0300)]
Issue #26168: Fixed possible refleaks in failing Py_BuildValue() with the "N"
format unit.
Yury Selivanov [Fri, 20 May 2016 15:31:40 +0000 (11:31 -0400)]
asyncio: Fix an SSL warning in StreamReaderProtocol.eof_received
Victor Stinner [Fri, 20 May 2016 11:05:48 +0000 (13:05 +0200)]
asyncio: fix ResourceWarning related to subprocesses
Issue #26741: asyncio: BaseSubprocessTransport._process_exited() now copies the
return code from the child watched to the returncode attribute of the Popen
object. On Python 3.6, it is required to avoid a ResourceWarning.
Guido van Rossum [Thu, 19 May 2016 20:10:20 +0000 (13:10 -0700)]
Back out pathlib.Path.path attr. (Merge 3.4->3.5)
Guido van Rossum [Thu, 19 May 2016 20:00:21 +0000 (13:00 -0700)]
Back out
7e9605697dfc ,
2e3c31ab586a ,
759b2cecc289 .
These added a path attribute to pathlib.Path objects, and docs.
Instead, we're going to use PEP 519.
(Starting in the 3.4 branch and merging forward from there since that's what I did originally.)
Steve Dower [Thu, 19 May 2016 17:47:47 +0000 (10:47 -0700)]
Issue #27053: Updates make_zip.py to correctly generate library ZIP file.
Victor Stinner [Thu, 19 May 2016 14:46:18 +0000 (16:46 +0200)]
Fix os.set_inheritable() on Android
Issue #27057: Fix os.set_inheritable() on Android, ioctl() is blocked by
SELinux and fails with EACCESS. The function now falls back to fcntl().
Patch written by Michał Bednarski.
Steve Dower [Wed, 18 May 2016 22:54:05 +0000 (15:54 -0700)]
Removes versioning from py.exe launcher installer and ensures that old launchers are replaced by newer ones.
Guido van Rossum [Wed, 18 May 2016 15:35:00 +0000 (08:35 -0700)]
Fix #27014 -- infinite recursion using typing.py.
Serhiy Storchaka [Wed, 18 May 2016 10:54:54 +0000 (13:54 +0300)]
Issue #27036: Fixed formatting references to "bytes-like object" in plural.
Serhiy Storchaka [Wed, 18 May 2016 10:00:56 +0000 (13:00 +0300)]
Fixed test_sizeof for deque.
Senthil Kumaran [Wed, 18 May 2016 03:50:43 +0000 (20:50 -0700)]
issue27045 - Use backslash in windows path to script file.
Terry Jan Reedy [Wed, 18 May 2016 02:48:22 +0000 (22:48 -0400)]
Issue #21939: Test IDLE percolator. Original patch by Saimadhav Heblikar.
Ned Deily [Wed, 18 May 2016 01:44:46 +0000 (21:44 -0400)]
Issue #27049: fix doc typo
Terry Jan Reedy [Tue, 17 May 2016 23:58:02 +0000 (19:58 -0400)]
Issue #21676: test IDLE replace dialog. Original patch by Saimadhav Heblikar.
Terry Jan Reedy [Tue, 17 May 2016 22:35:07 +0000 (18:35 -0400)]
Issue #18410: add missing parent argument.
Terry Jan Reedy [Tue, 17 May 2016 22:18:37 +0000 (18:18 -0400)]
Issue #18410: Test IDLE's search dialog; original patch by Westley Martínez.
Steve Dower [Tue, 17 May 2016 15:57:53 +0000 (08:57 -0700)]
Fixes unnecessary rebuild when building Windows releases with PGO
Benjamin Peterson [Tue, 17 May 2016 06:20:22 +0000 (23:20 -0700)]
class definitions only get argument lists (closes #27042)
Benjamin Peterson [Tue, 17 May 2016 06:18:33 +0000 (23:18 -0700)]
Backed out changeset
71ff2235bb4c (closes #27042)
Benjamin Peterson [Tue, 17 May 2016 05:54:05 +0000 (22:54 -0700)]
regen importlib bytecode
Benjamin Peterson [Tue, 17 May 2016 05:52:40 +0000 (22:52 -0700)]
fix possible refleak in MAKE_FUNCTION (closes #26991)
Patch by Xiang Zhang.
Terry Jan Reedy [Tue, 17 May 2016 03:32:28 +0000 (23:32 -0400)]
Issue #21703: Add test for undo delegator. Patch most by Saimadhav Heblikar .
Terry Jan Reedy [Tue, 17 May 2016 02:27:28 +0000 (22:27 -0400)]
Issue #27044: stop test_idle from leaking by deleting callbacks.
Yury Selivanov [Mon, 16 May 2016 20:32:38 +0000 (16:32 -0400)]
asyncio/streams: Fix code style; delete LimitOverrunError.message attr
Yury Selivanov [Mon, 16 May 2016 20:23:00 +0000 (16:23 -0400)]
docs: Update asyncio docs & whatsnew
Yury Selivanov [Mon, 16 May 2016 19:38:39 +0000 (15:38 -0400)]
Issue #27041: asyncio: Add loop.create_future method
Yury Selivanov [Mon, 16 May 2016 19:20:38 +0000 (15:20 -0400)]
Issue #27040: Add loop.get_exception_handler method
Serhiy Storchaka [Mon, 16 May 2016 19:15:38 +0000 (22:15 +0300)]
Issue #27039: Fixed bytearray.remove() for values greater than 127.
Patch by Joe Jevnik.
Steve Dower [Mon, 16 May 2016 18:04:44 +0000 (11:04 -0700)]
Fixes magic numbers for 3.6.
Steve Dower [Mon, 16 May 2016 16:34:20 +0000 (09:34 -0700)]
Issue #26073: Updates magic number comment in _bootstrap_external.py and changes numbers in launcher.py to decimal to match official table.
Martin Panter [Mon, 16 May 2016 01:14:20 +0000 (01:14 +0000)]
Issue #17214: Percent-encode non-ASCII bytes in redirect targets
Some servers send Location header fields with non-ASCII bytes, but "http.
client" requires the request target to be ASCII-encodable, otherwise a
UnicodeEncodeError is raised. Based on patch by Christian Heimes.
Python 2 does not suffer any problem because it allows non-ASCII bytes in the
HTTP request target.
Martin Panter [Mon, 16 May 2016 01:07:13 +0000 (01:07 +0000)]
Issue #14132: Fix redirect handling when target is just a query string
Serhiy Storchaka [Mon, 16 May 2016 07:11:47 +0000 (10:11 +0300)]
Issue #26995: Added tests for "f", "d", "D", "S", "Y", and "U" format codes
in PyArg_ParseTuple().
Serhiy Storchaka [Mon, 16 May 2016 06:55:32 +0000 (09:55 +0300)]
Backported tests for issue #18531.
Terry Jan Reedy [Mon, 16 May 2016 03:52:56 +0000 (23:52 -0400)]
Issue 18910: Edit idle_test/README.txt to add 'requires' usage at module scope.
Uppercase 'GUI', remove 2.7 references and reflow text.
Robert Collins [Mon, 16 May 2016 03:22:01 +0000 (15:22 +1200)]
Issue #26807: mock_open 'files' no longer error on readline at end of file.
Patch from Yolanda Robla.
Terry Jan Reedy [Mon, 16 May 2016 02:06:49 +0000 (22:06 -0400)]
Issue #23977: Tweak IDLE Delegator and its test.