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.
| Author | Anthony Sottile |
|---|---|
| Recipients | Anthony Sottile, serhiy.storchaka, vstinner, yselivanov |
| Date | 2020年06月24日.01:12:14 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1592961134.81.0.692518714354.issue41095@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
Looking into this, it appears to be due to the default value and not due to the newline I've stumbled upon two simplifications to the routines in inspect but not a fix for this 1. https://github.com/python/cpython/pull/21100 2. https://github.com/python/cpython/pull/21104 the following code is hit because `ast.literal_eval(...)` fails for the `|`d expression: https://github.com/python/cpython/blob/2f9ada96e0d420fed0d09a032b37197f08ef167a/Lib/inspect.py#L2069-L2070 this causes the parameter to be skipped entirely |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2020年06月24日 01:12:14 | Anthony Sottile | set | recipients: + Anthony Sottile, vstinner, serhiy.storchaka, yselivanov |
| 2020年06月24日 01:12:14 | Anthony Sottile | set | messageid: <1592961134.81.0.692518714354.issue41095@roundup.psfhosted.org> |
| 2020年06月24日 01:12:14 | Anthony Sottile | link | issue41095 messages |
| 2020年06月24日 01:12:14 | Anthony Sottile | create | |