[issue32278] Allow dataclasses.make_dataclass() to omit type information

2018-01-06 Thread Eric V. Smith
Eric V. Smith added the comment: New changeset ed7d429ebb591f65cef558760fb4ebdc4fc8f8b0 by Eric V. Smith in branch 'master': bpo-32278: Allow dataclasses.make_dataclass() to omit type information. (gh-5115)

[issue32278] Allow dataclasses.make_dataclass() to omit type information

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

[issue32278] Allow dataclasses.make_dataclass() to omit type information

2018-01-06 Thread Eric V. Smith
Change by Eric V. Smith : -- pull_requests: +4981 ___ Python tracker ___ ___

[issue32278] Allow dataclasses.make_dataclass() to omit type information

2017-12-22 Thread Gregory P. Smith
Change by Gregory P. Smith : -- nosy: +gregory.p.smith ___ Python tracker ___ ___

[issue32278] Allow dataclasses.make_dataclass() to omit type information

2017-12-22 Thread Gregory P. Smith
Change by Gregory P. Smith : -- keywords: +patch pull_requests: +4871 stage: -> patch review ___ Python tracker ___

[issue32278] Allow dataclasses.make_dataclass() to omit type information

2017-12-18 Thread Eric V. Smith
Eric V. Smith added the comment: I'm going to use "typing.Any" (as a string) if the type information is omitted in the call to make_dataclass(). That way I don't need to import typing. -- ___ Python tracker

[issue32278] Allow dataclasses.make_dataclass() to omit type information

2017-12-11 Thread Eric V. Smith
New submission from Eric V. Smith : Make the typing information optional. >From Raymond Hettinger: The make_dataclass() factory function in the dataclasses module currently requires type declarations. It would be nice if the type declarations were optional. With typing