]>
granicus.if.org Git - python/log
Steve Dower [Fri, 17 Jun 2016 16:33:11 +0000 (09:33 -0700)]
Issue #27048: Prevents distutils failing on Windows when environment variables contain non-ASCII characters
Steve Dower [Fri, 17 Jun 2016 16:32:38 +0000 (09:32 -0700)]
Issue #27048: Prevents distutils failing on Windows when environment variables contain non-ASCII characters
Victor Stinner [Fri, 17 Jun 2016 10:29:00 +0000 (12:29 +0200)]
Issue #27336: Fix compilation on Windows
Replace "#if WITH_THREAD" with "#ifdef WITH_THREAD".
Berker Peksag [Fri, 17 Jun 2016 10:25:01 +0000 (13:25 +0300)]
Issue #27336: Fix compilation failures --without-threads
Serhiy Storchaka [Fri, 17 Jun 2016 08:13:03 +0000 (11:13 +0300)]
ctypes: the type of b_size is Py_ssize_t.
Serhiy Storchaka [Fri, 17 Jun 2016 08:11:07 +0000 (11:11 +0300)]
ctypes: the type of b_size is Py_ssize_t.
Victor Stinner [Thu, 16 Jun 2016 22:01:30 +0000 (00:01 +0200)]
Merge 3.5
Victor Stinner [Thu, 16 Jun 2016 21:53:47 +0000 (23:53 +0200)]
py_getrandom(): use long type for the syscall() result
Issue #27278. It should fix a conversion warning.
In practice, the Linux kernel doesn't return more than 32 MB per call to the
getrandom() syscall.
Serhiy Storchaka [Thu, 16 Jun 2016 19:10:13 +0000 (22:10 +0300)]
Issue #27330: Fixed possible leaks in the ctypes module.
Serhiy Storchaka [Thu, 16 Jun 2016 19:08:46 +0000 (22:08 +0300)]
Issue #27330: Fixed possible leaks in the ctypes module.
Zachary Ware [Wed, 15 Jun 2016 22:16:16 +0000 (17:16 -0500)]
Issue #26930: Merge with 3.5
Zachary Ware [Wed, 15 Jun 2016 22:13:28 +0000 (17:13 -0500)]
Issue #26930: Update Windows build to OpenSSL 1.0.2h
Ned Deily [Wed, 15 Jun 2016 22:09:45 +0000 (18:09 -0400)]
Issue #27327: null merge from 3.5
Ned Deily [Wed, 15 Jun 2016 22:06:32 +0000 (18:06 -0400)]
Issue #27327: fix doc typo, noted by Jakub Wilk.
Serhiy Storchaka [Wed, 15 Jun 2016 17:07:53 +0000 (20:07 +0300)]
Issue #27301: Fixed incorrect return codes for errors in compile.c.
Serhiy Storchaka [Wed, 15 Jun 2016 17:06:07 +0000 (20:06 +0300)]
Issue #27301: Fixed incorrect return codes for errors in compile.c.
Berker Peksag [Wed, 15 Jun 2016 15:13:12 +0000 (18:13 +0300)]
Merge from 3.5
Berker Peksag [Wed, 15 Jun 2016 15:12:49 +0000 (18:12 +0300)]
Make faq/general.rst gender-inclusive, patch by Sam Hathaway.
Xavier de Gaye [Wed, 15 Jun 2016 09:35:29 +0000 (11:35 +0200)]
Issue #26862: SYS_getdents64 does not need to be defined on android API 21.
Georg Brandl [Wed, 15 Jun 2016 06:58:46 +0000 (08:58 +0200)]
merge with 3.5
Georg Brandl [Wed, 15 Jun 2016 06:58:00 +0000 (08:58 +0200)]
merge with 3.4
Georg Brandl [Wed, 15 Jun 2016 06:57:32 +0000 (08:57 +0200)]
Docs: add html-stable autobuild variant
Martin Panter [Wed, 15 Jun 2016 01:05:27 +0000 (01:05 +0000)]
Issue #27311: Merge zipfile doc from 3.5
Martin Panter [Wed, 15 Jun 2016 00:24:34 +0000 (00:24 +0000)]
Issue #27311: Fix ZipFile.writestr data argument name.
Patch by John Hagen.
Serhiy Storchaka [Tue, 14 Jun 2016 19:53:43 +0000 (22:53 +0300)]
Issue #27238: Got rid of bare excepts in the turtle module. Original patch
by Jelle Zijlstra.
Serhiy Storchaka [Tue, 14 Jun 2016 19:52:04 +0000 (22:52 +0300)]
Issue #27238: Got rid of bare excepts in the turtle module. Original patch
by Jelle Zijlstra.
Gregory P. Smith [Tue, 14 Jun 2016 16:28:08 +0000 (09:28 -0700)]
issue27122: fix typo in the news file, wrong issue #. not issue27123.
Gregory P. Smith [Tue, 14 Jun 2016 16:27:44 +0000 (09:27 -0700)]
issue27122: fix typo in the news file, wrong issue #. not issue27123.
Gregory P. Smith [Tue, 14 Jun 2016 16:24:31 +0000 (09:24 -0700)]
Issue #27123: When an exception is raised within the context being
managed by a contextlib.ExitStack() and one of the exit stack
generators catches and raises it in a chain, do not re-raise the
original exception when exiting, let the new chained one through.
This avoids the PEP 479 bug described in issue25782.
Gregory P. Smith [Tue, 14 Jun 2016 16:19:20 +0000 (09:19 -0700)]
Issue #27123: When an exception is raised within the context being
managed by a contextlib.ExitStack() and one of the exit stack
generators catches and raises it in a chain, do not re-raise the
original exception when exiting, let the new chained one through.
This avoids the PEP 479 bug described in issue25782.
Victor Stinner [Tue, 14 Jun 2016 14:42:59 +0000 (16:42 +0200)]
subprocess: enhance ResourceWarning message
* Add the process identifier to the warning message
* Add also a comment to explain the issue
Victor Stinner [Tue, 14 Jun 2016 14:36:00 +0000 (16:36 +0200)]
Merge 3.5
Victor Stinner [Tue, 14 Jun 2016 14:35:49 +0000 (16:35 +0200)]
cleanup random.c
Casting Py_ssize_t to Py_ssize_t is useless.
Victor Stinner [Tue, 14 Jun 2016 14:33:17 +0000 (16:33 +0200)]
Merge 3.5 (os.urandom, issue #27278)
Victor Stinner [Tue, 14 Jun 2016 14:31:35 +0000 (16:31 +0200)]
Fix os.urandom() using getrandom() on Linux
Issue #27278: Fix os.urandom() implementation using getrandom() on Linux.
Truncate size to INT_MAX and loop until we collected enough random bytes,
instead of casting a directly Py_ssize_t to int.
Victor Stinner [Tue, 14 Jun 2016 13:05:21 +0000 (15:05 +0200)]
Merge 3.5
Victor Stinner [Tue, 14 Jun 2016 13:04:44 +0000 (15:04 +0200)]
Issue #25843: Fix the NEWS entry
Berker Peksag [Tue, 14 Jun 2016 12:25:36 +0000 (15:25 +0300)]
Issue #16864: Cursor.lastrowid now supports REPLACE statement
Initial patch by Alex LordThorsen.
Martin Panter [Tue, 14 Jun 2016 11:31:39 +0000 (11:31 +0000)]
Issue #16182: Merge test_readline from 3.5
Martin Panter [Tue, 14 Jun 2016 11:29:31 +0000 (11:29 +0000)]
Issue #16182: One more check for set_pre_input_hook()
Berker Peksag [Tue, 14 Jun 2016 11:19:33 +0000 (14:19 +0300)]
Merge from 3.5
Berker Peksag [Tue, 14 Jun 2016 11:19:02 +0000 (14:19 +0300)]
Mark tests as skipped when a SQLite version is not supported
Berker Peksag [Tue, 14 Jun 2016 10:25:35 +0000 (13:25 +0300)]
Merge from 3.5
Berker Peksag [Tue, 14 Jun 2016 10:25:11 +0000 (13:25 +0300)]
Remove empty setUp and tearDown methods from sqlite3 tests
They are not used as base classes by another tests so they
can safely be removed.
Berker Peksag [Tue, 14 Jun 2016 09:51:28 +0000 (12:51 +0300)]
Merge from 3.5
Berker Peksag [Tue, 14 Jun 2016 09:51:07 +0000 (12:51 +0300)]
Delete outdated paragraph about OptimizedUnicode again
sqlite3.OptimizedUnicode is an alias for str in Python 3 and
its behavior is already tested in CheckOptimizedUnicode in
Lib/sqlite3/test/factory.py.
sqlite3.OptimizedUnicode was undocumented in
0fc10a33eb4c and
probably added back with the result of a bad merge.
Serhiy Storchaka [Tue, 14 Jun 2016 09:39:18 +0000 (12:39 +0300)]
Issue #26386: Fixed ttk.TreeView selection operations with item id's
containing spaces.
Serhiy Storchaka [Tue, 14 Jun 2016 09:33:31 +0000 (12:33 +0300)]
Issue #26386: Fixed ttk.TreeView selection operations with item id's
containing spaces.
Martin Panter [Tue, 14 Jun 2016 08:49:51 +0000 (08:49 +0000)]
Issue #16182: Merge readline update from 3.5
Martin Panter [Tue, 14 Jun 2016 08:45:43 +0000 (08:45 +0000)]
Issue #16182: set_pre_input_hook() may not exist; document, and update test
doko@ubuntu.com [Tue, 14 Jun 2016 08:15:25 +0000 (10:15 +0200)]
- Don't use largefile support for GNU/Hurd.
doko@ubuntu.com [Tue, 14 Jun 2016 07:22:16 +0000 (09:22 +0200)]
- Issue #23968: Update distutils/sysconfig.py to look for the renamed
_sysconfigdata module too.
doko@ubuntu.com [Tue, 14 Jun 2016 07:03:52 +0000 (09:03 +0200)]
- Issue #8637: Honor a pager set by the env var MANPAGER (in preference to
one set by the env var PAGER).
doko@ubuntu.com [Tue, 14 Jun 2016 06:55:19 +0000 (08:55 +0200)]
- Issue #23968: Rename the platform directory from plat-$(MACHDEP) to
plat-$(PLATFORM_TRIPLET).
Rename the config directory (LIBPL) from config-$(LDVERSION) to
config-$(LDVERSION)-$(PLATFORM_TRIPLET).
Install the platform specifc _sysconfigdata module into the platform
directory and rename it to include the ABIFLAGS.
Benjamin Peterson [Tue, 14 Jun 2016 06:43:40 +0000 (23:43 -0700)]
merge 3.5
Benjamin Peterson [Tue, 14 Jun 2016 06:41:40 +0000 (23:41 -0700)]
merge 3.4
Benjamin Peterson [Tue, 14 Jun 2016 06:41:19 +0000 (23:41 -0700)]
sync ordering of stddef.h includes with expat 2.1.1
doko@ubuntu.com [Tue, 14 Jun 2016 06:39:31 +0000 (08:39 +0200)]
- Issue #8637: Honor a pager set by the env var MANPAGER (in preference to
one set by the env var PAGER).
Martin Panter [Tue, 14 Jun 2016 05:46:17 +0000 (05:46 +0000)]
Issue #16182: Merge test_readline from 3.5
Martin Panter [Tue, 14 Jun 2016 05:45:31 +0000 (05:45 +0000)]
Issue #16182: Attempted workarounds for Apple Editline
doko@ubuntu.com [Tue, 14 Jun 2016 05:27:58 +0000 (07:27 +0200)]
- Modules/_collectionsmodule.c: Mark one more internal symbol as static.
Terry Jan Reedy [Tue, 14 Jun 2016 04:55:09 +0000 (00:55 -0400)]
Issue #27245: revert temporary rename
Terry Jan Reedy [Tue, 14 Jun 2016 04:53:41 +0000 (00:53 -0400)]
Merge with 3.5
Terry Jan Reedy [Tue, 14 Jun 2016 04:53:30 +0000 (00:53 -0400)]
Issue #27245: temporary rename for merge.
Terry Jan Reedy [Tue, 14 Jun 2016 04:53:25 +0000 (00:53 -0400)]
Issue #27245: IDLE: Cleanly delete custom themes and key bindings.
Previously, when IDLE was started from a console or by import, a cascade
of warnings was emitted. Patch by Serhiy Storchaka.
Martin Panter [Tue, 14 Jun 2016 04:31:14 +0000 (04:31 +0000)]
Issue #22636: Merge ctypes.util from 3.5
Martin Panter [Tue, 14 Jun 2016 04:08:30 +0000 (04:08 +0000)]
Issue #22636: Handle OSError from subprocess, e.g. if command not found
Ned Deily [Tue, 14 Jun 2016 03:55:33 +0000 (23:55 -0400)]
Merge 3.6.0a2 releasing branch into default
Ned Deily [Tue, 14 Jun 2016 03:46:45 +0000 (23:46 -0400)]
Start 3.6.0a3
Martin Panter [Tue, 14 Jun 2016 02:59:21 +0000 (02:59 +0000)]
Issue #22636: Merge ctypes.util shell injection fixes from 3.5
Martin Panter [Tue, 14 Jun 2016 02:47:56 +0000 (02:47 +0000)]
Issue #16182: Merge readline locale fix from 3.5
Martin Panter [Tue, 14 Jun 2016 02:23:31 +0000 (02:23 +0000)]
Issue #17500: Remove merge conflict scar tissue
Martin Panter [Tue, 14 Jun 2016 01:27:11 +0000 (01:27 +0000)]
Issue #22636: avoid using a shell in the ctypes.util module
Replace os.popen() with subprocess.Popen. Based on patch by Victor Stinner.
If the "gcc", "cc" or "objdump" command is not available, the code was
supposed to raise an OSError exception. But there was a bug in the code. The
shell code returns the exit code 10 if the required command is missing, and the
code tries to check for the status 10. The problem is that os.popen() doesn't
return the exit code directly, but a status which should be processed by
os.WIFEXITED() and os.WEXITSTATUS(). In practice, the exception was never
raised. The OSError exception was not documented and ctypes.util.find_library()
is expected to return None if the library is not found.
Martin Panter [Tue, 14 Jun 2016 01:16:16 +0000 (01:16 +0000)]
Issue #16182: Fix readline begidx, endidx, and use locale encoding
Based on patch by Serhiy Storchaka.
Ned Deily [Tue, 14 Jun 2016 00:27:57 +0000 (20:27 -0400)]
Issue #27310: Fix IDLE.app failure to launch on OS X due to vestigial import.
Ned Deily [Tue, 14 Jun 2016 00:22:53 +0000 (20:22 -0400)]
Issue #27310: remove vestigial import in IDLE.app
Martin Panter [Mon, 13 Jun 2016 23:51:02 +0000 (23:51 +0000)]
Issue #27136: Merge test_asyncio fix from 3.5
Berker Peksag [Mon, 13 Jun 2016 21:49:05 +0000 (00:49 +0300)]
Issue #27306: Merge from 3.5
Berker Peksag [Mon, 13 Jun 2016 21:48:35 +0000 (00:48 +0300)]
Issue #27306: Fix typo in tarfile documentation
Patch by Gareth Rees.
Berker Peksag [Mon, 13 Jun 2016 21:43:14 +0000 (00:43 +0300)]
Merge from 3.5
Berker Peksag [Mon, 13 Jun 2016 21:42:50 +0000 (00:42 +0300)]
Replace more boilerplate code with modern unittest features in sqlite3 tests
Ned Deily [Mon, 13 Jun 2016 20:55:39 +0000 (16:55 -0400)]
Added tag v3.6.0a2 for changeset
378893423552
Ned Deily [Mon, 13 Jun 2016 20:54:49 +0000 (16:54 -0400)]
Version bump for 3.6.0a2
Ned Deily [Mon, 13 Jun 2016 20:51:55 +0000 (16:51 -0400)]
Update pydoc topics for 3.6.0a2
Larry Hastings [Mon, 13 Jun 2016 20:12:52 +0000 (13:12 -0700)]
Merge the 3.4.5rc1 tag all the way into default (3.6).
Larry Hastings [Mon, 13 Jun 2016 20:01:51 +0000 (13:01 -0700)]
Forward-merge from 3.5 to default.
Larry Hastings [Mon, 13 Jun 2016 19:55:11 +0000 (12:55 -0700)]
Forward-merge from 3.4 to 3.5.
doko@ubuntu.com [Mon, 13 Jun 2016 14:33:04 +0000 (16:33 +0200)]
- Comment out socket (SO_REUSEPORT) and posix (O_SHLOCK, O_EXLOCK) constants
exposed on the API which are not implemented on GNU/Hurd. They would not
work at runtime anyway.
Serhiy Storchaka [Mon, 13 Jun 2016 06:24:11 +0000 (09:24 +0300)]
Issue #27025: Generated names for Tkinter widgets are now more meanful
and recognizirable.
Terry Jan Reedy [Mon, 13 Jun 2016 04:42:42 +0000 (00:42 -0400)]
Whitespace
Terry Jan Reedy [Mon, 13 Jun 2016 04:41:53 +0000 (00:41 -0400)]
Issue #27163: Add idlelib/IDLE entry to What's New in 3.6.
Martin Panter [Mon, 13 Jun 2016 03:28:35 +0000 (03:28 +0000)]
Issue #27186: Skip scandir(bytes) test with os.name == "nt"
Larry Hastings [Mon, 13 Jun 2016 03:26:28 +0000 (20:26 -0700)]
Merge 3.5.2rc1 with current 3.5 branch.
Larry Hastings [Mon, 13 Jun 2016 03:22:18 +0000 (20:22 -0700)]
Post-release fixups for Python 3.5.2rc1.
Martin Panter [Mon, 13 Jun 2016 03:17:47 +0000 (03:17 +0000)]
Issue #27136: Change test to use ::1 for better OS X Tiger compatibility
Brett Cannon [Sun, 12 Jun 2016 20:23:15 +0000 (13:23 -0700)]
Ignore the VS Code config directory
Brett Cannon [Sun, 12 Jun 2016 20:21:22 +0000 (13:21 -0700)]
Issue #27186: add Include/osmodule.h to the proper build rules
Terry Jan Reedy [Sun, 12 Jun 2016 19:49:20 +0000 (15:49 -0400)]
Issue #27239: Continue refactoring idlelib.macosx and adding macosx tests.
Berker Peksag [Sun, 12 Jun 2016 19:35:10 +0000 (22:35 +0300)]
Merge from 3.5
Berker Peksag [Sun, 12 Jun 2016 19:34:49 +0000 (22:34 +0300)]
Modernize sqlite3 tests
Update current tests that use old pattern with assertRaises
to make them more maintainable.