]> granicus.if.org Git - python/log
python
7 years agoIgnore What's New for MentionBot (GH-521)
Matthias Bussonnier [Mon, 6 Mar 2017 18:56:58 +0000 (10:56 -0800)]
Ignore What's New for MentionBot (GH-521)

7 years agoThe mention-bot is too exuberant for my taste. (#522)
Stefan Krah [Mon, 6 Mar 2017 17:28:29 +0000 (18:28 +0100)]
The mention-bot is too exuberant for my taste. (#522)

7 years agobpo-29695: Remove bad keyword parameters in int(), bool(), float(), list() and tuple...
Serhiy Storchaka [Mon, 6 Mar 2017 15:01:06 +0000 (17:01 +0200)]
bpo-29695: Remove bad keyword parameters in int(), bool(), float(), list() and tuple(). (#518)

7 years agobpo-29714: Fix a regression that bytes format may fail when containing zero bytes...
Xiang Zhang [Mon, 6 Mar 2017 09:17:05 +0000 (17:17 +0800)]
bpo-29714:  Fix a regression that bytes format may fail when containing zero bytes inside. (GH-499)

7 years agoremove 3 redundant casts in Objects/longobject.c (#445)
orenmn [Mon, 6 Mar 2017 08:42:47 +0000 (10:42 +0200)]
remove 3 redundant casts in Objects/longobject.c (#445)

7 years agobpo-29719: Remove Date and Release field in whatsnew/3.6 (GH-494)
INADA Naoki [Mon, 6 Mar 2017 06:41:59 +0000 (15:41 +0900)]
bpo-29719: Remove Date and Release field in whatsnew/3.6 (GH-494)

7 years agoFixes the upload script to purge the CDN correctly and display success output. (...
Steve Dower [Mon, 6 Mar 2017 03:55:12 +0000 (19:55 -0800)]
Fixes the upload script to purge the CDN correctly and display success output. (#466)

7 years agobpo-29695: Deprecated using bad named keyword arguments in builtings: (#486)
Serhiy Storchaka [Sun, 5 Mar 2017 22:53:39 +0000 (00:53 +0200)]
bpo-29695: Deprecated using bad named keyword arguments in builtings: (#486)

int(), bool(), float(), list() and tuple().  Specify the value as a
positional argument instead.

7 years agoAdd Appveyor (GH-324)
Zachary Ware [Sun, 5 Mar 2017 21:45:53 +0000 (15:45 -0600)]
Add Appveyor (GH-324)

7 years agobpo-29638: Fix spurious refleaks after typing is imported (#469)
Ivan Levkivskyi [Sun, 5 Mar 2017 18:15:20 +0000 (19:15 +0100)]
bpo-29638: Fix spurious refleaks after typing is imported (#469)

7 years agoChange assertRaises to assertRaisesRegex in test_xmlrpc (#481)
Dillon Brock [Sun, 5 Mar 2017 17:27:06 +0000 (12:27 -0500)]
Change assertRaises to assertRaisesRegex in test_xmlrpc (#481)

7 years agoDocs: Add note regarding "reversed" flag in heapq.merge (#300)
Adam Niederer [Sun, 5 Mar 2017 16:56:05 +0000 (11:56 -0500)]
Docs: Add note regarding "reversed" flag in heapq.merge (#300)

The docs for `heapq.merge` are a little misleading. Iterables passed
into heapq.merge with the reversed flag enabled must be sorted from
largest to smallest to achieve the desired sorting effect, but the
previous paragraph states that they should be sorted from smallest
to largest.

7 years agodistutils docs: Fix a typo (GH-470)
Mariatta [Sun, 5 Mar 2017 00:41:06 +0000 (16:41 -0800)]
distutils docs: Fix a typo (GH-470)

instanciated -> instantiated

7 years agoremove merge=union attribute for Misc/NEWS (GH-460)
INADA Naoki [Sat, 4 Mar 2017 23:49:45 +0000 (08:49 +0900)]
remove merge=union attribute for Misc/NEWS (GH-460)

Github doesn't support it (ref. isaacs/github#487).  So it can't ease
conflict on Github.

Additionally, it can make trouble when cherry-pick. (ref. GH-212)

7 years agoCorrect spelling "instanciate" (#465)
J. W [Sat, 4 Mar 2017 22:51:08 +0000 (22:51 +0000)]
Correct spelling "instanciate" (#465)

7 years agobpo-28087: Skip test_asyncore and test_eintr poll failures on macOS. (#462)
Ned Deily [Sat, 4 Mar 2017 11:00:37 +0000 (06:00 -0500)]
bpo-28087: Skip test_asyncore and test_eintr poll failures on macOS. (#462)

* bpo-28087: Skip test_asyncore and test_eintr poll failures on macOS

Skip some tests of select.poll when running on macOS due to unresolved
issues with the underlying system poll function on some macOS versions.

7 years agobpo-29572: Update macOS installer build to OpenSSL 1.0.2k (#457)
Ned Deily [Sat, 4 Mar 2017 07:33:25 +0000 (02:33 -0500)]
bpo-29572: Update macOS installer build to OpenSSL 1.0.2k (#457)

7 years agobpo-29550: Temporarily skip "make touch" in Mac installer build. (#456)
Ned Deily [Sat, 4 Mar 2017 07:16:13 +0000 (02:16 -0500)]
bpo-29550: Temporarily skip "make touch" in Mac installer build. (#456)

7 years agoFixes git command (#451)
Steve Dower [Sat, 4 Mar 2017 05:55:06 +0000 (21:55 -0800)]
Fixes git command (#451)

7 years agobpo-27593: Updates Windows build to use information from git (#262)
Steve Dower [Sat, 4 Mar 2017 05:20:37 +0000 (21:20 -0800)]
bpo-27593: Updates Windows build to use information from git (#262)

* bpo-27593: Updates Windows build to use information from git

7 years agobpo-27593: Get SCM build info from git instead of hg. (#446)
Ned Deily [Sat, 4 Mar 2017 05:19:55 +0000 (00:19 -0500)]
bpo-27593: Get SCM build info from git instead of hg. (#446)

sys.version and the platform module python_build(),
python_branch(), and python_revision() functions now use
git information rather than hg when building from a repo.

Based on original patches by Brett Cannon and Steve Dower.

7 years agobpo-29572: Update Windows build to OpenSSL 1.0.2k (GH-439)
Zachary Ware [Fri, 3 Mar 2017 22:07:07 +0000 (16:07 -0600)]
bpo-29572: Update Windows build to OpenSSL 1.0.2k (GH-439)

7 years agobpo-26213: Document _UNPACK bytecodes and BUILD_MAP changes (#238)
Ivan Levkivskyi [Fri, 3 Mar 2017 21:46:39 +0000 (22:46 +0100)]
bpo-26213: Document _UNPACK bytecodes and BUILD_MAP changes (#238)

7 years agobpo-29709: Improve Boolean Operations documentation (#433)
Mariatta [Fri, 3 Mar 2017 21:16:29 +0000 (13:16 -0800)]
bpo-29709: Improve Boolean Operations documentation (#433)

Change False into false, and True into true.

7 years agobpo-29455: Mention coverage.py in trace module documentation (#261)
Marco Buttu [Fri, 3 Mar 2017 20:42:04 +0000 (21:42 +0100)]
bpo-29455: Mention coverage.py in trace module documentation (#261)

7 years agobpo-29623: Make PathLike objects work with ConfigParser.read() (#242)
David Ellis [Fri, 3 Mar 2017 17:14:27 +0000 (17:14 +0000)]
bpo-29623: Make PathLike objects work with ConfigParser.read() (#242)

7 years agoFixed a typo in the comment in Include/pyport.h (#425)
Joseph Shen [Fri, 3 Mar 2017 13:44:51 +0000 (21:44 +0800)]
Fixed a typo in the comment in Include/pyport.h (#425)

 #ifdef HAVE_DECLSPEC_DLL / #endif mismatch

7 years agoFix config file syntax (hopefully).
Stefan Krah [Fri, 3 Mar 2017 13:08:49 +0000 (14:08 +0100)]
Fix config file syntax (hopefully).

7 years agoFind my own reviewers for PRs.
Stefan Krah [Fri, 3 Mar 2017 13:01:22 +0000 (14:01 +0100)]
Find my own reviewers for PRs.

7 years agobpo-9303: Migrate sqlite3 module to _v2 API to enhance performance (#359)
Aviv Palivoda [Fri, 3 Mar 2017 10:58:17 +0000 (12:58 +0200)]
bpo-9303: Migrate sqlite3 module to _v2 API to enhance performance (#359)

7 years agobpo-29693: Fix for DeprecationWarning in test_import (#421)
Anish Shah [Fri, 3 Mar 2017 08:12:03 +0000 (13:42 +0530)]
bpo-29693: Fix for DeprecationWarning in test_import (#421)

Patch by Anish Shah.

7 years agoasyncio: Optimize _get_running_loop() to call getpid() only when there's a loop
Yury Selivanov [Fri, 3 Mar 2017 04:57:33 +0000 (23:57 -0500)]
asyncio: Optimize _get_running_loop() to call getpid() only when there's a loop

7 years agobpo-28963: Fix out of bound iteration in asyncio.Future.remove_done_callback/C (...
Yury Selivanov [Fri, 3 Mar 2017 04:46:56 +0000 (23:46 -0500)]
bpo-28963: Fix out of bound iteration in asyncio.Future.remove_done_callback/C (#408)

7 years agoasyncio: Fix trailing whitespace/code style
Yury Selivanov [Fri, 3 Mar 2017 04:25:31 +0000 (23:25 -0500)]
asyncio: Fix trailing whitespace/code style

7 years agobpo-29704: Fix asyncio.SubprocessStreamProtocol closing (#405)
Seth M. Larson [Fri, 3 Mar 2017 04:21:18 +0000 (22:21 -0600)]
bpo-29704: Fix asyncio.SubprocessStreamProtocol closing (#405)

7 years agobpo-28893: Set __cause__ for errors in async iteration protocol (#407)
Yury Selivanov [Fri, 3 Mar 2017 03:20:00 +0000 (22:20 -0500)]
bpo-28893: Set __cause__ for errors in async iteration protocol (#407)

7 years agobpo-29271: Fix Task.current_task and Task.all_tasks to accept None. (#406)
Yury Selivanov [Fri, 3 Mar 2017 03:16:33 +0000 (22:16 -0500)]
bpo-29271: Fix Task.current_task and Task.all_tasks to accept None. (#406)

7 years agobpo-29703: asyncio: Fix creating new event loops in child processes. (#404)
Yury Selivanov [Fri, 3 Mar 2017 01:07:11 +0000 (20:07 -0500)]
bpo-29703: asyncio: Fix creating new event loops in child processes. (#404)

7 years agoDon't require the Python org to mention someone (GH-393)
Donald Stufft [Thu, 2 Mar 2017 22:47:44 +0000 (17:47 -0500)]
Don't require the Python org to mention someone (GH-393)

Previously we configured the mention-bot to only mention people who are members of the Python organization. However, this doesn't currently work
if members don't have their membership public. Instead we will configure mention-bot to poke anyone, even non-members.

7 years agobpo-28129: fix ctypes crashes (#386)
orenmn [Thu, 2 Mar 2017 17:42:40 +0000 (19:42 +0200)]
bpo-28129: fix ctypes crashes (#386)

* init commit, with initial tests for from_param and fields __set__ and __get__, and some additions to from_buffer and from_buffer_copy

* added the rest of tests and patches. probably only a first draft.

* removed trailing spaces

* replace ctype with ctypes in error messages

* change back from ctypes instance to ctype instance

7 years agobpo-29697: Don't use OpenSSL <1.0.2 fallback on 1.1+ (GH-395)
Donald Stufft [Thu, 2 Mar 2017 16:45:29 +0000 (11:45 -0500)]
bpo-29697: Don't use OpenSSL <1.0.2 fallback on 1.1+ (GH-395)

7 years agoAdd Python version since deprecation in base64 methods. (#33)
Matthias Bussonnier [Thu, 2 Mar 2017 14:21:26 +0000 (06:21 -0800)]
Add Python version since deprecation in base64 methods. (#33)

Allow developers to not have to either test on N Python versions or
looked through multiple versions of the docs to know whether they can
easily update.

7 years agofix an error message and a comment in _testcapimodule.c (GH-392)
orenmn [Thu, 2 Mar 2017 11:29:20 +0000 (13:29 +0200)]
fix an error message and a comment in _testcapimodule.c (GH-392)

7 years agobpo-27200: fix configparser, copyreg and ctypes doctests (#240)
Marco Buttu [Thu, 2 Mar 2017 11:02:43 +0000 (12:02 +0100)]
bpo-27200: fix configparser, copyreg and ctypes doctests (#240)

7 years agobpo-29683 - Fixes to _PyCode_SetExtra when co_extra->ce->extras is (#376)
Brian Coleman [Thu, 2 Mar 2017 10:32:18 +0000 (10:32 +0000)]
bpo-29683 - Fixes to _PyCode_SetExtra when co_extra->ce->extras is (#376)

allocated.

On PyMem_Realloc failure, _PyCode_SetExtra should free co_extra if
co_extra->ce_extras could not be allocated.
On PyMem_Realloc success, _PyCode_SetExtra should set all unused slots in
co_extra->ce_extras to NULL.

7 years agoIn SSL module version examples, don't use a legacy version. (#381)
Alex Gaynor [Thu, 2 Mar 2017 10:23:19 +0000 (05:23 -0500)]
In SSL module version examples, don't use a legacy version. (#381)

7 years agobpo-29176 Use tmpfile() in curses module (#235)
Christian Heimes [Thu, 2 Mar 2017 10:09:01 +0000 (11:09 +0100)]
bpo-29176 Use tmpfile() in curses module (#235)

The curses module used mkstemp() + fopen() to create a temporary file in
/tmp. The /tmp directory does not exist on Android. The tmpfile()
function simplifies the task a lot. It creates a temporary file in a
correct directory, takes care of cleanup and returns FILE*.

tmpfile is supported on all platforms (C89, POSIX 2001, Android,
Windows).

Signed-off-by: Christian Heimes <christian@python.org>
7 years agofix subprocess on Windows (#391)
Benjamin Peterson [Thu, 2 Mar 2017 08:03:41 +0000 (00:03 -0800)]
fix subprocess on Windows (#391)

7 years agorequire uuid_generate_time_safe for all tests of it (#390)
Benjamin Peterson [Thu, 2 Mar 2017 07:34:19 +0000 (23:34 -0800)]
require uuid_generate_time_safe for all tests of it (#390)

The way mocking is written in these tests, we need to have the underlying function around.

7 years agoallow path-like objects to be cwd on windows (#389)
Benjamin Peterson [Thu, 2 Mar 2017 07:04:03 +0000 (23:04 -0800)]
allow path-like objects to be cwd on windows (#389)

#157 added the test, but it's currently (correctly) broken on windows.

7 years agocorrect check for _uuid_generate_time (#388)
Benjamin Peterson [Thu, 2 Mar 2017 05:53:14 +0000 (21:53 -0800)]
correct check for _uuid_generate_time (#388)

If ctypes is not available, _uuid_generate_time will be None not its restype attribute.

7 years agoRevert "make the locale_flag fallback code work again (#375)" (#387)
Benjamin Peterson [Thu, 2 Mar 2017 05:53:00 +0000 (21:53 -0800)]
Revert "make the locale_flag fallback code work again (#375)" (#387)

This reverts commit 43f5df5bfaea5a07c913d12cb92f78f997feb371.

7 years agoDon't mention Guido automatically for reviews from the mention bot (GH-385)
Brett Cannon [Wed, 1 Mar 2017 18:30:14 +0000 (10:30 -0800)]
Don't mention Guido automatically for reviews from the mention bot (GH-385)

He's written so much code he gets mentioned **a lot**.

7 years agoFixes bpo-29680: Older gdb does not have gdb.error. (#363)
Lev Abalkin [Wed, 1 Mar 2017 18:16:23 +0000 (13:16 -0500)]
Fixes bpo-29680: Older gdb does not have gdb.error. (#363)

This change is required to make python-dbg.py compatible with GDB versions before 7.3.

7 years agobpo-29615: SimpleXMLRPCDispatcher no longer chains KeyError (#260)
Petr Motejlek [Wed, 1 Mar 2017 17:21:28 +0000 (18:21 +0100)]
bpo-29615: SimpleXMLRPCDispatcher no longer chains KeyError (#260)

(or any other exception) to exception(s) raised in the dispatched methods.
Patch by Petr Motejlek.

7 years agoemail.compat32-message.rst: Fix typo in the word `message` (GH-379)
Mariatta [Wed, 1 Mar 2017 14:20:16 +0000 (06:20 -0800)]
email.compat32-message.rst: Fix typo in the word `message` (GH-379)

7 years agobpo-29684: Fix regression of PyEval_CallObjectWithKeywords (GH-87)
INADA Naoki [Wed, 1 Mar 2017 11:41:03 +0000 (20:41 +0900)]
bpo-29684: Fix regression of PyEval_CallObjectWithKeywords (GH-87)

It should raise TypeError when kwargs is not a dict.

7 years agoTweak subprocess.STARTUPINFO documentation (#347)
Berker Peksag [Wed, 1 Mar 2017 09:51:55 +0000 (12:51 +0300)]
Tweak subprocess.STARTUPINFO documentation (#347)

* Document STARTUPINFO constructor
* Move versionchanged directive to above of attributes

7 years agomake the locale_flag fallback code work again (#375)
Benjamin Peterson [Wed, 1 Mar 2017 07:59:12 +0000 (23:59 -0800)]
make the locale_flag fallback code work again (#375)

7 years agoblacklist myself from mention-bot; it is annoying (#373)
Benjamin Peterson [Wed, 1 Mar 2017 07:33:56 +0000 (23:33 -0800)]
blacklist myself from mention-bot; it is annoying (#373)

7 years agouse select instead of _opcode for import test (#372)
Benjamin Peterson [Wed, 1 Mar 2017 07:14:09 +0000 (23:14 -0800)]
use select instead of _opcode for import test (#372)

7 years agoweaken test_from_import_missing_attr_has_name_and_path regular expression (#371)
Benjamin Peterson [Wed, 1 Mar 2017 06:35:00 +0000 (22:35 -0800)]
weaken test_from_import_missing_attr_has_name_and_path regular expression (#371)

Windows uses backslashes for separators.

7 years agoClarify exception handler scope in contextlib
amosonn [Wed, 1 Mar 2017 06:18:27 +0000 (07:18 +0100)]
Clarify exception handler scope in contextlib

Moved explicit raise from inside try to try...else.

7 years agoFix syntax error in .mention-bot (#361)
Berker Peksag [Wed, 1 Mar 2017 03:33:07 +0000 (06:33 +0300)]
Fix syntax error in .mention-bot (#361)

7 years agoFixed a handful of typos (GH-343)
Alex Gaynor [Wed, 1 Mar 2017 03:26:56 +0000 (22:26 -0500)]
Fixed a handful of typos (GH-343)

7 years agocorrect documentation for enum.html (#358)
Kartik Anand [Tue, 28 Feb 2017 20:07:19 +0000 (01:37 +0530)]
correct documentation for enum.html (#358)

7 years agoAdd the mention-bot configuration file (GH-352)
Donald Stufft [Tue, 28 Feb 2017 17:57:30 +0000 (12:57 -0500)]
Add the mention-bot configuration file (GH-352)

Discussed at https://github.com/python/core-workflow/issues/32.

7 years agobpo-7769: enable xmlrpc.server.SimpleXMLRPCDispatcher.register_function used as decor...
Xiang Zhang [Tue, 28 Feb 2017 09:12:52 +0000 (17:12 +0800)]
bpo-7769: enable xmlrpc.server.SimpleXMLRPCDispatcher.register_function used as decorator (GH-231)

7 years agoREADME: move TOC to top (GH-355)
INADA Naoki [Tue, 28 Feb 2017 07:26:58 +0000 (16:26 +0900)]
README: move TOC to top (GH-355)

7 years agoREADME: Use h3 headings for build sections, and add TOC (GH-64)
Evan Klitzke [Tue, 28 Feb 2017 06:32:07 +0000 (22:32 -0800)]
README: Use h3 headings for build sections, and add TOC (GH-64)

7 years agobpo-29661: fix contradiction in timeit.Timer.autorange's docstring (GH-331)
Xiang Zhang [Tue, 28 Feb 2017 03:06:07 +0000 (11:06 +0800)]
bpo-29661: fix contradiction in timeit.Timer.autorange's docstring (GH-331)

7 years agobpo-24241: Add versionchanged directive to the documentation (#342)
Berker Peksag [Mon, 27 Feb 2017 16:13:41 +0000 (19:13 +0300)]
bpo-24241: Add versionchanged directive to the documentation (#342)

7 years agoUse "Contributed by ..." style in whatsnew/3.7.rst (#339)
Berker Peksag [Mon, 27 Feb 2017 14:43:27 +0000 (17:43 +0300)]
Use "Contributed by ..." style in whatsnew/3.7.rst (#339)

7 years agoAsyncio documentation: remove `self` from method signatures (GH-334)
Mariatta [Mon, 27 Feb 2017 13:44:15 +0000 (05:44 -0800)]
Asyncio documentation: remove `self` from method signatures (GH-334)

7 years agofix minor bug in pymalloc. (#335)
INADA Naoki [Mon, 27 Feb 2017 13:42:37 +0000 (22:42 +0900)]
fix minor bug in pymalloc. (#335)

reported by Alexis Lopez-Garcia.

7 years agobpo-29662: fix wrong indentation in timeit.Timer's doc (GH-332)
Xiang Zhang [Mon, 27 Feb 2017 05:42:01 +0000 (13:42 +0800)]
bpo-29662: fix wrong indentation in timeit.Timer's doc (GH-332)

7 years agobpo-29376: Fix assertion error in threading._DummyThread.is_alive() (GH-236)
Xiang Zhang [Mon, 27 Feb 2017 03:01:30 +0000 (11:01 +0800)]
bpo-29376: Fix assertion error in threading._DummyThread.is_alive() (GH-236)

7 years agobpo-26184: import.rst: Improve versionchanged note (GH-325)
Mariatta [Sun, 26 Feb 2017 21:23:38 +0000 (13:23 -0800)]
bpo-26184: import.rst: Improve versionchanged note (GH-325)

7 years agobpo-28624: Add a test that checks that cwd parameter of Popen() accepts PathLike...
Sayan Chowdhury [Sun, 26 Feb 2017 17:06:10 +0000 (22:36 +0530)]
bpo-28624: Add a test that checks that cwd parameter of Popen() accepts PathLike objects (#157)

7 years agobpo-26184: import.rst: Improve versionchanged note (GH-277)
Mariatta [Sun, 26 Feb 2017 15:36:57 +0000 (07:36 -0800)]
bpo-26184: import.rst: Improve versionchanged note (GH-277)

Mention that an ImportError is raised when exec_module() is defined, but
create_module() is not.

7 years agobpo-29121: Remove outdated documentation about transactions (#313)
Berker Peksag [Sun, 26 Feb 2017 15:31:12 +0000 (18:31 +0300)]
bpo-29121: Remove outdated documentation about transactions (#313)

Patch by Aviv Palivoda.

7 years agobpo-22594: Add a link to the regex module in re documentation (GH-241)
Marco Buttu [Sun, 26 Feb 2017 15:26:23 +0000 (16:26 +0100)]
bpo-22594: Add a link to the regex module in re documentation (GH-241)

7 years agobpo-28518: Start a transaction implicitly before a DML statement (#245)
Berker Peksag [Sun, 26 Feb 2017 15:22:38 +0000 (18:22 +0300)]
bpo-28518: Start a transaction implicitly before a DML statement (#245)

Patch by Aviv Palivoda.

7 years agobpo-29648: import.rst: Add reference to create_module() (GH-290)
Marco Buttu [Sun, 26 Feb 2017 15:14:45 +0000 (16:14 +0100)]
bpo-29648: import.rst: Add reference to create_module() (GH-290)

Add a reference to create_module(), in the first versionadded of section Loaders.

7 years agobpo-29110: add test for Aifc_write. (GH-293)
INADA Naoki [Sun, 26 Feb 2017 12:11:58 +0000 (21:11 +0900)]
bpo-29110: add test for Aifc_write. (GH-293)

follow up of GH-162

7 years agobpo-28961: Address my comments from earlier code review (#305)
Berker Peksag [Sun, 26 Feb 2017 12:04:11 +0000 (15:04 +0300)]
bpo-28961: Address my comments from earlier code review (#305)

7 years agobpo-29655: Fixed possible reference leaks in `import *`. (#301)
Matthias Bussonnier [Sun, 26 Feb 2017 05:58:05 +0000 (21:58 -0800)]
bpo-29655: Fixed possible reference leaks in `import *`. (#301)

Patch by Matthias Bussonnier.

7 years agoFix small typos in introduction and datastructures of tutorial (GH-272)
Jim Fasarakis-Hilliard [Sat, 25 Feb 2017 21:13:33 +0000 (23:13 +0200)]
Fix small typos in introduction and datastructures of tutorial (GH-272)

* Fix small typos in introduction and datastructures
* Use iterable instead of L in the doc for list.extend

7 years agoREADME.rst: Change the devguide url to docs.python.org/devguide (GH-295)
Mariatta [Sat, 25 Feb 2017 19:49:38 +0000 (11:49 -0800)]
README.rst: Change the devguide url to docs.python.org/devguide (GH-295)

7 years agoREADME.rst: List out relevant links to the project (#283)
Mariatta [Sat, 25 Feb 2017 16:59:26 +0000 (08:59 -0800)]
README.rst: List out relevant links to the project (#283)

7 years agobpo-26128: Added __init__to subprocess.STARTUPINFO (#171)
Subhendu Ghosh [Sat, 25 Feb 2017 14:59:05 +0000 (20:29 +0530)]
bpo-26128: Added __init__to subprocess.STARTUPINFO (#171)

The Windows-specific subprocess.STARTUPINFO class now accepts
keyword-only arguments to its constructor to set the various
data attributes.

Patch by Subhendu Ghosh.

7 years agobpo-16285: Update urllib quoting to RFC 3986 (#173)
Ratnadeep Debnath [Sat, 25 Feb 2017 09:00:28 +0000 (14:30 +0530)]
bpo-16285: Update urllib quoting to RFC 3986 (#173)

* bpo-16285: Update urllib quoting to RFC 3986

urllib.parse.quote is now based on RFC 3986, and hence
includes `'~'` in the set of characters that is not escaped
by default.

Patch by Christian Theune and Ratnadeep Debnath.

7 years agobpo-29644: suppress subprocess output from webbrowser (#289)
Nick Coghlan [Sat, 25 Feb 2017 08:40:07 +0000 (18:40 +1000)]
bpo-29644: suppress subprocess output from webbrowser (#289)

When checking for the default X web browser, xdg-settings
may emit messages on stderr if some components (such as
kreadconfig5) are unavailable. These messages aren't of
interest to Python, so we just ignore them.

7 years agobpo-24241: Add dedicated webbrowser.register test case (#288)
Nick Coghlan [Sat, 25 Feb 2017 08:14:07 +0000 (18:14 +1000)]
bpo-24241: Add dedicated webbrowser.register test case (#288)

7 years agobpo-24241: Improve preferred webbrowser handling (#85)
David Steele [Sat, 25 Feb 2017 04:47:38 +0000 (23:47 -0500)]
bpo-24241: Improve preferred webbrowser handling (#85)

- Add 'preferred' argument to webbrowser.register
- Use xdg-settings to specify preferred X browser

The first change replaces the existing undocumented tri-state
'try_order' parameter with the documented boolean keyword-only
'preferred' parameter. Setting it to True places the browser at the
front of the list, preferring it as the return to a subsequent get() call.

The second change adds a private `_os_preferred_browser` setting
and then uses that to make the default browser reported by
`xdg-settings` first in the try list when running under X (or
another environment that sets the `DISPLAY` variable).
This avoids the problem where the first entry in the tryorder
queue otherwise defaults to xdg-open, which doesn't support
the "new window" option.

7 years agobpo-28929: Add to Misc/NEWS (GH-112)
Mariatta [Sat, 25 Feb 2017 02:09:22 +0000 (18:09 -0800)]
bpo-28929: Add to Misc/NEWS (GH-112)

mention bpo-28929 in the Documentation section of
What's New in Python 3.7.0 alpha 1

7 years agoFix small typos in expressions.rst (GH-276)
Jim Fasarakis-Hilliard [Fri, 24 Feb 2017 20:32:54 +0000 (22:32 +0200)]
Fix small typos in expressions.rst (GH-276)

7 years agobpo-25008: Deprecate smtpd and point to aiosmtpd (#274)
Barry Warsaw [Fri, 24 Feb 2017 19:05:59 +0000 (14:05 -0500)]
bpo-25008: Deprecate smtpd and point to aiosmtpd (#274)

* bpo-25008: Deprecate smtpd and point to aiosmtpd.

* Simplify the aiosmtpd URL.

7 years agobpo-28556: Fix regression that sneaked into recent typing updates (GH-270)
Ivan Levkivskyi [Fri, 24 Feb 2017 17:28:26 +0000 (18:28 +0100)]
bpo-28556: Fix regression that sneaked into recent typing updates (GH-270)

7 years agobpo-27788 : synchronise platform.py version number (#246)
Matthias Bussonnier [Fri, 24 Feb 2017 10:47:34 +0000 (02:47 -0800)]
bpo-27788 : synchronise platform.py version number (#246)

Was bumped in the docstring by b9f4feab1b9c9ffa8ea29af3d82bc536f9f3005a
but not in `__version__`