]> granicus.if.org Git - python/log
python
8 years agoIssue #22636: Merge ctypes.util from 3.5
Martin Panter [Tue, 14 Jun 2016 04:31:14 +0000 (04:31 +0000)]
Issue #22636: Merge ctypes.util from 3.5

8 years agoIssue #22636: Handle OSError from subprocess, e.g. if command not found
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

8 years agoMerge 3.6.0a2 releasing branch into default
Ned Deily [Tue, 14 Jun 2016 03:55:33 +0000 (23:55 -0400)]
Merge 3.6.0a2 releasing branch into default

8 years agoStart 3.6.0a3
Ned Deily [Tue, 14 Jun 2016 03:46:45 +0000 (23:46 -0400)]
Start 3.6.0a3

8 years agoIssue #22636: Merge ctypes.util shell injection fixes from 3.5
Martin Panter [Tue, 14 Jun 2016 02:59:21 +0000 (02:59 +0000)]
Issue #22636: Merge ctypes.util shell injection fixes from 3.5

8 years agoIssue #16182: Merge readline locale fix 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

8 years agoIssue #17500: Remove merge conflict scar tissue
Martin Panter [Tue, 14 Jun 2016 02:23:31 +0000 (02:23 +0000)]
Issue #17500: Remove merge conflict scar tissue

8 years agoIssue #22636: avoid using a shell in the ctypes.util module
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.

8 years agoIssue #16182: Fix readline begidx, endidx, and use locale encoding
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.

8 years agoIssue #27310: Fix IDLE.app failure to launch on OS X due to vestigial import.
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.

8 years agoIssue #27310: remove vestigial import in IDLE.app
Ned Deily [Tue, 14 Jun 2016 00:22:53 +0000 (20:22 -0400)]
Issue #27310: remove vestigial import in IDLE.app

8 years agoIssue #27136: Merge test_asyncio fix from 3.5
Martin Panter [Mon, 13 Jun 2016 23:51:02 +0000 (23:51 +0000)]
Issue #27136: Merge test_asyncio fix from 3.5

8 years agoIssue #27306: Merge from 3.5
Berker Peksag [Mon, 13 Jun 2016 21:49:05 +0000 (00:49 +0300)]
Issue #27306: Merge from 3.5

8 years agoIssue #27306: Fix typo in tarfile documentation
Berker Peksag [Mon, 13 Jun 2016 21:48:35 +0000 (00:48 +0300)]
Issue #27306: Fix typo in tarfile documentation

Patch by Gareth Rees.

8 years agoMerge from 3.5
Berker Peksag [Mon, 13 Jun 2016 21:43:14 +0000 (00:43 +0300)]
Merge from 3.5

8 years agoReplace more boilerplate code with modern unittest features in sqlite3 tests
Berker Peksag [Mon, 13 Jun 2016 21:42:50 +0000 (00:42 +0300)]
Replace more boilerplate code with modern unittest features in sqlite3 tests

8 years agoAdded tag v3.6.0a2 for changeset 378893423552
Ned Deily [Mon, 13 Jun 2016 20:55:39 +0000 (16:55 -0400)]
Added tag v3.6.0a2 for changeset 378893423552

8 years agoVersion bump for 3.6.0a2 v3.6.0a2
Ned Deily [Mon, 13 Jun 2016 20:54:49 +0000 (16:54 -0400)]
Version bump for 3.6.0a2

8 years agoUpdate pydoc topics for 3.6.0a2
Ned Deily [Mon, 13 Jun 2016 20:51:55 +0000 (16:51 -0400)]
Update pydoc topics for 3.6.0a2

8 years agoMerge the 3.4.5rc1 tag all the way into default (3.6).
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).

8 years agoForward-merge from 3.5 to default.
Larry Hastings [Mon, 13 Jun 2016 20:01:51 +0000 (13:01 -0700)]
Forward-merge from 3.5 to default.

8 years agoForward-merge from 3.4 to 3.5.
Larry Hastings [Mon, 13 Jun 2016 19:55:11 +0000 (12:55 -0700)]
Forward-merge from 3.4 to 3.5.

8 years ago- Comment out socket (SO_REUSEPORT) and posix (O_SHLOCK, O_EXLOCK) constants
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.

8 years agoIssue #27025: Generated names for Tkinter widgets are now more meanful
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.

8 years agoWhitespace
Terry Jan Reedy [Mon, 13 Jun 2016 04:42:42 +0000 (00:42 -0400)]
Whitespace

