]> granicus.if.org Git - python/log
python
8 years agoWhitespace
Terry Jan Reedy [Fri, 8 Jul 2016 04:26:20 +0000 (00:26 -0400)]
Whitespace

8 years agoIssue #27380: IDLE: add query.HelpSource class and tests.
Terry Jan Reedy [Fri, 8 Jul 2016 04:22:50 +0000 (00:22 -0400)]
Issue #27380: IDLE: add query.HelpSource class and tests.
Remove modules that are combined in new module.

8 years agoAutomated merge with ssh://hg.python.org/cpython
Steven D'Aprano [Thu, 7 Jul 2016 16:52:06 +0000 (02:52 +1000)]
Automated merge with ssh://hg.python.org/cpython

8 years agoIssue27139 patch by Julio C Cardoza.
Steven D'Aprano [Thu, 7 Jul 2016 16:38:45 +0000 (02:38 +1000)]
Issue27139 patch by Julio C Cardoza.

8 years agoIssue #27434: Version of interpreter running a cross-build and source version must...
Xavier de Gaye [Thu, 7 Jul 2016 16:00:22 +0000 (18:00 +0200)]
Issue #27434: Version of interpreter running a cross-build and source version must be the same.

8 years ago- Issue #27332: Fixed the type of the first argument of module-level functions
Serhiy Storchaka [Thu, 7 Jul 2016 15:20:03 +0000 (18:20 +0300)]
- Issue #27332: Fixed the type of the first argument of module-level functions
  generated by Argument Clinic.  Patch by Petr Viktorin.

8 years agoIssue #27332: Fixed the type of the first argument of module-level functions
Serhiy Storchaka [Thu, 7 Jul 2016 14:35:15 +0000 (17:35 +0300)]
Issue #27332: Fixed the type of the first argument of module-level functions
generated by Argument Clinic.  Patch by Petr Viktorin.

