]> granicus.if.org Git - python/log
python
9 years agomerge
Raymond Hettinger [Sun, 17 May 2015 21:47:00 +0000 (14:47 -0700)]
merge

9 years agoIssue #23757: Only call the concrete list API for exact lists.
Raymond Hettinger [Sun, 17 May 2015 21:45:58 +0000 (14:45 -0700)]
Issue #23757:  Only call the concrete list API for exact lists.

9 years agoIssue #22155: News entry.
Terry Jan Reedy [Sun, 17 May 2015 18:56:20 +0000 (14:56 -0400)]
Issue #22155: News entry.

9 years agoIssue #22155: News entry.
Terry Jan Reedy [Sun, 17 May 2015 18:53:28 +0000 (14:53 -0400)]
Issue #22155: News entry.

9 years agoMerge with 3.4
Terry Jan Reedy [Sun, 17 May 2015 18:50:06 +0000 (14:50 -0400)]
Merge with 3.4

9 years agoIssue #22155: Add File Handlers subsection with createfilehandler to tkinter
Terry Jan Reedy [Sun, 17 May 2015 18:49:26 +0000 (14:49 -0400)]
Issue #22155: Add File Handlers subsection with createfilehandler to tkinter
doc.  Remove obsolete example from FAQ.  Patch by Martin Panter.

9 years ago#20098: add mangle_from_ policy option.
R David Murray [Sun, 17 May 2015 18:24:33 +0000 (14:24 -0400)]
#20098: add mangle_from_ policy option.

This defaults to True in the compat32 policy for backward compatibility,
but to False for all new policies.

Patch by Milan Oberkirch, with a few tweaks.

9 years ago#24211: Add RFC6532 support to the email library.
R David Murray [Sun, 17 May 2015 15:29:21 +0000 (11:29 -0400)]
#24211: Add RFC6532 support to the email library.

This could use more edge case tests, but the basic functionality is tested.
(Note that this changeset does not add tailored support for the RFC 6532
message/global MIME type, but the email package generic facilities will handle
it.)

Reviewed by Maciej Szulik.

9 years agoMerge: #24216: fix typo
R David Murray [Sun, 17 May 2015 14:17:35 +0000 (10:17 -0400)]
Merge: #24216: fix typo

9 years ago#24216: fix typo
R David Murray [Sun, 17 May 2015 14:16:37 +0000 (10:16 -0400)]
#24216: fix typo

9 years agoIgnore PCbuild/.vs directory.
Zachary Ware [Sun, 17 May 2015 03:45:27 +0000 (22:45 -0500)]
Ignore PCbuild/.vs directory.

Also fix a couple other ignored PCbuild directories in .gitignore

9 years agoMerge with 3.4
Terry Jan Reedy [Sat, 16 May 2015 23:33:32 +0000 (19:33 -0400)]
Merge with 3.4

9 years agoIssue #24199: Make idlever module self updating. Syop using it in aboutDialog.
Terry Jan Reedy [Sat, 16 May 2015 23:28:32 +0000 (19:28 -0400)]
Issue #24199: Make idlever module self updating. Syop using it in aboutDialog.

9 years agoFixed issue #16314 test for the case when lzma is not available.
Serhiy Storchaka [Sat, 16 May 2015 23:23:02 +0000 (02:23 +0300)]
Fixed issue #16314 test for the case when lzma is not available.

9 years agoMerge with 3.4
Terry Jan Reedy [Sat, 16 May 2015 22:31:32 +0000 (18:31 -0400)]
Merge with 3.4

9 years agoIssue #24212: Put reference in idle.__main__ to issue with explanation.
Terry Jan Reedy [Sat, 16 May 2015 22:31:15 +0000 (18:31 -0400)]
Issue #24212: Put reference in idle.__main__ to issue with explanation.

9 years agoAdd versionadded directive for BoundArguments.apply_defaults().
Berker Peksag [Sat, 16 May 2015 20:29:31 +0000 (23:29 +0300)]
Add versionadded directive for BoundArguments.apply_defaults().