8 years agoIssue #27163: Add idlelib/IDLE entry to What's New in 3.6.
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.

8 years agoIssue #27186: Skip scandir(bytes) test with os.name == "nt"
Martin Panter [Mon, 13 Jun 2016 03:28:35 +0000 (03:28 +0000)]
Issue #27186: Skip scandir(bytes) test with os.name == "nt"

8 years agoMerge 3.5.2rc1 with current 3.5 branch.
Larry Hastings [Mon, 13 Jun 2016 03:26:28 +0000 (20:26 -0700)]
Merge 3.5.2rc1 with current 3.5 branch.

8 years agoPost-release fixups for Python 3.5.2rc1.
Larry Hastings [Mon, 13 Jun 2016 03:22:18 +0000 (20:22 -0700)]
Post-release fixups for Python 3.5.2rc1.

8 years agoIssue #27136: Change test to use ::1 for better OS X Tiger compatibility
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

8 years agoIgnore the VS Code config directory
Brett Cannon [Sun, 12 Jun 2016 20:23:15 +0000 (13:23 -0700)]
Ignore the VS Code config directory

8 years agoIssue #27186: add Include/osmodule.h to the proper build rules
Brett Cannon [Sun, 12 Jun 2016 20:21:22 +0000 (13:21 -0700)]
Issue #27186: add Include/osmodule.h to the proper build rules

8 years agoIssue #27239: Continue refactoring idlelib.macosx and adding macosx tests.
Terry Jan Reedy [Sun, 12 Jun 2016 19:49:20 +0000 (15:49 -0400)]
Issue #27239: Continue refactoring idlelib.macosx and adding macosx tests.

8 years agoMerge from 3.5
Berker Peksag [Sun, 12 Jun 2016 19:35:10 +0000 (22:35 +0300)]
Merge from 3.5

8 years agoModernize sqlite3 tests
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.

8 years agoIssue #27186: skip bytes path test for os.scandir() on Windows
Brett Cannon [Sun, 12 Jun 2016 18:11:20 +0000 (11:11 -0700)]
Issue #27186: skip bytes path test for os.scandir() on Windows

8 years agoMerge from 3.5
Berker Peksag [Sun, 12 Jun 2016 16:18:17 +0000 (19:18 +0300)]
Merge from 3.5

8 years agoFix typo in _sqlite/module.h
Berker Peksag [Sun, 12 Jun 2016 16:17:49 +0000 (19:17 +0300)]
Fix typo in _sqlite/module.h

8 years agoIssue #27095: Simplified MAKE_FUNCTION and removed MAKE_CLOSURE opcodes.
Serhiy Storchaka [Sun, 12 Jun 2016 14:36:24 +0000 (17:36 +0300)]
Issue #27095: Simplified MAKE_FUNCTION and removed MAKE_CLOSURE opcodes.
Patch by Demur Rumed.

8 years agoComment fixes extracted from patch by Demur Rumed.
Serhiy Storchaka [Sun, 12 Jun 2016 14:02:10 +0000 (17:02 +0300)]
Comment fixes extracted from patch by Demur Rumed.

8 years agoIssue #15657: Null merge from 3.5
Berker Peksag [Sun, 12 Jun 2016 13:35:31 +0000 (16:35 +0300)]
Issue #15657: Null merge from 3.5

8 years agoIssue #15657: Delete incorrect statement from PyMethodDef documentation
Berker Peksag [Sun, 12 Jun 2016 13:34:38 +0000 (16:34 +0300)]
Issue #15657: Delete incorrect statement from PyMethodDef documentation

8 years agoIssue #27289: Merge from 3.5
Berker Peksag [Sun, 12 Jun 2016 13:28:16 +0000 (16:28 +0300)]
Issue #27289: Merge from 3.5

8 years agoIssue #27289: Prevent test_urllib2net failures due to EOFError raised by ftplib
Berker Peksag [Sun, 12 Jun 2016 13:27:48 +0000 (16:27 +0300)]
Issue #27289: Prevent test_urllib2net failures due to EOFError raised by ftplib

8 years agoIssue #25455: Clean up reference loops created in tests for recursive
Serhiy Storchaka [Sun, 12 Jun 2016 12:53:09 +0000 (15:53 +0300)]
Issue #25455: Clean up reference loops created in tests for recursive
functools.partial objects.

8 years agoIssue #25455: Clean up reference loops created in tests for recursive
Serhiy Storchaka [Sun, 12 Jun 2016 12:45:14 +0000 (15:45 +0300)]
Issue #25455: Clean up reference loops created in tests for recursive
functools.partial objects.

