Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue32499

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:Add dataclasses.is_dataclass(obj)
Type:enhancementStage:resolved
Components:Library (Lib)Versions:Python 3.7
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To: eric.smithNosy List: eric.smith
Priority:normalKeywords:patch

Created on2018-01-05 20:50 byeric.smith, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.

Pull Requests
URLStatusLinkedEdit
PR 5113mergederic.smith,2018-01-06 15:57
Messages (3)
msg309523 -(view)Author: Eric V. Smith (eric.smith)*(Python committer)Date: 2018-01-05 20:50
Seehttps://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)*(Python committer)Date: 2018-01-06 16:11
I've updated the PEP, too.
msg309561 -(view)Author: Eric V. Smith (eric.smith)*(Python committer)Date: 2018-01-06 17:41
New changesete7ba013d870012157f695ead7e3645c2828a7fc5 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
DateUserActionArgs
2022-04-11 14:58:56adminsetgithub: 76680
2018-01-06 17:44:16eric.smithsetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2018-01-06 17:41:55eric.smithsetmessages: +msg309561
2018-01-06 16:11:04eric.smithsetmessages: +msg309553
2018-01-06 15:57:01eric.smithsetkeywords: +patch
stage: patch review
pull_requests: +pull_request4979
2018-01-05 20:50:22eric.smithcreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp