]>
granicus.if.org Git - python/log
Zachary Ware [Tue, 30 Aug 2016 05:16:13 +0000 (00:16 -0500)]
Fix typo
Serhiy Storchaka [Mon, 29 Aug 2016 11:29:55 +0000 (14:29 +0300)]
Issue #27861: Fixed a crash in sqlite3.Connection.cursor() when a factory
creates not a cursor. Patch by Xiang Zhang.
Martin Panter [Sat, 27 Aug 2016 04:00:19 +0000 (04:00 +0000)]
Issue #25825: Fix references to $(LIBPL) installation path on AIX
In Subversion r86731, the path was changed from $(BINLIBDEST)/config to
$(LIBDEST)/config-$(LDVERSION).
Martin Panter [Sat, 27 Aug 2016 03:23:11 +0000 (03:23 +0000)]
Issue #19884: Avoid spurious output on OS X with Gnu Readline
Also adjust the test condition, because enable-meta-key was only added in
6.1, not 6.0.
Berker Peksag [Fri, 26 Aug 2016 19:07:51 +0000 (22:07 +0300)]
Issue #10513: Fix a regression in Connection.commit()
Statements should not be reset after a commit.
Backported from https://github.com/ghaering/pysqlite/commit/
029050896b1e6058573abeef5a8970384c0c7faa
Raymond Hettinger [Fri, 26 Aug 2016 04:11:50 +0000 (21:11 -0700)]
Issue 19504: Change "customise" to "customize" American spelling.
Terry Jan Reedy [Fri, 26 Aug 2016 00:04:14 +0000 (20:04 -0400)]
Add version to title of IDLE help window.
Vinay Sajip [Thu, 25 Aug 2016 14:13:24 +0000 (15:13 +0100)]
Issue #23746: Clarified is_python_build() documentation.
Terry Jan Reedy [Thu, 25 Aug 2016 05:22:30 +0000 (01:22 -0400)]
Issue #25564: Mention exec and __builtins__ in IDLE-console difference section.
Terry Jan Reedy [Wed, 24 Aug 2016 21:52:57 +0000 (17:52 -0400)]
Fix misspelling
Berker Peksag [Wed, 24 Aug 2016 21:50:24 +0000 (00:50 +0300)]
Fix typo in Cursor.execute().
Berker Peksag [Wed, 24 Aug 2016 21:45:07 +0000 (00:45 +0300)]
Issue #6057: Document exceptions in sqlite3 module
Patch by Jaysinh Shukla and Stéphane Wirtel.
R David Murray [Wed, 24 Aug 2016 00:43:56 +0000 (20:43 -0400)]
#25916: fix a few 'string of bytes' references.
Patch by SilengGhost.
Guido van Rossum [Tue, 23 Aug 2016 18:01:50 +0000 (11:01 -0700)]
A new version of typing.py from https://github.com/python/typing.
Guido van Rossum [Tue, 23 Aug 2016 16:39:03 +0000 (09:39 -0700)]
In asyncio.locks.Lock.acquire(): Avoid deadlock when a cancelled future is in self._waiters.
Berker Peksag [Mon, 22 Aug 2016 15:05:56 +0000 (18:05 +0300)]
Issue #27587: Move null pointer check earlier in _PyState_AddModule()
This was found by PVS-Studio:
V595 The 'def' pointer was utilized before it was verified
against nullptr. Check lines: 286, 292. pystate.c 286
Initial patch by Christian Heimes.
Mark Dickinson [Mon, 22 Aug 2016 09:50:53 +0000 (10:50 +0100)]
Issue #27539: Fix unnormalised Fraction.__pow__ result for negative exponent and base. Thanks Vedran Čačić.
Berker Peksag [Sun, 21 Aug 2016 16:38:47 +0000 (19:38 +0300)]
Issue #21718: cursor.description is now available for queries using CTEs
According to PEP 249, cursor.description must be
available for any SELECT statements, such as those
that use CTEs.
Backported from https://github.com/ghaering/pysqlite/commit/
f67fa9c898a4713850e16934046f0fe2cba8c44c
Additional test cases added by me.
Nick Coghlan [Sun, 21 Aug 2016 07:41:56 +0000 (17:41 +1000)]
Issue #27782: Fix m_methods handling in multiphase init
Multi-phase extension module import now correctly allows the
``m_methods`` field to be used to add module level functions
to instances of non-module types returned from ``Py_create_mod``.
Patch by Xiang Zhang.
Martin Panter [Sun, 21 Aug 2016 04:07:58 +0000 (04:07 +0000)]
Issue #27487: Warn if submodule already imported before runpy execution
Also try to clarify the find_spec() error message.
Terry Jan Reedy [Sun, 21 Aug 2016 04:18:55 +0000 (00:18 -0400)]
Fix typo in IDLE News.
Terry Jan Reedy [Sun, 21 Aug 2016 01:41:03 +0000 (21:41 -0400)]
Add 3.5.3 IDLE NEWS and idlelib/NEWS.txt items.
Terry Jan Reedy [Sun, 21 Aug 2016 01:07:38 +0000 (21:07 -0400)]
Issue #27714: Remove unneeded non-idempotent call that fails on retest.
Martin Panter [Sat, 20 Aug 2016 08:03:06 +0000 (08:03 +0000)]
Minor spelling fixes
Berker Peksag [Sat, 20 Aug 2016 08:11:52 +0000 (11:11 +0300)]
Issue #12982: Thanks to PEP 488, Python no longer creates .pyo files
Martin Panter [Sat, 20 Aug 2016 06:50:58 +0000 (06:50 +0000)]
Issue #27614: Avoid race in test_docxmlrpc server setup
Martin Panter [Sat, 20 Aug 2016 06:50:14 +0000 (06:50 +0000)]
Issue #27787: Clean up weak references before checking for dangling threads
Ned Deily [Sat, 20 Aug 2016 02:12:06 +0000 (22:12 -0400)]
Issue #27713: Surpress spurious build warnings when updating importlib's
bootstrap files:
Could not find platform dependent libraries <exec_prefix
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Patch by Xiang Zhang
Victor Stinner [Fri, 19 Aug 2016 15:58:12 +0000 (17:58 +0200)]
Fix a refleak in call_maybe()
Issue #27128. Fix a reference leak if creating the tuple to pass positional
parameters fails.
Victor Stinner [Fri, 19 Aug 2016 15:51:49 +0000 (17:51 +0200)]
Fix a refleak in call_method()
Issue #27128. Fix a reference leak if creating the tuple to pass positional
parameters fails.
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