8 years agoIssue #27190: Merge from 3.5
Berker Peksag [Sun, 12 Jun 2016 11:10:24 +0000 (14:10 +0300)]
Issue #27190: Merge from 3.5

8 years agoIssue #27190: Raise NotSupportedError if sqlite3 is older than 3.3.1
Berker Peksag [Sun, 12 Jun 2016 11:09:51 +0000 (14:09 +0300)]
Issue #27190: Raise NotSupportedError if sqlite3 is older than 3.3.1

Patch by Dave Sawyer.

8 years agoIssue #27188: Merge from 3.5
Berker Peksag [Sun, 12 Jun 2016 10:42:12 +0000 (13:42 +0300)]
Issue #27188: Merge from 3.5

8 years agoIssue #27188: Fix various sqlite3 documentation errors
Berker Peksag [Sun, 12 Jun 2016 10:41:47 +0000 (13:41 +0300)]
Issue #27188: Fix various sqlite3 documentation errors

* Connection.execute* methods don't create intermediate cursor objects
* Fix description of seq_of_parameters parameter
* Clarify that Warning is sqlite3.Warning
* sql_script parameter of Cursor.executescript() doesn't accept bytes
* Add missing tests
* Fix various markup errors

Initial patch by Dave Sawyer.

8 years agoMerge from 3.5
Berker Peksag [Sun, 12 Jun 2016 09:26:08 +0000 (12:26 +0300)]
Merge from 3.5

8 years agoUse exc role for ValueError in multiprocessing.rst
Berker Peksag [Sun, 12 Jun 2016 09:25:43 +0000 (12:25 +0300)]
Use exc role for ValueError in multiprocessing.rst

8 years agoIssue #27221: Merge from 3.5
Berker Peksag [Sun, 12 Jun 2016 09:19:39 +0000 (12:19 +0300)]
Issue #27221: Merge from 3.5

8 years agoIssue #27221: Delete an outdated paragraph about pickle support of Process
Berker Peksag [Sun, 12 Jun 2016 09:19:13 +0000 (12:19 +0300)]
Issue #27221: Delete an outdated paragraph about pickle support of Process

Initial patch by Jelle Zijlstra.

8 years agoIssue #25455: Fixed a crash in repr of recursive functools.partial objects.
Serhiy Storchaka [Sun, 12 Jun 2016 08:51:26 +0000 (11:51 +0300)]
Issue #25455: Fixed a crash in repr of recursive functools.partial objects.

8 years agoIssue #25455: Fixed a crash in repr of recursive functools.partial objects.
Serhiy Storchaka [Sun, 12 Jun 2016 08:44:06 +0000 (11:44 +0300)]
Issue #25455: Fixed a crash in repr of recursive functools.partial objects.

8 years agoNull merge
Serhiy Storchaka [Sun, 12 Jun 2016 06:49:23 +0000 (09:49 +0300)]
Null merge

8 years agoMerge heads
Serhiy Storchaka [Sun, 12 Jun 2016 06:48:19 +0000 (09:48 +0300)]
Merge heads

8 years agoMerge heads
Serhiy Storchaka [Sun, 12 Jun 2016 06:47:57 +0000 (09:47 +0300)]
Merge heads

8 years agoIssue #25455: Fixed a crash in repr of ElementTree.Element with recursive tag.
Serhiy Storchaka [Sun, 12 Jun 2016 06:47:20 +0000 (09:47 +0300)]
Issue #25455: Fixed a crash in repr of ElementTree.Element with recursive tag.

8 years agoIssue #25455: Fixed a crash in repr of ElementTree.Element with recursive tag.
Serhiy Storchaka [Sun, 12 Jun 2016 06:43:55 +0000 (09:43 +0300)]
Issue #25455: Fixed a crash in repr of ElementTree.Element with recursive tag.

8 years agoIssue #27286: Fixed compiling BUILD_MAP_UNPACK_WITH_CALL opcode. Calling
Serhiy Storchaka [Sun, 12 Jun 2016 06:35:13 +0000 (09:35 +0300)]
Issue #27286: Fixed compiling BUILD_MAP_UNPACK_WITH_CALL opcode.  Calling
function with generalized unpacking (PEP 448) and conflicting keyword names
could cause undefined behavior.

