]> granicus.if.org Git - python/log
python
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 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 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 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

8 years agoSilence 'make suspicious' warnings
Berker Peksag [Sat, 11 Jun 2016 19:38:33 +0000 (22:38 +0300)]
Silence 'make suspicious' warnings

8 years agoIssue #20508: Improve exception message of IPv{4,6}Network.__getitem__
Berker Peksag [Sat, 11 Jun 2016 19:30:05 +0000 (22:30 +0300)]
Issue #20508: Improve exception message of IPv{4,6}Network.__getitem__

Patch by Gareth Rees.

8 years agoIssue #21386: Merge from 3.5
Berker Peksag [Sat, 11 Jun 2016 19:12:36 +0000 (22:12 +0300)]
Issue #21386: Merge from 3.5

8 years agoIssue #21386: Implement missing IPv4Address.is_global property
Berker Peksag [Sat, 11 Jun 2016 19:11:47 +0000 (22:11 +0300)]
Issue #21386: Implement missing IPv4Address.is_global property

It was documented since 07a5610bae9d.

Initial patch by Roger Luethi.

8 years agoMerge Issue #22558.
Terry Jan Reedy [Sat, 11 Jun 2016 19:06:08 +0000 (15:06 -0400)]
Merge Issue #22558.

8 years agoIssue #22558: Add remaining doc links to source code for Python-coded modules.
Terry Jan Reedy [Sat, 11 Jun 2016 19:02:54 +0000 (15:02 -0400)]
Issue #22558: Add remaining doc links to source code for Python-coded modules.
Reformat header above separator line (added if missing) to a common format.
Patch by Yoni Lavi.

8 years agoIssue #27029: Removed deprecated support of universal newlines mode from ZipFile...
Serhiy Storchaka [Sat, 11 Jun 2016 16:32:44 +0000 (19:32 +0300)]
Issue #27029: Removed deprecated support of universal newlines mode from ZipFile.open().

8 years agoIssue #27030: The re.LOCALE flag now can be used only with bytes patterns.
Serhiy Storchaka [Sat, 11 Jun 2016 16:24:24 +0000 (19:24 +0300)]
Issue #27030: The re.LOCALE flag now can be used only with bytes patterns.

(Just updated NEWS.)

8 years agoIssue #27030: Unknown escapes consisting of ``'\'`` and ASCII letter in
Serhiy Storchaka [Sat, 11 Jun 2016 16:15:00 +0000 (19:15 +0300)]
Issue #27030: Unknown escapes consisting of ``'\'`` and ASCII letter in
regular expressions now are errors.

