]>
granicus.if.org Git - python/log
Berker Peksag [Fri, 19 Aug 2016 14:59:01 +0000 (17:59 +0300)]
Issue #27801: Skip test_update_lines_cols when update_lines_cols() is not available
Berker Peksag [Fri, 19 Aug 2016 08:51:39 +0000 (11:51 +0300)]
Issue #12946: Document that PyModule_GetDict can fail in some cases
R David Murray [Fri, 19 Aug 2016 01:40:48 +0000 (21:40 -0400)]
Rewrap long lines in Misc/NEWS.
R David Murray [Fri, 19 Aug 2016 01:27:48 +0000 (21:27 -0400)]
#2466: ismount now recognizes mount points user can't access.
Patch by Robin Roth, reviewed by Serhiy Storchaka, comment wording
tweaked by me.
Victor Stinner [Thu, 18 Aug 2016 16:13:10 +0000 (18:13 +0200)]
Fix SystemError in "raise" statement
Issue #27558: Fix a SystemError in the implementation of "raise" statement.
In a brand new thread, raise a RuntimeError since there is no active
exception to reraise.
Patch written by Xiang Zhang.
Zachary Ware [Wed, 17 Aug 2016 14:51:20 +0000 (09:51 -0500)]
Use sys.version_info, not sys.version.
sys.version[0] gives a string, which fails > comparison with 2.
Reported by Arne Maximilian Richter on docs@
Victor Stinner [Wed, 17 Aug 2016 12:40:08 +0000 (14:40 +0200)]
Issue #27698: Add socketpair to socket.__all__ on Windows
Victor Stinner [Wed, 17 Aug 2016 12:00:58 +0000 (14:00 +0200)]
Issue #27726: Fix "make tags"
* Memove -t option of ctags. The option was kept for backward compatibility,
but it was completly removed recently. Patch written by Stéphane Wirtel.
* Set locale to C to call sort. vim expects that the tags file is sorted using
english collation, so it fails if the locale is french for example. Use
LC_ALL=C to force english sorting order. .
Victor Stinner [Wed, 17 Aug 2016 10:29:58 +0000 (12:29 +0200)]
script_helper: kill the subprocess on error
If Popen.communicate() raises an exception, kill the child process to not leave
a running child process in background and maybe create a zombi process.
This change fixes a ResourceWarning in Python 3.6 when unit tests are
interrupted by CTRL+c.
Benjamin Peterson [Wed, 17 Aug 2016 06:37:33 +0000 (23:37 -0700)]
merge 3.4 (#27783)
Benjamin Peterson [Wed, 17 Aug 2016 06:36:20 +0000 (23:36 -0700)]
merge 3.3 (#27783)
Benjamin Peterson [Wed, 17 Aug 2016 06:35:35 +0000 (23:35 -0700)]
rearrange methodcaller_new so that the main error case does not cause uninitialized memory usage (closes #27783)
Raymond Hettinger [Tue, 16 Aug 2016 17:59:04 +0000 (10:59 -0700)]
Remove duplicate of the entry in the seealso section
Gregory P. Smith [Tue, 16 Aug 2016 06:23:40 +0000 (23:23 -0700)]
Issue #26750: use inspect.isdatadescriptor instead of our own
_is_data_descriptor().
Terry Jan Reedy [Tue, 16 Aug 2016 05:44:12 +0000 (01:44 -0400)]
Issue #27611: Don't import volatile attribute.
Benjamin Peterson [Tue, 16 Aug 2016 05:05:06 +0000 (22:05 -0700)]
merge 3.4 (#27774)
Benjamin Peterson [Tue, 16 Aug 2016 05:03:44 +0000 (22:03 -0700)]
merge 3.3 (#27774)
Benjamin Peterson [Tue, 16 Aug 2016 05:01:41 +0000 (22:01 -0700)]
do not decref value borrowed from list (closes #27774)
Benjamin Peterson [Tue, 16 Aug 2016 04:55:37 +0000 (21:55 -0700)]
fix corner cases in the management of server_hostname (closes #27773)
Benjamin Peterson [Tue, 16 Aug 2016 04:43:57 +0000 (21:43 -0700)]
merge 3.4
Benjamin Peterson [Tue, 16 Aug 2016 04:40:14 +0000 (21:40 -0700)]
fail when negative values are passed to instr()
Guido van Rossum [Mon, 15 Aug 2016 22:06:38 +0000 (15:06 -0700)]
Add docs for typing.AnyStr and typing.Text. By Michael Lee.
Ned Deily [Mon, 15 Aug 2016 07:08:18 +0000 (03:08 -0400)]
Issue #10910: Update FreedBSD version checks for the ctype UTF-8 workaround.
The original problem has been fixed in newer versions of FreeBSD.
Patch by Dimitry Andric of the FreeBSD project.
Ned Deily [Mon, 15 Aug 2016 07:07:26 +0000 (03:07 -0400)]
Issue #10910: Avoid C++ compilation errors on FreeBSD and OS X.
Patch by Ronald Oussoren.
Donald Stufft [Sun, 14 Aug 2016 20:10:17 +0000 (16:10 -0400)]
merge 3.4
Donald Stufft [Sun, 14 Aug 2016 20:09:56 +0000 (16:09 -0400)]
Update setuptools/pip to 25.2.0/8.1.2
Benjamin Peterson [Sun, 14 Aug 2016 01:37:12 +0000 (18:37 -0700)]
merge 3.4 (closes #27760)
Benjamin Peterson [Sun, 14 Aug 2016 01:36:55 +0000 (18:36 -0700)]
merge 3.3 (closes #27760)
Benjamin Peterson [Sun, 14 Aug 2016 01:33:33 +0000 (18:33 -0700)]
fix possible integer overflow in binascii.b2a_qp (closes #27760)
Reported by Thomas E. Hybel
Benjamin Peterson [Sun, 14 Aug 2016 01:21:16 +0000 (18:21 -0700)]
merge 3.4
Benjamin Peterson [Sun, 14 Aug 2016 01:15:28 +0000 (18:15 -0700)]
do not allow reading negative values with getstr()
Benjamin Peterson [Sun, 14 Aug 2016 00:21:54 +0000 (17:21 -0700)]
merge 3.4 (closes #27758)
Benjamin Peterson [Sun, 14 Aug 2016 00:21:22 +0000 (17:21 -0700)]
merge 3.3 (#27758)
Benjamin Peterson [Sun, 14 Aug 2016 00:17:06 +0000 (17:17 -0700)]
check for overflow in join_append_data (closes #27758)
Reported by Thomas E. Hybel
R David Murray [Sat, 13 Aug 2016 18:47:18 +0000 (14:47 -0400)]
#27753: fix typo (name->named).
Raymond Hettinger [Sat, 13 Aug 2016 18:15:34 +0000 (11:15 -0700)]
Issue #27720: Fix error in eng_to_decimal docs and add examples from the specification.
(Based on a first draft patch from Evelyn Mitchell.)
Berker Peksag [Sat, 13 Aug 2016 02:37:49 +0000 (05:37 +0300)]
Issue #24637: Document that locals can be any mapping object
This behavior is already tested in test_general_eval in
Lib/test/test_builtin.py
Patch by Matthew Keeter.
Brett Cannon [Fri, 12 Aug 2016 17:56:48 +0000 (10:56 -0700)]
Issue #27712: Fix some typos in the import docs.
Thanks to Xiang Zhang for the patch.
Raymond Hettinger [Fri, 12 Aug 2016 16:43:59 +0000 (09:43 -0700)]
Issue 27719: Remove a doc example that is not applicable in Python 3
Martin Panter [Fri, 12 Aug 2016 13:21:05 +0000 (13:21 +0000)]
Issue #25825: Fix references to Modules/python.exp
These were incorrectly changed in revision
88a532a31eb3 .
Martin Panter [Fri, 12 Aug 2016 12:02:03 +0000 (12:02 +0000)]
Issue #27745: Fix some typos in Argument Clinic howto, by Lele Gaifax
Martin Panter [Fri, 12 Aug 2016 11:59:52 +0000 (11:59 +0000)]
Issue #26741: Clean up subprocess.Popen object in test_poll
Martin Panter [Fri, 12 Aug 2016 11:59:52 +0000 (11:59 +0000)]
Close HTTP connections and responses in tests to avoid ResourceWarnings
Terry Jan Reedy [Wed, 10 Aug 2016 20:52:24 +0000 (16:52 -0400)]
Issue #27714: text_textview now passes when re-run in the same process
because test_idle failed while running with test -w (and no -jn).
Martin Panter [Wed, 10 Aug 2016 05:25:16 +0000 (05:25 +0000)]
Correct misspellings of ISO-8859
Zachary Ware [Wed, 10 Aug 2016 06:05:19 +0000 (01:05 -0500)]
Issue #27200: Fix doctests in Doc/library/hashlib.rst
Zachary Ware [Wed, 10 Aug 2016 05:59:59 +0000 (00:59 -0500)]
Issue #27210: Fix doctests for a few modules.
Initial patch by Jelle Zijlstra.
Zachary Ware [Wed, 10 Aug 2016 05:39:41 +0000 (00:39 -0500)]
Issue #27209: Fix doctests in Doc/library/email*.rst
Patch by Jelle Zijlstra.
Zachary Ware [Wed, 10 Aug 2016 05:35:27 +0000 (00:35 -0500)]
Issue #27208: Fix doctest in Doc/library/traceback.rst
Patch by Jelle Zijlstra.
Zachary Ware [Wed, 10 Aug 2016 05:30:41 +0000 (00:30 -0500)]
Issue #27207: Fix doctests in Doc/whatsnew/3.2.rst
Initial patch by Jelle Zijlstra.
Zachary Ware [Tue, 9 Aug 2016 22:44:52 +0000 (17:44 -0500)]
Issue #27206: Fix doctests in Doc/tutorial.
Patch by Jelle Zijlstra.
Zachary Ware [Tue, 9 Aug 2016 22:38:22 +0000 (17:38 -0500)]
Issue #27205: Fix doctests in Doc/library/collections.rst.
Initial patch by Jelle Zijlstra.
Zachary Ware [Tue, 9 Aug 2016 22:10:39 +0000 (17:10 -0500)]
Issue #27722: Fix default for touch method's 'mode' argument
Zachary Ware [Tue, 9 Aug 2016 21:47:04 +0000 (16:47 -0500)]
Issue #27204: Fix doctests in Doc/howto
Patch by Jelle Zijlstra.
Zachary Ware [Tue, 9 Aug 2016 21:20:41 +0000 (16:20 -0500)]
Correct signatures for a couple of logging handlers
Reported by Oleg Gromyak on docs@
Vinay Sajip [Tue, 9 Aug 2016 14:04:49 +0000 (15:04 +0100)]
Closes #21999: Handled empty strings correctly when in POSIX mode.
Guido van Rossum [Mon, 8 Aug 2016 16:41:21 +0000 (09:41 -0700)]
Issue #27700: Document AbstractEventLoop, not BaseEventLoop.
Berker Peksag [Mon, 8 Aug 2016 10:34:49 +0000 (13:34 +0300)]
Fix use of default reST role
Berker Peksag [Mon, 8 Aug 2016 10:07:08 +0000 (13:07 +0300)]
Issue #23322: Remove outdated reference to an example in parser docs
Initial patch by Sahil Chelaramani.
Andrew Svetlov [Mon, 8 Aug 2016 00:10:39 +0000 (03:10 +0300)]
Use asyncio.gather instead of asyncio.wait in example.
gather will raise exception in case of problem but wait just returns done and pending lists of futures.
For getting error every future result should be retrieved, which is boring and error prone.
Gregory P. Smith [Sun, 7 Aug 2016 15:52:26 +0000 (08:52 -0700)]
Issue #26750: unittest.mock.create_autospec() now works properly
for subclasses of property() and other data descriptors.
Guido van Rossum [Sat, 6 Aug 2016 20:46:48 +0000 (13:46 -0700)]
Better docs for typing.Any by Michael Lee. Fixes issue #27688.
Berker Peksag [Sat, 6 Aug 2016 00:00:03 +0000 (03:00 +0300)]
Issue #18548: Fix unittest.TestSuite() example
Initial patch by py.user.
Vinay Sajip [Fri, 5 Aug 2016 20:44:15 +0000 (21:44 +0100)]
Issue #20160: Merged fix from 3.4.
Vinay Sajip [Fri, 5 Aug 2016 20:43:25 +0000 (21:43 +0100)]
Issue #20160: Merged fix from 3.3.
Vinay Sajip [Fri, 5 Aug 2016 20:24:27 +0000 (21:24 +0100)]
Issue #20160: Handled passing of large structs to callbacks correctly.
Guido van Rossum [Fri, 5 Aug 2016 19:56:09 +0000 (12:56 -0700)]
Add typing.Generator docs, by Michael Lee.
Martin Panter [Thu, 4 Aug 2016 13:07:31 +0000 (13:07 +0000)]
Fix spelling and grammar in documentation and code comments
Zachary Ware [Thu, 4 Aug 2016 17:13:47 +0000 (12:13 -0500)]
Fix half-finished sentence.
Reported by Linda Pescatore on docs@.
Berker Peksag [Thu, 4 Aug 2016 14:25:40 +0000 (17:25 +0300)]
Fix indentation of versionadded directive in IPv4Address.reverse_pointer docs
Berker Peksag [Thu, 4 Aug 2016 14:21:46 +0000 (17:21 +0300)]
Indent ipaddress.ip_address() example correctly
Benjamin Peterson [Thu, 4 Aug 2016 05:01:32 +0000 (22:01 -0700)]
https link to the bug tracker (closes #27670)
Donald Stufft [Wed, 3 Aug 2016 22:48:17 +0000 (18:48 -0400)]
Merge 3.3
Donald Stufft [Wed, 3 Aug 2016 22:43:38 +0000 (18:43 -0400)]
Switch upload.pypi.io to upload.pypi.org
Senthil Kumaran [Sun, 31 Jul 2016 06:34:34 +0000 (23:34 -0700)]
[merge from 3.3] Prevent HTTPoxy attack (CVE-2016-
1000110 )
Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.
Issue #27568 Reported and patch contributed by Rémi Rampin.
Senthil Kumaran [Sun, 31 Jul 2016 06:24:16 +0000 (23:24 -0700)]
Prevent HTTPoxy attack (CVE-2016-
1000110 )
Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.
Issue #27568 Reported and patch contributed by Rémi Rampin.
Martin Panter [Fri, 29 Jul 2016 05:52:32 +0000 (05:52 +0000)]
Issue #27641: Comment out regeneration rules when cross compiling
Martin Panter [Wed, 3 Aug 2016 14:35:05 +0000 (14:35 +0000)]
Issue #24278: Explain how argument parsing output buffers are managed
Donald Stufft [Wed, 3 Aug 2016 22:49:19 +0000 (18:49 -0400)]
Merge 3.4
Berker Peksag [Wed, 3 Aug 2016 09:58:49 +0000 (12:58 +0300)]
Issue #23710: Update PyObject_HEAD documentation
Since PEP 3123, PyObject_HEAD only has one field named ob_base.
Users now need to use the Py_TYPE macro instead of self->ob_type.
Initial patch by Ammar Askar.
Stefan Krah [Wed, 3 Aug 2016 09:18:26 +0000 (11:18 +0200)]
Issue #20767: Fix -R option for FreeBSD/clang.
Berker Peksag [Wed, 3 Aug 2016 07:17:21 +0000 (10:17 +0300)]
Issue #26576: Clarify that the @deco syntax is not always an equivalent of f = deco(f)
Patch by Chris Angelico.
Stefan Krah [Tue, 2 Aug 2016 20:30:24 +0000 (22:30 +0200)]
Issue #27241: Catch exception when running pstats as main.
Senthil Kumaran [Sun, 31 Jul 2016 06:48:19 +0000 (23:48 -0700)]
merge heads
Senthil Kumaran [Sun, 31 Jul 2016 06:39:06 +0000 (23:39 -0700)]
[merge from 3.4] - Prevent HTTPoxy attack (CVE-2016-
1000110 )
Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.
Issue #27568 Reported and patch contributed by Rémi Rampin.
Benjamin Peterson [Sun, 31 Jul 2016 06:21:50 +0000 (23:21 -0700)]
all SCHED_ constants are optional (closes #27656)
Xavier de Gaye [Sat, 30 Jul 2016 09:28:35 +0000 (11:28 +0200)]
Issue #27453: CPP invocation in configure must use CPPFLAGS.
Patch by Chi Hsuan Yen.
Berker Peksag [Sat, 30 Jul 2016 00:47:52 +0000 (03:47 +0300)]
Silence another "default role used" warning in typing.rst
This should make ware-docs green again.
Guido van Rossum [Fri, 29 Jul 2016 22:41:17 +0000 (15:41 -0700)]
Fix whitespace.
Guido van Rossum [Fri, 29 Jul 2016 22:38:14 +0000 (15:38 -0700)]
Expand documentation about type aliases and NewType in the typing module.
By Michael Lee.
Martin Panter [Tue, 26 Jul 2016 09:18:21 +0000 (11:18 +0200)]
Issue #26462: Doc: reduce literal_block warnings, fix syntax highlighting.
Patch by Julien Palard.
Zachary Ware [Fri, 29 Jul 2016 00:00:53 +0000 (19:00 -0500)]
Correct typo in Windows docs.
Found by Jack Copper on docs@
Victor Stinner [Thu, 28 Jul 2016 15:06:25 +0000 (17:06 +0200)]
NEWS: tag security related changes with [Security] prefix
Issue #27404.
Martin Panter [Thu, 28 Jul 2016 03:48:29 +0000 (03:48 +0000)]
Issue #23943: Restore extra fixes lost in merge
4fb2075952a4
Martin Panter [Thu, 28 Jul 2016 01:11:04 +0000 (01:11 +0000)]
Issue #27626: Spelling fixes in docs, comments and internal names
Based on patch by Ville Skyttä.
Martin Panter [Thu, 28 Jul 2016 01:28:27 +0000 (01:28 +0000)]
Issue #27490: Do not build pgen when cross-compiling
The dependendency on the $(PGEN) variable must only be
set when not cross-compiling. When cross-compiling,
$(PGEN) will not be used, so no need to build it.
Patch by Thomas Perl.
Victor Stinner [Wed, 27 Jul 2016 14:58:47 +0000 (16:58 +0200)]
ctypes: fix CThunkObject_new()
* Initialize restype and flags fields to fix a crash when Python runs on a
read-only file system
* Use Py_ssize_t type rather than int for the "i" iterator variable
* Reorder assignements to be able to more easily check if all fields are
initialized
Issue #11048. Initial patch written by Marcin Bachry.
Berker Peksag [Wed, 27 Jul 2016 10:32:54 +0000 (13:32 +0300)]
Issue #27633: Fix usage of versionchanged directive in email.parser.rst
Patch by Florian Preinstorfer.
Xavier de Gaye [Tue, 26 Jul 2016 10:48:08 +0000 (12:48 +0200)]
Issue #26662: Set PYTHON_FOR_GEN in configure
as the Python program to be used for file generation during the build.
Martin Panter [Tue, 26 Jul 2016 06:46:06 +0000 (06:46 +0000)]
Issue #26638: Don’t link 2to3 -l option to the tarfile -l option