]> granicus.if.org Git - python/log
python
8 years agomerge 3.5 (#27514)
Benjamin Peterson [Fri, 15 Jul 2016 05:02:09 +0000 (22:02 -0700)]
merge 3.5 (#27514)

8 years agomake too many nested blocks be a SyntaxError instead of a SystemError (closes #27514)
Benjamin Peterson [Fri, 15 Jul 2016 05:00:03 +0000 (22:00 -0700)]
make too many nested blocks be a SyntaxError instead of a SystemError (closes #27514)

Patch by Ammar Askar.

8 years agoIssue #27180: Merge from 3.5
Berker Peksag [Thu, 14 Jul 2016 04:45:24 +0000 (07:45 +0300)]
Issue #27180: Merge from 3.5

8 years agoIssue #27180: Clarify Path.rename() behavior on Unix systems
Berker Peksag [Thu, 14 Jul 2016 04:44:59 +0000 (07:44 +0300)]
Issue #27180: Clarify Path.rename() behavior on Unix systems

Patch by Evelyn Mitchell.

8 years agoIssue #27455: Merge from 3.5
Berker Peksag [Thu, 14 Jul 2016 04:33:16 +0000 (07:33 +0300)]
Issue #27455: Merge from 3.5

8 years agoIssue #27455: Improve examples in tkinter documentation
Berker Peksag [Thu, 14 Jul 2016 04:32:43 +0000 (07:32 +0300)]
Issue #27455: Improve examples in tkinter documentation

Patch by John Hagen.

8 years agoBacked out changeset af29d89083b3 (closes #25548) (closes #27498)
Benjamin Peterson [Thu, 14 Jul 2016 04:13:29 +0000 (21:13 -0700)]
Backed out changeset af29d89083b3 (closes #25548) (closes #27498)

8 years agoIssue #27369: Merge test_pyexpat from 3.5
Martin Panter [Thu, 14 Jul 2016 03:36:53 +0000 (03:36 +0000)]
Issue #27369: Merge test_pyexpat from 3.5

8 years agoIssue #27369: Merge test_pyexpat from 3.4 into 3.5
Martin Panter [Thu, 14 Jul 2016 03:35:15 +0000 (03:35 +0000)]
Issue #27369: Merge test_pyexpat from 3.4 into 3.5

8 years agoMerge from 3.5
Steve Dower [Thu, 14 Jul 2016 02:58:47 +0000 (19:58 -0700)]
Merge from 3.5

8 years agoFixes build order and lingering intermediate files.
Steve Dower [Thu, 14 Jul 2016 02:58:21 +0000 (19:58 -0700)]
Fixes build order and lingering intermediate files.

8 years agoIssue #27369: Merge test_pyexpat from 3.3 into 3.4
Martin Panter [Thu, 14 Jul 2016 02:09:17 +0000 (02:09 +0000)]
Issue #27369: Merge test_pyexpat from 3.3 into 3.4

8 years agoIssue #27369: Merge test_pyexpat from 3.2 into 3.3
Martin Panter [Thu, 14 Jul 2016 01:42:53 +0000 (01:42 +0000)]
Issue #27369: Merge test_pyexpat from 3.2 into 3.3

8 years agoIssue #27369: Don’t test error message detail that changed in Expat 2.2.0 3.2
Martin Panter [Thu, 14 Jul 2016 01:31:46 +0000 (01:31 +0000)]
Issue #27369: Don’t test error message detail that changed in Expat 2.2.0

8 years agoIssue #22758: Move NEWS entry to Library section
Martin Panter [Thu, 14 Jul 2016 01:17:03 +0000 (01:17 +0000)]
Issue #22758: Move NEWS entry to Library section

8 years agoMerge 3.5 (issue #27392)
Yury Selivanov [Tue, 12 Jul 2016 22:24:25 +0000 (18:24 -0400)]
Merge 3.5 (issue #27392)

8 years agoIssue #27392: Add loop.connect_accepted_socket().
Yury Selivanov [Tue, 12 Jul 2016 22:23:10 +0000 (18:23 -0400)]
Issue #27392: Add loop.connect_accepted_socket().

Patch by Jim Fulton.

8 years agoIssue #27481: Docummented that ValueError is now raised instead of TypeError
Serhiy Storchaka [Tue, 12 Jul 2016 06:15:00 +0000 (09:15 +0300)]
Issue #27481: Docummented that ValueError is now raised instead of TypeError
in case of embedded null characters/bytes.  Patch by Xiang Zhang.

8 years agoIssue #27481: Docummented that ValueError is now raised instead of TypeError
Serhiy Storchaka [Tue, 12 Jul 2016 06:14:15 +0000 (09:14 +0300)]
Issue #27481: Docummented that ValueError is now raised instead of TypeError
in case of embedded null characters/bytes.  Patch by Xiang Zhang.

8 years agoStart 3.6.0a4
Ned Deily [Tue, 12 Jul 2016 05:14:53 +0000 (01:14 -0400)]
Start 3.6.0a4

8 years agoAdded tag v3.6.0a3 for changeset f3edf13dc339
Ned Deily [Mon, 11 Jul 2016 19:40:13 +0000 (15:40 -0400)]
Added tag v3.6.0a3 for changeset f3edf13dc339

8 years agoVersion bump for 3.6.0a3 v3.6.0a3
Ned Deily [Mon, 11 Jul 2016 19:38:40 +0000 (15:38 -0400)]
Version bump for 3.6.0a3

8 years agoUpdate pydoc topics for 3.6.0a3
Ned Deily [Mon, 11 Jul 2016 19:32:48 +0000 (15:32 -0400)]
Update pydoc topics for 3.6.0a3

8 years agoIssue #27285: Cleanup "suspicious" warnings.
Ned Deily [Mon, 11 Jul 2016 18:21:58 +0000 (14:21 -0400)]
Issue #27285: Cleanup "suspicious" warnings.

8 years agoIssue #23804: Merge spelling and NEWS fixes from 3.5
Martin Panter [Mon, 11 Jul 2016 12:54:44 +0000 (12:54 +0000)]
Issue #23804: Merge spelling and NEWS fixes from 3.5

8 years agoEnglish spelling and grammar fixes
Martin Panter [Mon, 11 Jul 2016 07:51:37 +0000 (07:51 +0000)]
English spelling and grammar fixes

8 years agoRestore NEWS entries lost in revision 8145f25f26aa
Martin Panter [Mon, 11 Jul 2016 12:43:38 +0000 (12:43 +0000)]
Restore NEWS entries lost in revision 8145f25f26aa

8 years agoIssue #23804: Merge SSL recv() fix from 3.5
Martin Panter [Mon, 11 Jul 2016 01:32:09 +0000 (01:32 +0000)]
Issue #23804: Merge SSL recv() fix from 3.5

8 years agoIDLE NEWS items.
Terry Jan Reedy [Mon, 11 Jul 2016 00:30:43 +0000 (20:30 -0400)]
IDLE NEWS items.

8 years agoIssue #27477: Convert IDLE search dialogs to using ttk widgets.
Terry Jan Reedy [Mon, 11 Jul 2016 00:21:31 +0000 (20:21 -0400)]
Issue #27477: Convert IDLE search dialogs to using ttk widgets.

8 years agoIssue #23804: Fix SSL zero-length recv() calls to not block and raise EOF
Martin Panter [Mon, 11 Jul 2016 00:17:13 +0000 (00:17 +0000)]
Issue #23804: Fix SSL zero-length recv() calls to not block and raise EOF

8 years agoRefine geometry of idlelib htests (and a few other fix-ups).
Terry Jan Reedy [Sun, 10 Jul 2016 21:28:10 +0000 (17:28 -0400)]
Refine geometry of idlelib htests (and a few other fix-ups).

8 years agoIssue #27173: Fix error in test_config that caused test_idle to fail.
Terry Jan Reedy [Sun, 10 Jul 2016 21:26:24 +0000 (17:26 -0400)]
Issue #27173: Fix error in test_config that caused test_idle to fail.

8 years agoissue27476 - Introduce a .github template to discourage github pull requests
Senthil Kumaran [Sun, 10 Jul 2016 19:24:41 +0000 (12:24 -0700)]
issue27476 - Introduce a .github template to discourage github pull requests
and point users to developers guide.

8 years agoNull merge
Serhiy Storchaka [Sun, 10 Jul 2016 18:34:50 +0000 (21:34 +0300)]
Null merge

8 years agoMerge heads
Serhiy Storchaka [Sun, 10 Jul 2016 18:34:25 +0000 (21:34 +0300)]
Merge heads

8 years agoMerge heads
Serhiy Storchaka [Sun, 10 Jul 2016 18:34:05 +0000 (21:34 +0300)]
Merge heads

8 years ago#22758 null merge
R David Murray [Sun, 10 Jul 2016 18:12:43 +0000 (14:12 -0400)]
#22758 null merge

8 years ago#22758 null merge
R David Murray [Sun, 10 Jul 2016 18:11:36 +0000 (14:11 -0400)]
#22758 null merge

8 years ago#22758 null merge
R David Murray [Sun, 10 Jul 2016 18:10:56 +0000 (14:10 -0400)]
#22758 null merge

8 years ago#22758 null merge
R David Murray [Sun, 10 Jul 2016 18:10:08 +0000 (14:10 -0400)]
#22758 null merge

8 years agoMerge: #26176: fix usage of Address constructor in email examples.
R David Murray [Sun, 10 Jul 2016 18:00:51 +0000 (14:00 -0400)]
Merge: #26176: fix usage of Address constructor in email examples.

8 years ago#26176: fix usage of Address constructor in email examples.
R David Murray [Sun, 10 Jul 2016 17:59:01 +0000 (13:59 -0400)]
#26176: fix usage of Address constructor in email examples.

Patch by Nathan Harold.

8 years agoIssue #27473: Fixed possible integer overflow in bytes and bytearray
Serhiy Storchaka [Sun, 10 Jul 2016 17:51:35 +0000 (20:51 +0300)]
Issue #27473: Fixed possible integer overflow in bytes and bytearray
concatenations.  Patch by Xiang Zhang.

8 years agoIssue #27473: Fixed possible integer overflow in bytes and bytearray
Serhiy Storchaka [Sun, 10 Jul 2016 17:48:43 +0000 (20:48 +0300)]
Issue #27473: Fixed possible integer overflow in bytes and bytearray
concatenations.  Patch by Xiang Zhang.

8 years agoIssue #27173: Add 'IDLE Modern Unix' to the built-in key sets.
Terry Jan Reedy [Sun, 10 Jul 2016 17:46:34 +0000 (13:46 -0400)]
Issue #27173: Add 'IDLE Modern Unix' to the built-in key sets.
Make the default key set depend on the platform.
Add tests for changes to the config module.

8 years ago#22758: fix regression in handling of secure cookies.
R David Murray [Sun, 10 Jul 2016 17:32:43 +0000 (13:32 -0400)]
#22758: fix regression in handling of secure cookies.

This backports the fix from #16611, per discussion with the release
manager.

8 years agoMerge: #20647: Update dictobject.c comments to account for randomized string hashes.
R David Murray [Sun, 10 Jul 2016 16:40:03 +0000 (12:40 -0400)]
Merge: #20647: Update dictobject.c comments to account for randomized string hashes.

8 years ago#20647: Update dictobject.c comments to account for randomized string hashes.
R David Murray [Sun, 10 Jul 2016 16:33:18 +0000 (12:33 -0400)]
#20647: Update dictobject.c comments to account for randomized string hashes.

Patch by Jaysinh Shukla.

8 years agoIssue #27027: Added test.support.is_android that is True when this is an
Xavier de Gaye [Sun, 10 Jul 2016 16:20:15 +0000 (18:20 +0200)]
Issue #27027: Added test.support.is_android that is True when this is an
Android build.

8 years ago[merge from 3.5] - Issue #27466: Change time format returned by
Senthil Kumaran [Sun, 10 Jul 2016 13:49:49 +0000 (06:49 -0700)]
[merge from 3.5] - Issue #27466: Change time format returned by
http.cookie.time2netscape, confirming the netscape cookie format.

8 years agoIssue #27466: Change time format returned by http.cookie.time2netscape,
Senthil Kumaran [Sun, 10 Jul 2016 13:45:38 +0000 (06:45 -0700)]
Issue #27466: Change time format returned by http.cookie.time2netscape,
confirming the netscape cookie format.

8 years agoIssue #27474: Unified error messages in the __contains__ method of bytes and
Serhiy Storchaka [Sun, 10 Jul 2016 09:37:30 +0000 (12:37 +0300)]
Issue #27474: Unified error messages in the __contains__ method of bytes and
bytearray for integers in and out of the Py_ssize_t range.
Patch by Xiang Zhang.

8 years agoIssue #27442: Expose the Android API level in sysconfig.get_config_vars()
Xavier de Gaye [Sat, 9 Jul 2016 09:05:42 +0000 (11:05 +0200)]
Issue #27442: Expose the Android API level in sysconfig.get_config_vars()
as 'ANDROID_API_LEVEL'.

8 years agoUpdate frozen importlib code
Brett Cannon [Fri, 8 Jul 2016 23:44:54 +0000 (16:44 -0700)]
Update frozen importlib code

8 years agoIssue #26972: Fix some mistakes in importlib-related docstrings.
Brett Cannon [Fri, 8 Jul 2016 18:09:35 +0000 (11:09 -0700)]
Issue #26972: Fix some mistakes in importlib-related docstrings.

Thanks to Oren Milman for the patch.

8 years agoIssue #26896: Disambiguate uses of "importer" with "finder".
Brett Cannon [Fri, 8 Jul 2016 18:00:00 +0000 (11:00 -0700)]
Issue #26896: Disambiguate uses of "importer" with "finder".

Thanks to Oren Milman for the patch.

8 years agoIssue #27285: Document the deprecation of the pyvenv script.
Brett Cannon [Fri, 8 Jul 2016 17:46:21 +0000 (10:46 -0700)]
Issue #27285: Document the deprecation of the pyvenv script.

As part of the update, the documentation was updated to normalize
around the term "virtual environment" instead of relying too heavily
on "venv" for the same meaning and leading to inconsistent usage of
either.

Thanks to Steve Piercy for the patch.

8 years agoIssue #22624: Python 3 requires clock() to build
Victor Stinner [Fri, 8 Jul 2016 15:55:01 +0000 (17:55 +0200)]
Issue #22624: Python 3 requires clock() to build

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.