Issue32499
Created on 2018-01-05 20:50 by eric.smith, last changed 2022-04-11 14:58 by admin. This issue is now closed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 5113 | merged | eric.smith, 2018-01-06 15:57 | |
| Messages (3) | |||
|---|---|---|---|
| msg309523 - (view) | Author: Eric V. Smith (eric.smith) * | Date: 2018-01-05 20:50 | |
See https://mail.python.org/pipermail/python-dev/2018-January/151628.html and prior for the discussion. Add dataclasses.is_dataclass(obj) that returns True if obj is a dataclass class or instance, else returns False. |
|||
| msg309553 - (view) | Author: Eric V. Smith (eric.smith) * | Date: 2018-01-06 16:11 | |
I've updated the PEP, too. |
|||
| msg309561 - (view) | Author: Eric V. Smith (eric.smith) * | Date: 2018-01-06 17:41 | |
New changeset e7ba013d870012157f695ead7e3645c2828a7fc5 by Eric V. Smith in branch 'master': bpo-32499: Add dataclasses.is_dataclass(obj), which returns True if obj is a dataclass or an instance of one. (#5113) https://github.com/python/cpython/commit/e7ba013d870012157f695ead7e3645c2828a7fc5 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:58:56 | admin | set | github: 76680 |
| 2018-01-06 17:44:16 | eric.smith | set | status: open -> closed resolution: fixed stage: patch review -> resolved |
| 2018-01-06 17:41:55 | eric.smith | set | messages: + msg309561 |
| 2018-01-06 16:11:04 | eric.smith | set | messages: + msg309553 |
| 2018-01-06 15:57:01 | eric.smith | set | keywords:
+ patch stage: patch review pull_requests: + pull_request4979 |
| 2018-01-05 20:50:22 | eric.smith | create | |