8 years agoIssue #27286: Fixed compiling BUILD_MAP_UNPACK_WITH_CALL opcode. Calling
Serhiy Storchaka [Sun, 12 Jun 2016 06:22:01 +0000 (09:22 +0300)]
Issue #27286: Fixed compiling BUILD_MAP_UNPACK_WITH_CALL opcode.  Calling
function with generalized unpacking (PEP 448) and conflicting keyword names
could cause undefined behavior.

8 years agoAdd grammatical article to “an ASCII letter”
Martin Panter [Sun, 12 Jun 2016 06:17:29 +0000 (06:17 +0000)]
Add grammatical article to “an ASCII letter”

8 years agoMerge typo fixes from 3.5
Martin Panter [Sun, 12 Jun 2016 06:16:51 +0000 (06:16 +0000)]
Merge typo fixes from 3.5

8 years agoFix typos and English grammar in documentation and code comment
Martin Panter [Sun, 12 Jun 2016 06:14:03 +0000 (06:14 +0000)]
Fix typos and English grammar in documentation and code comment

8 years agoIssue #27030: Merge RE fix from 3.5
Martin Panter [Sun, 12 Jun 2016 06:08:29 +0000 (06:08 +0000)]
Issue #27030: Merge RE fix from 3.5

8 years agoFix buggy RE “\parrot_example.py”, uncovered by Issue #27030
Martin Panter [Sun, 12 Jun 2016 06:07:35 +0000 (06:07 +0000)]
Fix buggy RE “\parrot_example.py”, uncovered by Issue #27030

8 years agoAdded tag v3.4.5rc1 for changeset 3631bb4a2490
Larry Hastings [Sun, 12 Jun 2016 05:25:43 +0000 (22:25 -0700)]
Added tag v3.4.5rc1 for changeset 3631bb4a2490

8 years agoRelease bump for 3.4.5rc1. v3.4.5rc1
Larry Hastings [Sun, 12 Jun 2016 05:24:03 +0000 (22:24 -0700)]
Release bump for 3.4.5rc1.

8 years agoRegenerate pydoc topics for 3.4.5rc1.
Larry Hastings [Sun, 12 Jun 2016 05:22:07 +0000 (22:22 -0700)]
Regenerate pydoc topics for 3.4.5rc1.

8 years agoIssue #16484: Merge pydoc Windows fixes from 3.5
Martin Panter [Sun, 12 Jun 2016 04:31:25 +0000 (04:31 +0000)]
Issue #16484: Merge pydoc Windows fixes from 3.5

8 years agoIssue #16484: Fix pydoc link and test on Windows, by Kaushik Nadikuditi
Martin Panter [Sun, 12 Jun 2016 04:24:06 +0000 (04:24 +0000)]
Issue #16484: Fix pydoc link and test on Windows, by Kaushik Nadikuditi

8 years agoAdded tag v3.5.2rc1 for changeset 68feec6488b2
Larry Hastings [Sun, 12 Jun 2016 03:55:23 +0000 (20:55 -0700)]
Added tag v3.5.2rc1 for changeset 68feec6488b2

8 years agoUpdated header for README for 3.5.2rc1. v3.5.2rc1
Larry Hastings [Sun, 12 Jun 2016 03:55:08 +0000 (20:55 -0700)]
Updated header for README for 3.5.2rc1.

8 years agoRelease bump for 3.5.2rc1.
Larry Hastings [Sun, 12 Jun 2016 03:51:22 +0000 (20:51 -0700)]
Release bump for 3.5.2rc1.

8 years agoRegenerated pydoc topics for 3.5.2rc1.
Larry Hastings [Sun, 12 Jun 2016 03:40:26 +0000 (20:40 -0700)]
Regenerated pydoc topics for 3.5.2rc1.

8 years agoDrop unused import
Martin Panter [Sun, 12 Jun 2016 01:56:50 +0000 (01:56 +0000)]
Drop unused import

8 years agoIssue #24136: Adjust f-strings doc for interable unpacking
Martin Panter [Sun, 12 Jun 2016 01:56:24 +0000 (01:56 +0000)]
Issue #24136: Adjust f-strings doc for interable unpacking

8 years agoIssue #24136: Merge unpacking doc from 3.5
Martin Panter [Sun, 12 Jun 2016 01:55:03 +0000 (01:55 +0000)]
Issue #24136: Merge unpacking doc from 3.5

8 years agoIssue #24136: Document generalized unpacking, PEP 448
Martin Panter [Sun, 12 Jun 2016 01:46:50 +0000 (01:46 +0000)]
Issue #24136: Document generalized unpacking, PEP 448

