This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: inspect.isawaitable(native_coro) returns int
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 3.7, Python 3.6, Python 3.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: yselivanov Nosy List: Justin Mayfield, python-dev, yselivanov
Priority: normal Keywords:

Created on 2016-11-08 05:20 by Justin Mayfield, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (4)
msg280280 - (view) Author: Justin Mayfield (Justin Mayfield) * Date: 2016-11-08 05:20
Patch available on my github fork..

https://github.com/mayfield/cpython/commit/8d50cc61f42fa280d380e9c10c420c949a619bef
msg280281 - (view) Author: Yury Selivanov (yselivanov) * (Python committer) Date: 2016-11-08 05:22
Thank you!  Will merge it tomorrow.
msg280367 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2016-11-09 01:00
New changeset bb6ad816a43c by Yury Selivanov in branch '3.5':
Issue #28639: Fix inspect.isawaitable to always return bool
https://hg.python.org/cpython/rev/bb6ad816a43c

New changeset 6540adb8722a by Yury Selivanov in branch '3.6':
Merge 3.5 (issue #28639)
https://hg.python.org/cpython/rev/6540adb8722a

New changeset 8e3d359cc73b by Yury Selivanov in branch 'default':
Merge 3.6 (issue #28639)
https://hg.python.org/cpython/rev/8e3d359cc73b
msg280368 - (view) Author: Yury Selivanov (yselivanov) * (Python committer) Date: 2016-11-09 01:00
Merged! Thank you, Justin.
History
Date User Action Args
2022-04-11 14:58:39adminsetgithub: 72825
2016-11-09 01:00:43yselivanovsetstatus: open -> closed
versions: + Python 3.5
messages: + msg280368

resolution: fixed
stage: resolved
2016-11-09 01:00:14python-devsetnosy: + python-dev
messages: + msg280367
2016-11-08 05:22:20yselivanovsetversions: - Python 3.5
nosy: - gvanrossum

messages: + msg280281

assignee: yselivanov
components: + Library (Lib), - asyncio
2016-11-08 05:20:16Justin Mayfieldcreate