[issue32499] Add dataclasses.is_dataclass(obj)

2018-01-06 Thread Eric V. Smith
Change by Eric V. Smith : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue32499] Add dataclasses.is_dataclass(obj)

2018-01-06 Thread Eric V. Smith
Eric V. Smith added the comment: 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/e7ba013d8

[issue32499] Add dataclasses.is_dataclass(obj)

2018-01-06 Thread Eric V. Smith
Eric V. Smith added the comment: I've updated the PEP, too. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32499] Add dataclasses.is_dataclass(obj)

2018-01-06 Thread Eric V. Smith
Change by Eric V. Smith : -- keywords: +patch pull_requests: +4979 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-lis

[issue32499] Add dataclasses.is_dataclass(obj)

2018-01-05 Thread Eric V. Smith
New submission from Eric V. Smith : 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. -- assignee: eric.smith componen