Based on patches by Konstantin Molchanov and Neil Girdhar.

8 years agomerge heads
Łukasz Langa [Sun, 12 Jun 2016 01:07:28 +0000 (18:07 -0700)]
merge heads

8 years agoMerge 3.5, issue #14209
Łukasz Langa [Sun, 12 Jun 2016 01:05:42 +0000 (18:05 -0700)]
Merge 3.5, issue #14209

8 years agoIssue #14209: pkgutil.iter_zipimport_modules ignores the prefix for packages
Łukasz Langa [Sun, 12 Jun 2016 01:02:46 +0000 (18:02 -0700)]
Issue #14209: pkgutil.iter_zipimport_modules ignores the prefix for packages

Patch by James Pickering.

8 years agoClarify that md5 is in the algorithms_guaranteed list despite what
Gregory P. Smith [Sun, 12 Jun 2016 01:02:13 +0000 (18:02 -0700)]
Clarify that md5 is in the algorithms_guaranteed list despite what
some upstream vendors may do to their odd "FIPS compliant" builds.
issue15468.

8 years agomerge heads
Gregory P. Smith [Sun, 12 Jun 2016 00:56:40 +0000 (17:56 -0700)]
merge heads

8 years agoissue15468 - use sha256 instead of md5 or sha1 in the examples.
Gregory P. Smith [Sun, 12 Jun 2016 00:56:12 +0000 (17:56 -0700)]
issue15468 - use sha256 instead of md5 or sha1 in the examples.
document that md5 may be missing in the rare case someone is using a
"FIPS compliant" build.  I've only ever heard of Redhat creating one
of those - CPython itself offers no such build mode out of the box.

8 years agoMerge 3.5, issue #27194
Łukasz Langa [Sat, 11 Jun 2016 23:56:18 +0000 (16:56 -0700)]
Merge 3.5, issue #27194

8 years agoIssue #27194: superfluous truncate calls in tarfile.py slow down extraction
Łukasz Langa [Sat, 11 Jun 2016 23:42:36 +0000 (16:42 -0700)]
Issue #27194: superfluous truncate calls in tarfile.py slow down extraction

Patch by Jason Fried.

8 years agoIssue #27140: Added BUILD_CONST_KEY_MAP opcode.
Serhiy Storchaka [Sat, 11 Jun 2016 21:39:41 +0000 (00:39 +0300)]
Issue #27140: Added BUILD_CONST_KEY_MAP opcode.

8 years agoIssue #27294: Improved repr for Tkinter event objects.
Serhiy Storchaka [Sat, 11 Jun 2016 21:19:44 +0000 (00:19 +0300)]
Issue #27294: Improved repr for Tkinter event objects.

8 years agomerge 3.5 (#26556)
Benjamin Peterson [Sat, 11 Jun 2016 20:33:58 +0000 (13:33 -0700)]
merge 3.5 (#26556)

8 years agomerge 3.4 (#26556)
Benjamin Peterson [Sat, 11 Jun 2016 20:33:17 +0000 (13:33 -0700)]
merge 3.4 (#26556)

8 years agoupgrade expt to 2.1.1 (closes #26556)
Benjamin Peterson [Sat, 11 Jun 2016 20:28:56 +0000 (13:28 -0700)]
upgrade expt to 2.1.1 (closes #26556)

8 years agomerge 3.5
Benjamin Peterson [Sat, 11 Jun 2016 20:19:34 +0000 (13:19 -0700)]
merge 3.5

8 years agomerge 3.4
Benjamin Peterson [Sat, 11 Jun 2016 20:18:56 +0000 (13:18 -0700)]
merge 3.4

8 years agoraise an error when STARTTLS fails
Benjamin Peterson [Sat, 11 Jun 2016 20:16:42 +0000 (13:16 -0700)]
raise an error when STARTTLS fails

8 years agoMerge from 3.5
Berker Peksag [Sat, 11 Jun 2016 19:41:03 +0000 (22:41 +0300)]
Merge from 3.5

8 years agoFix typo and silence a Sphinx warning in Doc/glossary.rst
Berker Peksag [Sat, 11 Jun 2016 19:40:41 +0000 (22:40 +0300)]
Fix typo and silence a Sphinx warning in Doc/glossary.rst

8 years agoMerge from 3.5
Berker Peksag [Sat, 11 Jun 2016 19:38:57 +0000 (22:38 +0300)]
Merge from 3.5