8 years agomerge 3.5 (#24557)
Benjamin Peterson [Thu, 7 Jul 2016 06:58:16 +0000 (23:58 -0700)]
merge 3.5 (#24557)

8 years agoassume egd unless OPENSSL_NO_EGD is defined—remove configure check (closes #24557)
Benjamin Peterson [Thu, 7 Jul 2016 06:55:15 +0000 (23:55 -0700)]
assume egd unless OPENSSL_NO_EGD is defined—remove configure check (closes #24557)

8 years agomerge 3.5 (#27248)
Benjamin Peterson [Thu, 7 Jul 2016 06:28:19 +0000 (23:28 -0700)]
merge 3.5 (#27248)

Patch from Xiang Zhang.

8 years agofix refleaks in PyDict_SetItem error cases (closes #27248)
Benjamin Peterson [Thu, 7 Jul 2016 06:26:32 +0000 (23:26 -0700)]
fix refleaks in PyDict_SetItem error cases (closes #27248)

8 years agomerge 3.5
Donald Stufft [Wed, 6 Jul 2016 21:50:21 +0000 (17:50 -0400)]
merge 3.5

8 years agoFix a test with the new upload URL
Donald Stufft [Wed, 6 Jul 2016 21:46:37 +0000 (17:46 -0400)]
Fix a test with the new upload URL

8 years agomerge 3.5
Benjamin Peterson [Wed, 6 Jul 2016 21:04:44 +0000 (14:04 -0700)]
merge 3.5

8 years agomerge 3.4
Benjamin Peterson [Wed, 6 Jul 2016 21:04:29 +0000 (14:04 -0700)]
merge 3.4

8 years agomerge 3.3
Benjamin Peterson [Wed, 6 Jul 2016 21:04:11 +0000 (14:04 -0700)]
merge 3.3

8 years agomerge 3.5
Benjamin Peterson [Wed, 6 Jul 2016 21:00:46 +0000 (14:00 -0700)]
merge 3.5

8 years agomerge 3.4
Benjamin Peterson [Wed, 6 Jul 2016 21:00:38 +0000 (14:00 -0700)]
merge 3.4

8 years agoSwitch to the new upload url for PyPI
Donald Stufft [Wed, 6 Jul 2016 20:18:39 +0000 (16:18 -0400)]
Switch to the new upload url for PyPI

8 years agoSwitch to the new upload url for PyPI
Donald Stufft [Wed, 6 Jul 2016 19:27:35 +0000 (15:27 -0400)]
Switch to the new upload url for PyPI

8 years agoIssue #27460: Unified error messages in bytes constructor for integers
Serhiy Storchaka [Wed, 6 Jul 2016 18:39:44 +0000 (21:39 +0300)]
Issue #27460: Unified error messages in bytes constructor for integers
in and out of the Py_ssize_t range.  Patch by Xiang Zhang.

8 years agoIssue #21708: Deprecated dbm.dumb behavior that differs from common dbm
Serhiy Storchaka [Wed, 6 Jul 2016 09:21:58 +0000 (12:21 +0300)]
Issue #21708: Deprecated dbm.dumb behavior that differs from common dbm
behavior: creating a database in 'r' and 'w' modes and modifying a database
in 'r' mode.

8 years agoIssue #27452: make command line idle-test> python test_help.py work.
Terry Jan Reedy [Wed, 6 Jul 2016 01:51:56 +0000 (21:51 -0400)]
Issue #27452: make command line idle-test> python test_help.py work.
__file__ is relative in this case.

8 years agoIssue #27452: add line counter and crc to IDLE config test dump.
Terry Jan Reedy [Wed, 6 Jul 2016 00:11:37 +0000 (20:11 -0400)]
Issue #27452: add line counter and crc to IDLE config test dump.

8 years agoIssue #27452: add line counter and crc to IDLE configHandler test dump.
Terry Jan Reedy [Wed, 6 Jul 2016 00:09:53 +0000 (20:09 -0400)]
Issue #27452: add line counter and crc to IDLE configHandler test dump.

8 years agoMerge from 3.5
Berker Peksag [Tue, 5 Jul 2016 14:08:52 +0000 (17:08 +0300)]
Merge from 3.5

8 years agoAdd versionadded to PyDict_SetDefault documentation
Berker Peksag [Tue, 5 Jul 2016 14:08:29 +0000 (17:08 +0300)]
Add versionadded to PyDict_SetDefault documentation

It was added for Python 3.4 in a0b750ea3397.

8 years agoIssue 27437: Add query.ModuleName and use it for file => Load Module.
Terry Jan Reedy [Sun, 3 Jul 2016 23:11:13 +0000 (19:11 -0400)]
Issue 27437: Add query.ModuleName and use it for file => Load Module.
Users can now edit bad entries instead of starting over.

8 years agoIssue #19527: Fixed tests with defined COUNT_ALLOCS.
Serhiy Storchaka [Sun, 3 Jul 2016 19:30:49 +0000 (22:30 +0300)]
Issue #19527: Fixed tests with defined COUNT_ALLOCS.

8 years agoIssue #19527: Fixed tests with defined COUNT_ALLOCS.
Serhiy Storchaka [Sun, 3 Jul 2016 19:27:26 +0000 (22:27 +0300)]
Issue #19527: Fixed tests with defined COUNT_ALLOCS.

8 years agoIssue #23034: The output of a special Python build with defined COUNT_ALLOCS,
Serhiy Storchaka [Sun, 3 Jul 2016 18:03:53 +0000 (21:03 +0300)]
Issue #23034: The output of a special Python build with defined COUNT_ALLOCS,
SHOW_ALLOC_COUNT or SHOW_TRACK_COUNT macros is now off by  default.  It can
be re-enabled using the "-X showalloccount" option.  It now outputs to stderr
instead of stdout.

8 years agoIssue #27443: __length_hint__() of bytearray itearator no longer return
Serhiy Storchaka [Sun, 3 Jul 2016 11:42:17 +0000 (14:42 +0300)]
Issue #27443: __length_hint__() of bytearray itearator no longer return
negative integer for resized bytearray.

8 years agoIssue #27443: __length_hint__() of bytearray itearator no longer return
Serhiy Storchaka [Sun, 3 Jul 2016 11:41:36 +0000 (14:41 +0300)]
Issue #27443: __length_hint__() of bytearray itearator no longer return
negative integer for resized bytearray.

8 years agoBacked out changeset b0087e17cd5e (issue #26765)
Serhiy Storchaka [Sun, 3 Jul 2016 10:57:48 +0000 (13:57 +0300)]
Backed out changeset b0087e17cd5e (issue #26765)

For unknown reasons it perhaps caused a crash on 32-bit Windows (issue #).

8 years agoIssue #26765: Fixed parsing Py_ssize_t arguments on 32-bit Windows.
Serhiy Storchaka [Sun, 3 Jul 2016 10:26:52 +0000 (13:26 +0300)]
Issue #26765: Fixed parsing Py_ssize_t arguments on 32-bit Windows.

8 years agoIssue #26765: Moved wrappers for bytes and bytearray methods to common header
Serhiy Storchaka [Fri, 1 Jul 2016 14:57:30 +0000 (17:57 +0300)]
Issue #26765: Moved wrappers for bytes and bytearray methods to common header
file.

8 years agoIssue #27007: The fromhex() class methods of bytes and bytearray subclasses
Serhiy Storchaka [Fri, 1 Jul 2016 14:22:31 +0000 (17:22 +0300)]
Issue #27007: The fromhex() class methods of bytes and bytearray subclasses
now return an instance of corresponding subclass.

8 years agoIssue #27431: Merge from 3.5
Berker Peksag [Fri, 1 Jul 2016 09:33:25 +0000 (12:33 +0300)]
Issue #27431: Merge from 3.5

8 years agoIssue #27431: Update default protocol version in shelve.Shelf() documentation
Berker Peksag [Fri, 1 Jul 2016 09:33:00 +0000 (12:33 +0300)]
Issue #27431: Update default protocol version in shelve.Shelf() documentation

shelve.open() documentation was updated in f351fb7ea179.

8 years agoIssue #27430: Merge from 3.5
Berker Peksag [Fri, 1 Jul 2016 09:17:45 +0000 (12:17 +0300)]
Issue #27430: Merge from 3.5

8 years agoIssue #27430: Fix typos, patch by scop.
Berker Peksag [Fri, 1 Jul 2016 09:17:05 +0000 (12:17 +0300)]
Issue #27430: Fix typos, patch by scop.

8 years agoFix typo in whatsnew/3.6.rst
Berker Peksag [Fri, 1 Jul 2016 09:12:19 +0000 (12:12 +0300)]
Fix typo in whatsnew/3.6.rst

8 years agoMerge from 3.5 for issue #26664
Brett Cannon [Thu, 30 Jun 2016 18:43:19 +0000 (11:43 -0700)]
Merge from 3.5 for issue #26664

8 years agoIssue #26665: Remove mis-use of ``$`` in activate.fish.
Brett Cannon [Thu, 30 Jun 2016 18:41:55 +0000 (11:41 -0700)]
Issue #26665: Remove mis-use of ``$`` in activate.fish.

This is a revertion of cfc66e37eb8e.

Thanks to 鄭景文 for the bug report. Thanks to Tin Tvrtković, Xiang
Zhang, and Dan McCombs for diagnosing the issue.

8 years agoIssue #4945: Improved the documenting of boolean arguments in the json module.
Serhiy Storchaka [Thu, 30 Jun 2016 11:03:21 +0000 (14:03 +0300)]
Issue #4945: Improved the documenting of boolean arguments in the json module.
Based on patch by Gabriel Genellina.

8 years agoIssue #4945: Improved the documenting of boolean arguments in the json module.
Serhiy Storchaka [Thu, 30 Jun 2016 10:59:12 +0000 (13:59 +0300)]
Issue #4945: Improved the documenting of boolean arguments in the json module.
Based on patch by Gabriel Genellina.

8 years agoMerge 3.5 (copy doc)
Victor Stinner [Thu, 30 Jun 2016 09:50:59 +0000 (11:50 +0200)]
Merge 3.5 (copy doc)

8 years agoIssue #27416: clarify copy doc
Victor Stinner [Thu, 30 Jun 2016 09:50:23 +0000 (11:50 +0200)]
Issue #27416: clarify copy doc

Patch written by R. David Murray.

8 years agoIssue #27418: Fixed Tools/importbench/importbench.py.
Serhiy Storchaka [Thu, 30 Jun 2016 07:34:52 +0000 (10:34 +0300)]
Issue #27418: Fixed Tools/importbench/importbench.py.

8 years agoIssue #27418: Fixed Tools/importbench/importbench.py.
Serhiy Storchaka [Thu, 30 Jun 2016 07:33:17 +0000 (10:33 +0300)]
Issue #27418: Fixed Tools/importbench/importbench.py.

8 years agoIssue #26721: Change StreamRequestHandler.wfile to BufferedIOBase
Martin Panter [Wed, 29 Jun 2016 10:12:22 +0000 (10:12 +0000)]
Issue #26721: Change StreamRequestHandler.wfile to BufferedIOBase

8 years agoFix issue #27402: example for typing did not type-check. (Merge 3.5->3.6)
Guido van Rossum [Tue, 28 Jun 2016 17:12:22 +0000 (10:12 -0700)]
Fix issue #27402: example for typing did not type-check. (Merge 3.5->3.6)

8 years agoFix issue #27402: example for typing did not type-check.
Guido van Rossum [Tue, 28 Jun 2016 17:08:17 +0000 (10:08 -0700)]
Fix issue #27402: example for typing did not type-check.

8 years agoMerge 3.5 (asyncio)
Yury Selivanov [Tue, 28 Jun 2016 15:00:39 +0000 (11:00 -0400)]
Merge 3.5 (asyncio)

8 years agoasyncio: Use socket specs for getaddrinfo() in sock_connect()
Yury Selivanov [Tue, 28 Jun 2016 15:00:22 +0000 (11:00 -0400)]
asyncio: Use socket specs for getaddrinfo() in sock_connect()

Patch by Martin Richard.  GH PR #365.

8 years agoMerge 3.5 (asyncio)
Yury Selivanov [Tue, 28 Jun 2016 14:55:49 +0000 (10:55 -0400)]
Merge 3.5 (asyncio)

8 years agoasyncio: Fix NameError in sslproto _fatal_error()
Yury Selivanov [Tue, 28 Jun 2016 14:55:36 +0000 (10:55 -0400)]
asyncio: Fix NameError in sslproto _fatal_error()

Patch by Richard Walker.

8 years agoIssue #27352: Fixed an error message in a test.
Serhiy Storchaka [Mon, 27 Jun 2016 20:40:43 +0000 (23:40 +0300)]
Issue #27352: Fixed an error message in a test.

8 years agoMerge from 3.5
Steve Dower [Mon, 27 Jun 2016 19:31:00 +0000 (12:31 -0700)]
Merge from 3.5

8 years agoAdds script for purging the caching server for downloads on python.org.
Steve Dower [Mon, 27 Jun 2016 19:30:48 +0000 (12:30 -0700)]
Adds script for purging the caching server for downloads on python.org.

8 years agoIssue #27352: Correct the validation of the ImportFrom AST node and simplify
Serhiy Storchaka [Mon, 27 Jun 2016 18:39:12 +0000 (21:39 +0300)]
Issue #27352: Correct the validation of the ImportFrom AST node and simplify
the implementation of the IMPORT_NAME opcode.

8 years agoMerge from 3.5
Steve Dower [Mon, 27 Jun 2016 16:43:27 +0000 (09:43 -0700)]
Merge from 3.5

8 years agoAdds batch file to build nuget packages.
Steve Dower [Mon, 27 Jun 2016 16:43:17 +0000 (09:43 -0700)]
Adds batch file to build nuget packages.

8 years agoMerge from 3.5
Steve Dower [Mon, 27 Jun 2016 16:35:32 +0000 (09:35 -0700)]
Merge from 3.5

8 years agoInclude libs folder in nuget package and allow preinstalling packages
Steve Dower [Mon, 27 Jun 2016 16:34:18 +0000 (09:34 -0700)]
Include libs folder in nuget package and allow preinstalling packages

8 years agoIssue #27255: Added more predictions in ceval.c.
Serhiy Storchaka [Mon, 27 Jun 2016 15:58:57 +0000 (18:58 +0300)]
Issue #27255: Added more predictions in ceval.c.

8 years agoIssue #27393: Merge from 3.5
Berker Peksag [Mon, 27 Jun 2016 10:11:16 +0000 (13:11 +0300)]
Issue #27393: Merge from 3.5

8 years agoIssue #27393: Fix escaping of C:\ too
Berker Peksag [Mon, 27 Jun 2016 10:10:47 +0000 (13:10 +0300)]
Issue #27393: Fix escaping of C:\ too

8 years agoIssue #27393: Merge from 3.5
Berker Peksag [Mon, 27 Jun 2016 06:52:07 +0000 (09:52 +0300)]
Issue #27393: Merge from 3.5

8 years agoIssue #27393: Fix escaping of venv activate commands on Windows
Berker Peksag [Mon, 27 Jun 2016 06:51:40 +0000 (09:51 +0300)]
Issue #27393: Fix escaping of venv activate commands on Windows

Patch by Manuel Kaufmann.

8 years agoMerge from 3.5.
Larry Hastings [Mon, 27 Jun 2016 03:00:51 +0000 (20:00 -0700)]
Merge from 3.5.

8 years agoNull merge from 3.4 (well, except, pull in the tag for 3.4.5.)
Larry Hastings [Mon, 27 Jun 2016 02:57:48 +0000 (19:57 -0700)]
Null merge from 3.4 (well, except, pull in the tag for 3.4.5.)

8 years agoMerge.
Larry Hastings [Mon, 27 Jun 2016 02:53:18 +0000 (19:53 -0700)]
Merge.

8 years agoPost-release fixups for Python 3.5.2.
Larry Hastings [Mon, 27 Jun 2016 02:47:22 +0000 (19:47 -0700)]
Post-release fixups for Python 3.5.2.

8 years agoMerge.
Larry Hastings [Mon, 27 Jun 2016 02:43:00 +0000 (19:43 -0700)]
Merge.

8 years agoPost-release fixups for Python 3.4.5.
Larry Hastings [Mon, 27 Jun 2016 02:41:21 +0000 (19:41 -0700)]
Post-release fixups for Python 3.4.5.

8 years agoIssue #27380: IDLE: add base Query dialog, with ttk widgets and subclass
Terry Jan Reedy [Mon, 27 Jun 2016 02:05:10 +0000 (22:05 -0400)]
Issue #27380: IDLE: add base Query dialog, with ttk widgets and subclass
SectionName.  These split class GetCfgSectionNameDialog from
configSectionNameDialog.py, temporarily renamed config_sec.py in 3.7.9a2.
More Query subclasses are planned.

8 years agoMerge Update NEWS and idlelib NEWS.text.
Terry Jan Reedy [Sun, 26 Jun 2016 22:22:32 +0000 (18:22 -0400)]
Merge Update NEWS and idlelib NEWS.text.

8 years agoUpdate NEWS and idlelib NEWS.text.
Terry Jan Reedy [Sun, 26 Jun 2016 22:20:20 +0000 (18:20 -0400)]
Update NEWS and idlelib NEWS.text.

8 years agoIssue 27372: Stop test_idle from changing locale, so test passes.
Terry Jan Reedy [Sun, 26 Jun 2016 21:48:02 +0000 (17:48 -0400)]
Issue 27372: Stop test_idle from changing locale, so test passes.
In 3.6, the warning is now called an error, making it harder to ignore.

8 years agoIssue #22115: Updated Misc/NEWS.
Serhiy Storchaka [Sun, 26 Jun 2016 14:47:46 +0000 (17:47 +0300)]
Issue #22115: Updated Misc/NEWS.

8 years agoIssue #22115: Fixed tracing Tkinter variables:
Serhiy Storchaka [Sun, 26 Jun 2016 14:42:23 +0000 (17:42 +0300)]
Issue #22115: Fixed tracing Tkinter variables:

* tracing in the "u" mode now works
* trace_vdelete() with wrong mode no longer break tracing
* trace_vinfo() now always returns a list of pairs of strings

8 years agoIssue #22115: Added methods trace_add, trace_remove and trace_info in the
Serhiy Storchaka [Sun, 26 Jun 2016 06:46:57 +0000 (09:46 +0300)]
Issue #22115: Added methods trace_add, trace_remove and trace_info in the
tkinter.Variable class.  They replace old methods trace_variable, trace,
trace_vdelete and trace_vinfo that use obsolete Tcl commands and might
not work in future versions of Tcl.

8 years agoMerge from 3.5
Steve Dower [Sat, 25 Jun 2016 23:43:26 +0000 (16:43 -0700)]
Merge from 3.5

8 years agoSimplifies nuget build with better parameters.
Steve Dower [Sat, 25 Jun 2016 23:13:30 +0000 (16:13 -0700)]
Simplifies nuget build with better parameters.

8 years agoAdded tag v3.4.5 for changeset 619b61e505d0
Larry Hastings [Sat, 25 Jun 2016 21:44:49 +0000 (14:44 -0700)]
Added tag v3.4.5 for changeset 619b61e505d0

8 years agoVersion bump for 3.4.5 final. v3.4.5
Larry Hastings [Sat, 25 Jun 2016 21:44:30 +0000 (14:44 -0700)]
Version bump for 3.4.5 final.

8 years agoRegenerate pydoc topics for 3.4.5 final.
Larry Hastings [Sat, 25 Jun 2016 21:42:04 +0000 (14:42 -0700)]
Regenerate pydoc topics for 3.4.5 final.

8 years agoAdded tag v3.5.2 for changeset 4def2a2901a5
Larry Hastings [Sat, 25 Jun 2016 21:11:29 +0000 (14:11 -0700)]
Added tag v3.5.2 for changeset 4def2a2901a5

8 years agoVersion number bump for 3.5.2 final. v3.5.2
Larry Hastings [Sat, 25 Jun 2016 21:11:09 +0000 (14:11 -0700)]
Version number bump for 3.5.2 final.

8 years agoUpdate pydoc topics for 3.5.2 final.
Larry Hastings [Sat, 25 Jun 2016 21:09:37 +0000 (14:09 -0700)]
Update pydoc topics for 3.5.2 final.

8 years agoIssue #20350. tkapp.splitlist() is now always used instead of unreliable
Serhiy Storchaka [Sat, 25 Jun 2016 21:09:19 +0000 (00:09 +0300)]
Issue #20350. tkapp.splitlist() is now always used instead of unreliable
tkapp.split() in the tkinter package.

8 years agoIssue #24137: Fixed IDLE on Linux with tkinter default root disabled.
Serhiy Storchaka [Sat, 25 Jun 2016 20:52:51 +0000 (23:52 +0300)]
Issue #24137: Fixed IDLE on Linux with tkinter default root disabled.

8 years agoIssue #26243: Correct a wording in docs.
Serhiy Storchaka [Sat, 25 Jun 2016 19:47:04 +0000 (22:47 +0300)]
Issue #26243: Correct a wording in docs.
Thanks Berker.

8 years agoIssue #26243: Only the level argument to zlib.compress() is keyword argument
Serhiy Storchaka [Sat, 25 Jun 2016 19:43:05 +0000 (22:43 +0300)]
Issue #26243: Only the level argument to zlib.compress() is keyword argument
now.  The first argument is positional-only.

8 years agoIssue #26186: Remove the restriction that built-in and extension
Brett Cannon [Sat, 25 Jun 2016 17:58:17 +0000 (10:58 -0700)]
Issue #26186: Remove the restriction that built-in and extension
modules  can't be lazily loaded.

Thanks to Python 3.6 allowing for types.ModuleType to have its
__class__ mutated, the restriction can be lifted by calling
create_module() on the wrapped loader.

8 years agoMerge from 3.5
Brett Cannon [Sat, 25 Jun 2016 17:50:24 +0000 (10:50 -0700)]
Merge from 3.5

8 years agoFix a scoping issue where an UnboundLocalError was triggered if a
Brett Cannon [Sat, 25 Jun 2016 17:47:53 +0000 (10:47 -0700)]
Fix a scoping issue where an UnboundLocalError was triggered if a
lazy-loaded module was already in sys.modules.

8 years agoRemove duplicate AF_INET6 addition
Martin Panter [Sat, 25 Jun 2016 03:06:58 +0000 (03:06 +0000)]
Remove duplicate AF_INET6 addition

8 years agoMinor beautification
Raymond Hettinger [Sat, 25 Jun 2016 02:36:42 +0000 (05:36 +0300)]
Minor beautification