9 years agoIssue #24210: Silence more PendingDeprecationWarning warnings in tests.
Berker Peksag [Sat, 16 May 2015 20:21:26 +0000 (23:21 +0300)]
Issue #24210: Silence more PendingDeprecationWarning warnings in tests.

9 years ago#21083: add get_content_disposition method to email.message.
R David Murray [Sat, 16 May 2015 19:41:07 +0000 (15:41 -0400)]
#21083: add get_content_disposition method to email.message.

Patch by Abhilash Raj.

9 years agoIssue #16314: Added support for the LZMA compression in distutils.
Serhiy Storchaka [Sat, 16 May 2015 19:13:27 +0000 (22:13 +0300)]
Issue #16314: Added support for the LZMA compression in distutils.

9 years ago#21804: Add RFC 6856 (UTF8) support to poplib.
R David Murray [Sat, 16 May 2015 19:05:53 +0000 (15:05 -0400)]
#21804: Add RFC 6856 (UTF8) support to poplib.

Patch by Milan Oberkirch.

9 years agoIssue #18682: Optimized pprint functions for builtin scalar types.
Serhiy Storchaka [Sat, 16 May 2015 18:38:05 +0000 (21:38 +0300)]
Issue #18682: Optimized pprint functions for builtin scalar types.

9 years agoAdded tests for more builtin types.
Serhiy Storchaka [Sat, 16 May 2015 18:35:56 +0000 (21:35 +0300)]
Added tests for more builtin types.
Made test_pprint discoverable.

9 years agoAdded tests for more builtin types.
Serhiy Storchaka [Sat, 16 May 2015 18:35:24 +0000 (21:35 +0300)]
Added tests for more builtin types.
Made test_pprint discoverable.

9 years agoMerge with 3.4
Terry Jan Reedy [Sat, 16 May 2015 18:24:06 +0000 (14:24 -0400)]
Merge with 3.4

9 years agoIssue #23964: Update idlelib/idle_test/README.txt. first patch by Al Sweigart.
Terry Jan Reedy [Sat, 16 May 2015 18:23:39 +0000 (14:23 -0400)]
Issue #23964: Update idlelib/idle_test/README.txt. first patch by Al Sweigart.

9 years ago#19662: Make requirement to support arbitrary keywords explicit.
R David Murray [Sat, 16 May 2015 18:16:33 +0000 (14:16 -0400)]
#19662: Make requirement to support arbitrary keywords explicit.

When not using decode_data=True, smtpd may provide keyword arguments to the
process_message user-implemented method.  This doc update is intended to make
it clear that arbitrary keywords must be supported, so that we can add
additional features in the future by just adding keywords to the
process_message call.

9 years ago#22027: Add RFC6531 support to smtplib.
R David Murray [Sat, 16 May 2015 17:58:14 +0000 (13:58 -0400)]
#22027: Add RFC6531 support to smtplib.

Initial patch by Milan Oberkirch.

9 years agoIssue 24190: Add inspect.BoundArguments.apply_defaults() method.
Yury Selivanov [Sat, 16 May 2015 17:45:09 +0000 (13:45 -0400)]
Issue 24190: Add inspect.BoundArguments.apply_defaults() method.

9 years agoIssue #24210: Silence a PendingDeprecationWarning warning in platform.platform().
Berker Peksag [Sat, 16 May 2015 17:24:28 +0000 (20:24 +0300)]
Issue #24210: Silence a PendingDeprecationWarning warning in platform.platform().

9 years agoIssue 24208: Fix tests -- don't create a tempdir in __init__.
Yury Selivanov [Sat, 16 May 2015 14:10:21 +0000 (10:10 -0400)]
Issue 24208: Fix tests -- don't create a tempdir in __init__.

9 years agoallow test node after ** in calls (closes #24176)
Benjamin Peterson [Sat, 16 May 2015 13:44:45 +0000 (09:44 -0400)]
allow test node after ** in calls (closes #24176)

9 years agoFixed release date.
Serhiy Storchaka [Sat, 16 May 2015 13:32:21 +0000 (16:32 +0300)]
Fixed release date.

9 years agoNull merge
Serhiy Storchaka [Sat, 16 May 2015 13:31:35 +0000 (16:31 +0300)]
Null merge

9 years agoIssue #24134: assertRaises(), assertRaisesRegex(), assertWarns() and
Serhiy Storchaka [Sat, 16 May 2015 13:29:50 +0000 (16:29 +0300)]
Issue #24134: assertRaises(), assertRaisesRegex(), assertWarns() and
assertWarnsRegex() checks now emits a deprecation warning when callable is
None or keyword arguments except msg is passed in the context manager mode.

9 years agoReverted issue #24134 changes (except new tests).
Serhiy Storchaka [Sat, 16 May 2015 13:25:43 +0000 (16:25 +0300)]
Reverted issue #24134 changes (except new tests).

9 years agoFixed compilation error in signalmodule.c (issue #20182).
Serhiy Storchaka [Sat, 16 May 2015 12:57:56 +0000 (15:57 +0300)]
Fixed compilation error in signalmodule.c (issue #20182).

9 years agoIssue #20182: converted the signal module to use Argument Clinic
Tal Einat [Sat, 16 May 2015 11:14:49 +0000 (14:14 +0300)]
Issue #20182: converted the signal module to use Argument Clinic

9 years agoArgument Clinic: added missing bit of info in howto
Tal Einat [Sat, 16 May 2015 11:12:15 +0000 (14:12 +0300)]
Argument Clinic: added missing bit of info in howto

9 years agoTighten-up code by eliminating an unnecessary variable.
Raymond Hettinger [Sat, 16 May 2015 04:01:13 +0000 (21:01 -0700)]
Tighten-up code by eliminating an unnecessary variable.

9 years agoIssue #23184: idle tests, remove unused names and imports.
Terry Jan Reedy [Sat, 16 May 2015 03:55:21 +0000 (23:55 -0400)]
Issue #23184: idle tests, remove unused names and imports.

9 years agoIssue #24192: Fix namespace package imports.
Eric Snow [Sat, 16 May 2015 03:54:59 +0000 (21:54 -0600)]
Issue #24192: Fix namespace package imports.

9 years agoMerge 3.4 #23184: idle tests, remove unused names and imports.
Terry Jan Reedy [Sat, 16 May 2015 03:55:49 +0000 (23:55 -0400)]
Merge 3.4 #23184: idle tests, remove unused names and imports.

9 years agoMerge with 3.4 Issue #23184: idlelib, remove more unused names and imports.
Terry Jan Reedy [Sat, 16 May 2015 03:03:53 +0000 (23:03 -0400)]
Merge with 3.4 Issue #23184: idlelib, remove more unused names and imports.

9 years agoIssue #23184: idlelib, remove more unused names and imports.
Terry Jan Reedy [Sat, 16 May 2015 03:03:17 +0000 (23:03 -0400)]
Issue #23184: idlelib, remove more unused names and imports.

9 years agoMinor code clean-up.
Raymond Hettinger [Sat, 16 May 2015 00:53:52 +0000 (17:53 -0700)]
Minor code clean-up.

9 years agoIssue #24064: Docuement that oroperty docstrings are now writeable.
Raymond Hettinger [Fri, 15 May 2015 23:17:05 +0000 (16:17 -0700)]
Issue #24064:  Docuement that oroperty docstrings are now writeable.

9 years agoFixes default per-user install precompiling the standard library.
Steve Dower [Fri, 15 May 2015 19:10:53 +0000 (12:10 -0700)]
Fixes default per-user install precompiling the standard library.

9 years agoIssue 24200: Fix broken unittest.
Yury Selivanov [Fri, 15 May 2015 16:55:20 +0000 (12:55 -0400)]
Issue 24200: Fix broken unittest.

9 years agoinspect: Remove "0x..." IDs from Signature objects' __repr__
Yury Selivanov [Fri, 15 May 2015 16:53:56 +0000 (12:53 -0400)]
inspect: Remove "0x..." IDs from Signature objects' __repr__

Issue 24200.

9 years agoCloses #24013: Improve os.scandir() and DirEntry documentation
Victor Stinner [Fri, 15 May 2015 07:12:58 +0000 (09:12 +0200)]
Closes #24013: Improve os.scandir() and DirEntry documentation

Patch written by Ben Hoyt.

9 years agoos module doc: remove availability when useless
Victor Stinner [Fri, 15 May 2015 07:11:59 +0000 (09:11 +0200)]
os module doc: remove availability when useless

Remove "Availability: Unix, Windows." from os module documentation for
functions available on all platforms.

9 years agoIssue 22547: Implement informative __repr__ for inspect.BoundArguments
Yury Selivanov [Thu, 14 May 2015 22:47:17 +0000 (18:47 -0400)]
Issue 22547: Implement informative __repr__ for inspect.BoundArguments

9 years agoMerge
Yury Selivanov [Thu, 14 May 2015 22:33:14 +0000 (18:33 -0400)]
Merge

9 years agoinspect: Test that BoundArguments.__eq__ repects the order of params
Yury Selivanov [Thu, 14 May 2015 22:30:27 +0000 (18:30 -0400)]
inspect: Test that BoundArguments.__eq__ repects the order of params

9 years agoinspect: Micro-optimize __eq__ for Signature, Parameter and BoundArguments
Yury Selivanov [Thu, 14 May 2015 22:20:01 +0000 (18:20 -0400)]
inspect: Micro-optimize __eq__ for Signature, Parameter and BoundArguments

Provide __ne__ method for consistency.

9 years agoMerge with 3.4
Terry Jan Reedy [Thu, 14 May 2015 22:11:14 +0000 (18:11 -0400)]
Merge with 3.4

9 years agoidlelib: remove unused names and imports (one is a duplicate import).
Terry Jan Reedy [Thu, 14 May 2015 22:10:50 +0000 (18:10 -0400)]
idlelib: remove unused names and imports (one is a duplicate import).

9 years agoIssue 24191: Document BoundArguments.signature
Yury Selivanov [Thu, 14 May 2015 18:14:18 +0000 (14:14 -0400)]
Issue 24191: Document BoundArguments.signature

9 years agoIssue 24191: Document BoundArguments.signature
Yury Selivanov [Thu, 14 May 2015 18:14:02 +0000 (14:14 -0400)]
Issue 24191: Document BoundArguments.signature

9 years agoIssue 24184: Add AsyncIterator and AsyncIterable to collections.abc.
Yury Selivanov [Thu, 14 May 2015 16:19:16 +0000 (12:19 -0400)]
Issue 24184: Add AsyncIterator and AsyncIterable to collections.abc.

9 years agoMerge: Make sentence correct English.
R David Murray [Thu, 14 May 2015 12:51:09 +0000 (08:51 -0400)]
Merge: Make sentence correct English.

9 years agoMake sentence correct English.
R David Murray [Thu, 14 May 2015 12:50:38 +0000 (08:50 -0400)]
Make sentence correct English.

9 years agoIssue #24186: Disable optimised OpenSSL functions on 64-bit Windows to avoid crashing.
Steve Dower [Thu, 14 May 2015 04:44:02 +0000 (21:44 -0700)]
Issue #24186: Disable optimised OpenSSL functions on 64-bit Windows to avoid crashing.

9 years agocollections.abc.tests: Remove some unnecessary code.
Yury Selivanov [Thu, 14 May 2015 03:57:59 +0000 (23:57 -0400)]
collections.abc.tests: Remove some unnecessary code.

9 years agocollections.abc: Test that if an object is a Coroutine it is also an Awaitable
Yury Selivanov [Thu, 14 May 2015 03:41:55 +0000 (23:41 -0400)]
collections.abc: Test that if an object is a Coroutine it is also an Awaitable

9 years agoIssue #23995: Removes _WCONIO_DEFINED check as the wchar_t console functions are...
Steve Dower [Thu, 14 May 2015 02:35:49 +0000 (19:35 -0700)]
Issue #23995: Removes _WCONIO_DEFINED check as the wchar_t console functions are always available.

9 years agoMerge: #23088: Clarify null termination of bytes and strings in C API.
R David Murray [Thu, 14 May 2015 00:32:19 +0000 (20:32 -0400)]
Merge: #23088: Clarify null termination of bytes and strings in C API.

9 years ago#23088: Clarify null termination of bytes and strings in C API.
R David Murray [Thu, 14 May 2015 00:31:53 +0000 (20:31 -0400)]
#23088: Clarify null termination of bytes and strings in C API.

Patch by Martin Panter, reviewed by Serhiy Storchaka and R. David Murray.

9 years agomerge
Raymond Hettinger [Wed, 13 May 2015 21:39:35 +0000 (14:39 -0700)]
merge

9 years agoFix mangled wording
Raymond Hettinger [Wed, 13 May 2015 21:39:04 +0000 (14:39 -0700)]
Fix mangled wording

9 years agoinspect: Add __slots__ to BoundArguments.
Yury Selivanov [Wed, 13 May 2015 21:18:41 +0000 (17:18 -0400)]
inspect: Add __slots__ to BoundArguments.

9 years agoIssue 24017: More tests for 'async for' and 'async with'.
Yury Selivanov [Wed, 13 May 2015 20:49:35 +0000 (16:49 -0400)]
Issue 24017: More tests for 'async for' and 'async with'.

9 years agoasyncio/tests: Drop unused import.
Yury Selivanov [Wed, 13 May 2015 19:37:48 +0000 (15:37 -0400)]
asyncio/tests: Drop unused import.

9 years agoasyncio: Add a test for asyncio.iscoroutine().
Yury Selivanov [Wed, 13 May 2015 19:34:12 +0000 (15:34 -0400)]
asyncio: Add a test for asyncio.iscoroutine().

Test that asyncio.iscoroutine() supports 'async def' coroutines and
collections.abc.Coroutine types.

9 years agoasyncio: Use 'collections.abc.Coroutine' in asyncio.iscoroutine.
Yury Selivanov [Wed, 13 May 2015 19:22:03 +0000 (15:22 -0400)]
asyncio: Use 'collections.abc.Coroutine' in asyncio.iscoroutine.

9 years agoasyncio: Use 'collections.abc.Coroutine' in asyncio.iscoroutine (in 3.5)
Yury Selivanov [Wed, 13 May 2015 19:21:41 +0000 (15:21 -0400)]
asyncio: Use 'collections.abc.Coroutine' in asyncio.iscoroutine (in 3.5)

9 years agoMerge 3.4.
Yury Selivanov [Wed, 13 May 2015 19:16:18 +0000 (15:16 -0400)]
Merge 3.4.

9 years agoSync asyncio code from default branch.
Yury Selivanov [Wed, 13 May 2015 19:15:56 +0000 (15:15 -0400)]
Sync asyncio code from default branch.

9 years agoIssue 24179: Support 'async for' for asyncio.StreamReader.
Yury Selivanov [Wed, 13 May 2015 18:23:29 +0000 (14:23 -0400)]
Issue 24179: Support 'async for' for asyncio.StreamReader.

9 years agoIssue #24064: Help property() support GC
Raymond Hettinger [Wed, 13 May 2015 18:12:33 +0000 (11:12 -0700)]
Issue #24064: Help property() support GC

9 years agoIssue 24178: support 'async with' for asyncio locks.
Yury Selivanov [Wed, 13 May 2015 18:10:38 +0000 (14:10 -0400)]
Issue 24178: support 'async with' for asyncio locks.

9 years agoIssue #20172: Update clinicizations to current clinic.
Zachary Ware [Wed, 13 May 2015 15:58:35 +0000 (10:58 -0500)]
Issue #20172: Update clinicizations to current clinic.

9 years agoremove extra space
Benjamin Peterson [Wed, 13 May 2015 15:19:27 +0000 (11:19 -0400)]
remove extra space

9 years agoremove % from title, since it makes latex barf
Benjamin Peterson [Wed, 13 May 2015 15:19:06 +0000 (11:19 -0400)]
remove % from title, since it makes latex barf

9 years agoIssue #23488: Random generator objects now consume 2x less memory on 64-bit.
Serhiy Storchaka [Wed, 13 May 2015 12:02:12 +0000 (15:02 +0300)]
Issue #23488: Random generator objects now consume 2x less memory on 64-bit.

9 years agoIssue #22064: Improve the misleading message from 2to3 when skipping optional fixers.
Berker Peksag [Wed, 13 May 2015 10:40:12 +0000 (13:40 +0300)]
Issue #22064: Improve the misleading message from 2to3 when skipping optional fixers.

Patch by Vinod Kurup.

9 years agoIssue #22064: Improve the misleading message from 2to3 when skipping optional fixers.
Berker Peksag [Wed, 13 May 2015 10:39:51 +0000 (13:39 +0300)]
Issue #22064: Improve the misleading message from 2to3 when skipping optional fixers.

Patch by Vinod Kurup.

9 years agomerge
Raymond Hettinger [Wed, 13 May 2015 09:48:21 +0000 (02:48 -0700)]
merge

9 years agoIssue #19934: Document *None* as an acceptable input to Counter.most_common([n])
Raymond Hettinger [Wed, 13 May 2015 09:47:57 +0000 (02:47 -0700)]
Issue #19934:  Document *None* as an acceptable input to Counter.most_common([n])

9 years agoIssue #23695: Explain the zip() example for clustering a data series into n-length...
Raymond Hettinger [Wed, 13 May 2015 09:34:38 +0000 (02:34 -0700)]
Issue #23695:  Explain the  zip() example for clustering a data series into n-length groups.

9 years agoIssue #1322: platform.dist() and platform.linux_distribution() functions are now...
Berker Peksag [Wed, 13 May 2015 09:32:20 +0000 (12:32 +0300)]
Issue #1322: platform.dist() and platform.linux_distribution() functions are now deprecated.

Initial patch by Vajrasky Kok.

9 years agoIssue #24064: Add __doc__ to the example in collections.rst.
Berker Peksag [Wed, 13 May 2015 09:16:27 +0000 (12:16 +0300)]
Issue #24064: Add __doc__ to the example in collections.rst.

9 years agoMinor stylistic and consistency cleanup.
Raymond Hettinger [Wed, 13 May 2015 08:44:36 +0000 (01:44 -0700)]
Minor stylistic and consistency cleanup.

9 years agoIssue #23290: Optimize set_merge() for cases where the target is empty.
Raymond Hettinger [Wed, 13 May 2015 08:26:14 +0000 (01:26 -0700)]
Issue #23290:  Optimize set_merge() for cases where the target is empty.
(Contributed by Serhiy Storchaka.)

9 years agoIssue #24064: Property() docstrings are now writeable.
Raymond Hettinger [Wed, 13 May 2015 08:09:59 +0000 (01:09 -0700)]
Issue #24064: Property() docstrings are now writeable.
(Patch by Berker Peksag.)

9 years agoIssue #20172: Convert the _winapi module to Argument Clinic.
Zachary Ware [Wed, 13 May 2015 06:22:54 +0000 (01:22 -0500)]
Issue #20172: Convert the _winapi module to Argument Clinic.

9 years agoIssue #20172: Convert the msvcrt module to Argument Clinic.
Zachary Ware [Wed, 13 May 2015 06:22:32 +0000 (01:22 -0500)]
Issue #20172: Convert the msvcrt module to Argument Clinic.

9 years agoIssue #20172: Convert the winreg module to Argument Clinic.
Zachary Ware [Wed, 13 May 2015 06:21:57 +0000 (01:21 -0500)]
Issue #20172: Convert the winreg module to Argument Clinic.

9 years agoIssue #20172: Convert the winsound module to Argument Clinic.
Zachary Ware [Wed, 13 May 2015 06:21:21 +0000 (01:21 -0500)]
Issue #20172: Convert the winsound module to Argument Clinic.