8 years agoMerge 3.5 (issue #22970)
Yury Selivanov [Sat, 11 Jun 2016 16:01:19 +0000 (12:01 -0400)]
Merge 3.5 (issue #22970)

8 years agoIssue #22970: asyncio: Fix inconsistency cancelling Condition.wait.
Yury Selivanov [Sat, 11 Jun 2016 16:00:07 +0000 (12:00 -0400)]
Issue #22970: asyncio: Fix inconsistency cancelling Condition.wait.

Patch by David Coles.

8 years agoMerge 3.5 (issue #27223)
Yury Selivanov [Sat, 11 Jun 2016 15:20:50 +0000 (11:20 -0400)]
Merge 3.5 (issue #27223)

8 years agoIssue #27223: aio: Fix _read_ready and _write_ready to respect _conn_lost.
Yury Selivanov [Sat, 11 Jun 2016 15:19:47 +0000 (11:19 -0400)]
Issue #27223: aio: Fix _read_ready and _write_ready to respect _conn_lost.

Patch by Łukasz Langa.

8 years agoIDLE NEWS entries
Terry Jan Reedy [Sat, 11 Jun 2016 08:36:34 +0000 (04:36 -0400)]
IDLE NEWS entries

8 years agoMerge Issue #5124: NEWS entries.
Terry Jan Reedy [Sat, 11 Jun 2016 08:32:30 +0000 (04:32 -0400)]
Merge Issue #5124: NEWS entries.

8 years agoIssue #5124: NEWS entries.
Terry Jan Reedy [Sat, 11 Jun 2016 08:31:22 +0000 (04:31 -0400)]
Issue #5124: NEWS entries.

8 years agoIssue #27262: fix missing parameter typo
Ned Deily [Sat, 11 Jun 2016 06:57:56 +0000 (02:57 -0400)]
Issue #27262: fix missing parameter typo

8 years agoIssue #5124: rename PyShell back to pyshell and patch test for 3.6
Terry Jan Reedy [Sat, 11 Jun 2016 06:10:59 +0000 (02:10 -0400)]
Issue #5124: rename PyShell back to pyshell and patch test for 3.6

8 years agoMerge with 3.5
Terry Jan Reedy [Sat, 11 Jun 2016 06:06:40 +0000 (02:06 -0400)]
Merge with 3.5

8 years agoIssue #5124: Paste with selection should always replace.
Terry Jan Reedy [Sat, 11 Jun 2016 06:06:26 +0000 (02:06 -0400)]
Issue #5124: Paste with selection should always replace.
This is how paste work on Windows, Mac, modern Linux apps, and ttk widgets.
The exception was X11 tk widgets.  Original patch by Serhiy Storchake.

8 years agoIssue #5124: Temporary pyshell rename to avoid case-folding collision in merge.
Terry Jan Reedy [Sat, 11 Jun 2016 06:05:52 +0000 (02:05 -0400)]
Issue #5124: Temporary pyshell rename to avoid case-folding collision in merge.

8 years agoIssue *24750: Switch all scrollbars in IDLE to ttk versions.
Terry Jan Reedy [Fri, 10 Jun 2016 22:19:21 +0000 (18:19 -0400)]
Issue *24750: Switch all scrollbars in IDLE to ttk versions.
Where needed, add minimal tests to cover changes.

8 years agoIssue #27186: Add os.PathLike support to DirEntry
Brett Cannon [Fri, 10 Jun 2016 21:37:21 +0000 (14:37 -0700)]
Issue #27186: Add os.PathLike support to DirEntry

Initial patch thanks to Jelle Zijlstra.

8 years agoIssue #20900: Merge from 3.5
Berker Peksag [Fri, 10 Jun 2016 20:02:04 +0000 (23:02 +0300)]
Issue #20900: Merge from 3.5

8 years agoIssue #20900: distutils register command now decodes HTTP responses correctly
Berker Peksag [Fri, 10 Jun 2016 20:00:52 +0000 (23:00 +0300)]
Issue #20900: distutils register command now decodes HTTP responses correctly

Initial patch by ingrid.

8 years agoIssue #27186: Add os.PathLike support to pathlib.
Brett Cannon [Fri, 10 Jun 2016 19:20:49 +0000 (12:20 -0700)]
Issue #27186: Add os.PathLike support to pathlib.

This adds support both to pathlib.PurePath's constructor as well as
implementing __fspath__(). This removes the provisional status for
pathlib.

Initial patch by Dusty Phillips.

8 years ago- Issue #17500, and https://github.com/python/pythondotorg/issues/945: Remove
doko@ubuntu.com [Fri, 10 Jun 2016 16:23:35 +0000 (18:23 +0200)]
- Issue #17500, and https://github.com/python/pythondotorg/issues/945: Remove
  unused and outdated icons.

8 years agoIssue #27280: Fix typo in IPv6Network documentation
Berker Peksag [Fri, 10 Jun 2016 11:26:07 +0000 (14:26 +0300)]
Issue #27280: Fix typo in IPv6Network documentation

Patch by Arthur Carcano.

8 years agoIssue #26282: PyArg_ParseTupleAndKeywords() and Argument Clinic now support
Serhiy Storchaka [Thu, 9 Jun 2016 13:30:29 +0000 (16:30 +0300)]
Issue #26282: PyArg_ParseTupleAndKeywords() and Argument Clinic now support
positional-only and keyword parameters in the same function.

8 years ago- Issue #17500, and https://github.com/python/pythondotorg/issues/945: Remove
doko@ubuntu.com [Fri, 10 Jun 2016 16:25:42 +0000 (18:25 +0200)]
- Issue #17500, and https://github.com/python/pythondotorg/issues/945: Remove
  unused and outdated icons.

8 years agoIssue #27280: Merge from 3.5
Berker Peksag [Fri, 10 Jun 2016 11:26:32 +0000 (14:26 +0300)]
Issue #27280: Merge from 3.5

8 years agoIssue #24617: Merge os.mkdir() doc from 3.5
Martin Panter [Fri, 10 Jun 2016 08:40:02 +0000 (08:40 +0000)]
Issue #24617: Merge os.mkdir() doc from 3.5

8 years agoMerge comment fix from 3.5
Martin Panter [Fri, 10 Jun 2016 08:38:56 +0000 (08:38 +0000)]
Merge comment fix from 3.5

8 years agoFix typo and move comment to appropriate condition
Martin Panter [Fri, 10 Jun 2016 08:07:11 +0000 (08:07 +0000)]
Fix typo and move comment to appropriate condition

8 years agoAdd a versionadded directive to os.PathLike
Berker Peksag [Fri, 10 Jun 2016 05:43:54 +0000 (08:43 +0300)]
Add a versionadded directive to os.PathLike

8 years agoIssue #24759: IDLE requires tk 8.5 and availability ttk widgets.
Terry Jan Reedy [Fri, 10 Jun 2016 01:09:15 +0000 (21:09 -0400)]
Issue #24759: IDLE requires tk 8.5 and availability ttk widgets.
Delete now unneeded tk version tests and code for older versions.