Issue36972
Created on 2019-05-20 16:09 by pcd1193182, last changed 2022-04-11 14:59 by admin. This issue is now closed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 13448 | merged | pcd1193182, 2019-05-20 17:06 | |
| Messages (2) | |||
|---|---|---|---|
| msg342925 - (view) | Author: Paul Dagnelie (pcd1193182) * | Date: 2019-05-20 16:09 | |
In order to allow hex() oct() and bin() to be used on user-defined classes, and to check if they can be used on a class at runtime, a SupportsIndex protocol would be useful to integrate. A PR already exists in the backport repo for this issue: https://github.com/python/typing/pull/630 |
|||
| msg343196 - (view) | Author: Ivan Levkivskyi (levkivskyi) * ![]() |
Date: 2019-05-22 14:23 | |
New changeset 4c7a46eb3c009c85ddf2eb315d94d804745187d4 by Ivan Levkivskyi (Paul Dagnelie) in branch 'master': bpo-36972: Add SupportsIndex (GH-13448) https://github.com/python/cpython/commit/4c7a46eb3c009c85ddf2eb315d94d804745187d4 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:59:15 | admin | set | github: 81153 |
| 2019-05-22 14:24:49 | levkivskyi | set | status: open -> closed resolution: fixed stage: patch review -> resolved |
| 2019-05-22 14:23:12 | levkivskyi | set | nosy:
+ levkivskyi messages: + msg343196 |
| 2019-05-20 17:06:20 | pcd1193182 | set | keywords:
+ patch stage: patch review pull_requests: + pull_request13358 |
| 2019-05-20 16:09:29 | pcd1193182 | create | |
