
This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
Created on2015-07-19 13:04 bygroner, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| inspect-getsource-asyncdef.patch | groner,2015-07-19 13:10 | Fix with tests | review | |
| Messages (3) | |||
|---|---|---|---|
| msg246940 -(view) | Author: Kai Groner (groner)* | Date: 2015-07-19 13:10 | |
inspect.findsource() looks for lines that start with `def`. This patch adds a clause to the regex so lines starting with `async def` will also be recognized. | |||
| msg247042 -(view) | Author: Roundup Robot (python-dev)![]() | Date: 2015-07-21 16:04 | |
New changesetf02c5bf59fbb by Yury Selivanov in branch '3.5':Issue#24669: Fix inspect.getsource() for 'async def' functions.https://hg.python.org/cpython/rev/f02c5bf59fbbNew changeset6629773fef63 by Yury Selivanov in branch 'default':Merge 3.5 (Issue#24669)https://hg.python.org/cpython/rev/6629773fef63 | |||
| msg247043 -(view) | Author: Yury Selivanov (yselivanov)*![]() | Date: 2015-07-21 16:05 | |
Thanks, Kai! | |||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:58:19 | admin | set | github: 68857 |
| 2015-07-21 16:05:16 | yselivanov | set | status: open -> closed versions: + Python 3.6 messages: +msg247043 resolution: fixed stage: patch review -> resolved |
| 2015-07-21 16:04:58 | python-dev | set | nosy: +python-dev messages: +msg247042 |
| 2015-07-19 21:51:21 | berker.peksag | set | nosy: +yselivanov stage: patch review |
| 2015-07-19 13:10:13 | groner | set | files: +inspect-getsource-asyncdef.patch keywords: +patch messages: +msg246940 |
| 2015-07-19 13:04:29 | groner | create | |