]> granicus.if.org Git - python/log
python
7 years agobpo-15695: Add PyAPI_FUNC() to _PyDict_SizeOf() declaration. (#639)
Serhiy Storchaka [Sun, 12 Mar 2017 12:15:54 +0000 (14:15 +0200)]
bpo-15695: Add PyAPI_FUNC() to _PyDict_SizeOf() declaration. (#639)

7 years agobpo-26121: Revert to using the own implementations of lgamma and gamma on all platfor...
Serhiy Storchaka [Sun, 12 Mar 2017 12:08:06 +0000 (14:08 +0200)]
bpo-26121: Revert to using the own implementations of lgamma and gamma on all platforms. (#637)

7 years agobpo-8256: Fixed possible failing or crashing input() (#517)
Serhiy Storchaka [Sun, 12 Mar 2017 11:50:36 +0000 (13:50 +0200)]
bpo-8256: Fixed possible failing or crashing input() (#517)

if attributes "encoding" or "errors" of sys.stdin or sys.stdout
are not set or are not strings.

7 years agobpo-26121: Use C library implementation for math functions erf() and erfc() on Window...
Serhiy Storchaka [Sun, 12 Mar 2017 11:39:22 +0000 (13:39 +0200)]
bpo-26121: Use C library implementation for math functions erf() and erfc() on Windows. (#632)

7 years agobpo-29723: Add missing NEWS entry (#638)
Nick Coghlan [Sun, 12 Mar 2017 11:34:32 +0000 (21:34 +1000)]
bpo-29723: Add missing NEWS entry (#638)

7 years agobpo-28692: Deprecate using non-integer value for selecting a plural form in gettext...
Serhiy Storchaka [Sun, 12 Mar 2017 11:15:01 +0000 (13:15 +0200)]
bpo-28692: Deprecate using non-integer value for selecting a plural form in gettext. (#507)

7 years agobpo-20185: Convert the resource moduel to Argument Clinic. (#545)
Serhiy Storchaka [Sun, 12 Mar 2017 11:08:30 +0000 (13:08 +0200)]
bpo-20185: Convert the resource moduel to Argument Clinic. (#545)

Based on patch by Vajrasky Kok.

7 years agobpo-29723: Consistently configure sys.path[0] (#575)
Nick Coghlan [Sun, 12 Mar 2017 10:38:32 +0000 (20:38 +1000)]
bpo-29723: Consistently configure sys.path[0] (#575)

Directory and zipfile execution previously added
the parent directory of the directory or zipfile
as sys.path[0] and then subsequently overwrote
it with the directory or zipfile itself.

This caused problems in isolated mode, as it
overwrote the "stdlib as a zip archive" entry
in sys.path, as the parent directory was
never added.

The attempted fix to that issue in bpo-29319
created the opposite problem in *non*-isolated
mode, by potentially leaving the parent
directory on sys.path instead of overwriting it.

This change fixes the root cause of the problem
by removing the whole "add-and-overwrite" dance
for sys.path[0], and instead simply never adds
the parent directory to sys.path in the first
place.

7 years agobpo-29798: Handle git worktree in `make patchcheck` (#629)
Nick Coghlan [Sun, 12 Mar 2017 09:37:09 +0000 (19:37 +1000)]
bpo-29798: Handle git worktree in `make patchcheck` (#629)

In git worktree directories, `.git` is a configuration
file rather than a subdirectory

7 years agobpo-15695: Implemented StgDict.__sizeof__(). (#509)
Serhiy Storchaka [Sun, 12 Mar 2017 09:12:30 +0000 (11:12 +0200)]
bpo-15695: Implemented StgDict.__sizeof__(). (#509)

7 years agobpo-24037: Add Argument Clinic converter `bool(accept={int})`. (#485)
Serhiy Storchaka [Sun, 12 Mar 2017 08:10:47 +0000 (10:10 +0200)]
bpo-24037: Add Argument Clinic converter `bool(accept={int})`. (#485)

7 years agobpo-20185: Convert the marshal module to Argument Clinic. (#541)
Serhiy Storchaka [Sun, 12 Mar 2017 07:20:15 +0000 (09:20 +0200)]
bpo-20185: Convert the marshal module to Argument Clinic. (#541)

Based on patch by Vajrasky Kok.

7 years agobpo-29746: Update marshal docs to Python 3. (#547)
Serhiy Storchaka [Sun, 12 Mar 2017 06:53:22 +0000 (08:53 +0200)]
bpo-29746: Update marshal docs to Python 3. (#547)

7 years agobpo-29763: Use support.unlink instead of os.unlink (GH-624)
Zachary Ware [Sun, 12 Mar 2017 04:10:07 +0000 (22:10 -0600)]
bpo-29763: Use support.unlink instead of os.unlink (GH-624)

support.unlink waits for the files to be removed before returning

7 years agobpo-29656: Handle PR branches in 'make patchcheck' (#302)
Nick Coghlan [Sun, 12 Mar 2017 03:19:08 +0000 (13:19 +1000)]
bpo-29656: Handle PR branches in 'make patchcheck' (#302)

7 years agobpo-26121: Use C library implementation for math functions: (#515)
Serhiy Storchaka [Sat, 11 Mar 2017 21:37:16 +0000 (23:37 +0200)]
bpo-26121: Use C library implementation for math functions: (#515)

* bpo-26121: Use C library implementation for math functions:
tgamma(), lgamma(), erf() and erfc().

* Don't use tgamma() and lgamma() from libc on OS X.

7 years agoOnly trigger AppVeyor on code or config changes (GH-611)
Zachary Ware [Sat, 11 Mar 2017 20:55:35 +0000 (14:55 -0600)]
Only trigger AppVeyor on code or config changes (GH-611)

7 years agotempfile.rst: Fix some typos (GH-610)
Jelle Zijlstra [Sat, 11 Mar 2017 17:34:55 +0000 (09:34 -0800)]
tempfile.rst: Fix some typos (GH-610)

7 years agobpo-20185: Convert float object implementation to Argument Clinic. (#543)
Serhiy Storchaka [Sat, 11 Mar 2017 07:21:05 +0000 (09:21 +0200)]
bpo-20185: Convert float object implementation to Argument Clinic. (#543)

Based on patch by Vajrasky Kok.

7 years agobpo-20185: Convert list object implementation to Argument Clinic. (#542)
Serhiy Storchaka [Sat, 11 Mar 2017 07:19:20 +0000 (09:19 +0200)]
bpo-20185: Convert list object implementation to Argument Clinic. (#542)

7 years agobpo-29770: remove outdated PYO related info (GH-590)
Xiang Zhang [Sat, 11 Mar 2017 05:02:52 +0000 (13:02 +0800)]
bpo-29770: remove outdated PYO related info (GH-590)

7 years agobpo-29784: Fix the reference to shutil.copy in the docs (GH-602)
Mariatta [Sat, 11 Mar 2017 02:17:21 +0000 (18:17 -0800)]
bpo-29784: Fix the reference to shutil.copy in the docs (GH-602)

7 years agobpo-28810: Document changes to CALL_FUNCTION opcodes (GH-250)
Ivan Levkivskyi [Fri, 10 Mar 2017 22:52:35 +0000 (23:52 +0100)]
bpo-28810: Document changes to CALL_FUNCTION opcodes (GH-250)

7 years agobpo-29741: Clean up C implementations of BytesIO and StringIO. (#606)
orenmn [Fri, 10 Mar 2017 22:52:01 +0000 (00:52 +0200)]
bpo-29741: Clean up C implementations of BytesIO and StringIO. (#606)

Some BytesIO methods now accept not just int subclasses but other int-like types.

7 years agobpo-28810: Document BUILD_TUPLE_UNPACK_WITH_CALL bytecode added in 3.6 (GH-239)
Ivan Levkivskyi [Fri, 10 Mar 2017 22:16:44 +0000 (23:16 +0100)]
bpo-28810: Document BUILD_TUPLE_UNPACK_WITH_CALL bytecode added in 3.6 (GH-239)

7 years agobpo-28739: Document that f-strings cannot be used as docstring (GH-592)
Mariatta [Fri, 10 Mar 2017 16:58:40 +0000 (08:58 -0800)]
bpo-28739: Document that f-strings cannot be used as docstring (GH-592)

7 years agoIgnore Include/pydtrace_probes.h (#597)
Łukasz Langa [Fri, 10 Mar 2017 13:29:43 +0000 (05:29 -0800)]
Ignore Include/pydtrace_probes.h (#597)

This is a generated file when --with-dtrace is passed. This entry is
present in .hgignore.

7 years agobpo-29773: Add more cases for testing string to float conversion errors. (#580)
Serhiy Storchaka [Thu, 9 Mar 2017 18:07:58 +0000 (20:07 +0200)]
bpo-29773: Add more cases for testing string to float conversion errors. (#580)

7 years agobpo-29619: Convert st_ino using unsigned integer (#557)
Victor Stinner [Thu, 9 Mar 2017 16:34:28 +0000 (17:34 +0100)]
bpo-29619: Convert st_ino using unsigned integer (#557)

bpo-29619: os.stat() and os.DirEntry.inodeo() now convert inode
(st_ino) using unsigned integers.

7 years agobpo-29774: Improve error reporting for corrupted extra field in ZIP file. (#583)
Serhiy Storchaka [Thu, 9 Mar 2017 16:34:03 +0000 (18:34 +0200)]
bpo-29774: Improve error reporting for corrupted extra field in ZIP file. (#583)

7 years agobpo-28298: make array 'Q', 'L' and 'I' accept big intables as elements (#570)
orenmn [Thu, 9 Mar 2017 09:35:28 +0000 (11:35 +0200)]
bpo-28298: make array 'Q', 'L' and 'I' accept big intables as elements (#570)

7 years agobpo-29768: Fixed compile-time check for expat version. (#574)
Serhiy Storchaka [Thu, 9 Mar 2017 07:47:52 +0000 (09:47 +0200)]
bpo-29768: Fixed compile-time check for expat version. (#574)

7 years agobpo-29749: Update int() docstring (GH-565)
svelankar [Thu, 9 Mar 2017 00:29:01 +0000 (19:29 -0500)]
bpo-29749: Update int() docstring (GH-565)

The docstring did not properly represent the fact that the argument to int() was positional-only.

7 years agoUse Py_RETURN_FALSE/Py_RETURN_TRUE rather than PyBool_FromLong(0)/PyBool_FromLong...
Serhiy Storchaka [Wed, 8 Mar 2017 18:47:48 +0000 (20:47 +0200)]
Use Py_RETURN_FALSE/Py_RETURN_TRUE rather than PyBool_FromLong(0)/PyBool_FromLong(1). (#567)

7 years agoFix the only non-C90 comment to be C90 compatible. (#566)
n.d. parker [Wed, 8 Mar 2017 18:24:22 +0000 (19:24 +0100)]
Fix the only non-C90 comment to be C90 compatible. (#566)

7 years agoExit Travis when only Misc/* is changed. (#564)
Serhiy Storchaka [Wed, 8 Mar 2017 18:22:16 +0000 (20:22 +0200)]
Exit Travis when only Misc/* is changed. (#564)

No need to wait passing tests after resolving Misc/NEWS conflicts.

7 years agobpo-29645: Speed up importing the webbrowser module. (#484)
Serhiy Storchaka [Wed, 8 Mar 2017 15:15:54 +0000 (17:15 +0200)]
bpo-29645: Speed up importing the webbrowser module. (#484)

7 years agobpo-28231: The zipfile module now accepts path-like objects for external paths. ...
Serhiy Storchaka [Wed, 8 Mar 2017 12:37:51 +0000 (14:37 +0200)]
bpo-28231: The zipfile module now accepts path-like objects for external paths. (#511)

7 years agobpo-28331: fix impl-detail label is removed when content is translated. (GH-195)
INADA Naoki [Wed, 8 Mar 2017 10:07:13 +0000 (19:07 +0900)]
bpo-28331: fix impl-detail label is removed when content is translated. (GH-195)

7 years agobpo-28230: Document the pathlib support in tarfile and add tests. (#512)
Serhiy Storchaka [Wed, 8 Mar 2017 08:32:44 +0000 (10:32 +0200)]
bpo-28230: Document the pathlib support in tarfile and add tests. (#512)

7 years agoRevert "bpo-29571: Use correct locale encoding in test_re (#149)" (#554)
Benjamin Peterson [Wed, 8 Mar 2017 06:48:09 +0000 (22:48 -0800)]
Revert "bpo-29571: Use correct locale encoding in test_re (#149)" (#554)

This reverts commit ace5c0fdd9b962e6e886c29dbcea72c53f051dc4.

7 years agoallow the first call to wcsxfrm to return ERANGE (#536)
Benjamin Peterson [Wed, 8 Mar 2017 06:24:44 +0000 (22:24 -0800)]
allow the first call to wcsxfrm to return ERANGE (#536)

If the output buffer provided to wcsxfrm is too small, errno is set to ERANGE. We should not error out in that case.

7 years agomake the glibc alias table take precedence over the X11 one (#422)
Benjamin Peterson [Wed, 8 Mar 2017 06:03:13 +0000 (22:03 -0800)]
make the glibc alias table take precedence over the X11 one (#422)

bpo-20087

7 years agobpo-29568: Disable any characters between two percents for escaped percent "%%" ...
Serhiy Storchaka [Wed, 8 Mar 2017 03:51:19 +0000 (05:51 +0200)]
bpo-29568: Disable any characters between two percents for escaped percent "%%"  in the format string for classic string formatting. (GH-513)

7 years agobpo-24329: allow __qualname__ and __classcell__ in __slots__ (GH-495)
Xiang Zhang [Wed, 8 Mar 2017 03:18:49 +0000 (11:18 +0800)]
bpo-24329: allow __qualname__ and __classcell__ in __slots__ (GH-495)

7 years agobpo-26915: Test identity first in membership operation in index() and count() methods...
Xiang Zhang [Wed, 8 Mar 2017 03:04:24 +0000 (11:04 +0800)]
bpo-26915: Test identity first in membership operation in index() and count() methods of collections.abc.Sequence (GH-503)

7 years agobpo-28682: Added support for bytes paths in os.fwalk(). (#489)
Serhiy Storchaka [Tue, 7 Mar 2017 12:33:21 +0000 (14:33 +0200)]
bpo-28682: Added support for bytes paths in os.fwalk(). (#489)

7 years agoPCbuild: Add -q option to svn export (GH-535)
INADA Naoki [Tue, 7 Mar 2017 06:34:38 +0000 (15:34 +0900)]
PCbuild: Add -q option to svn export (GH-535)

Without this option, AppVeyor log is too unreadable.

7 years agobpo-29676: fix lsprof can't profile C method call. (GH523)
INADA Naoki [Tue, 7 Mar 2017 05:24:37 +0000 (14:24 +0900)]
bpo-29676: fix lsprof can't profile C method call. (GH523)

When LOAD_METHOD is used for calling C mehtod, PyMethodDescrObject
was passed to profilefunc from 5566bbb.
But lsprof traces only PyCFunctionObject. Additionally, there can be
some third party extension which assumes passed arg is
PyCFunctionObject without calling PyCFunction_Check().

So make PyCFunctionObject from PyMethodDescrObject when
tstate->c_profilefunc is set.

7 years agobpo-28728: clarify possible test failure due to ISP (GH-412)
Xiang Zhang [Tue, 7 Mar 2017 03:06:09 +0000 (11:06 +0800)]
bpo-28728: clarify possible test failure due to ISP (GH-412)

7 years agoExclude myself from mention-bot (#529)
Victor Stinner [Tue, 7 Mar 2017 01:51:47 +0000 (02:51 +0100)]
Exclude myself from mention-bot (#529)

I made changes in almost all CPython files last 5 years, so
mention-bot asks me to review basically all pull requests. I simply
don't have the bandwidth to review everything, sorry! I prefer to
select myself which PR I want to follow.

7 years agobpo-29737: Optimize concatenating with empty tuple. (#524)
Serhiy Storchaka [Mon, 6 Mar 2017 21:39:35 +0000 (23:39 +0200)]
bpo-29737: Optimize concatenating with empty tuple. (#524)

7 years agobpo-15954: Check return code of wcsxfrm(). (#508)
Serhiy Storchaka [Mon, 6 Mar 2017 19:21:41 +0000 (21:21 +0200)]
bpo-15954: Check return code of wcsxfrm(). (#508)

7 years agobpo-29695: Fixed tests after removing keyword args support in some basic type constru...
Serhiy Storchaka [Mon, 6 Mar 2017 19:08:59 +0000 (21:08 +0200)]
bpo-29695: Fixed tests after removing keyword args support in some basic type constructors. (GH-520)

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)