[issue33569] dataclasses InitVar does not maintain any type info

2019-06-02 Thread Eric V. Smith
Eric V. Smith added the comment: Thanks for the PR! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> behavior ___ Python tracker ___

[issue33569] dataclasses InitVar does not maintain any type info

2019-06-02 Thread Eric V. Smith
Eric V. Smith added the comment: New changeset 01ee12ba35a333e8a6a25c4153c4a21838e9585c by Eric V. Smith (Augusto Hack) in branch 'master': bpo-33569 Preserve type information with dataclasses.InitVar (GH-8927) https://github.com/python/cpython/commit/01ee12ba35a333e8a6a25c4153c4a21838e9585c

[issue33569] dataclasses InitVar does not maintain any type info

2018-08-25 Thread Augusto Hack
Change by Augusto Hack : -- keywords: +patch pull_requests: +8399 stage: -> patch review ___ Python tracker ___ ___

[issue33569] dataclasses InitVar does not maintain any type info

2018-08-24 Thread Eric V. Smith
Eric V. Smith added the comment: test message, please ignore -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue33569] dataclasses InitVar does not maintain any type info

2018-08-24 Thread Eric V. Smith
Eric V. Smith added the comment: Can you create a pull request? It's easier to review that way. -- ___ Python tracker ___ ___

[issue33569] dataclasses InitVar does not maintain any type info

2018-08-20 Thread Augusto Hack
Augusto Hack added the comment: I have made some changes to expose the InitVar type, they are available here: https://github.com/hackaugusto/dataclasses/tree/initvar_type Are these changes sufficient? -- nosy: +hack.augusto ___ Python tracker

[issue33569] dataclasses InitVar does not maintain any type info

2018-06-23 Thread Eric V. Smith
Change by Eric V. Smith : -- assignee: -> eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33569] dataclasses InitVar does not maintain any type info

2018-05-23 Thread Ivan Levkivskyi
Change by Ivan Levkivskyi : -- nosy: +levkivskyi ___ Python tracker ___ ___

[issue33569] dataclasses InitVar does not maintain any type info

2018-05-22 Thread Eric V. Smith
Eric V. Smith added the comment: This seems like a reasonable request. -- nosy: +eric.smith ___ Python tracker ___

[issue33569] dataclasses InitVar does not maintain any type info

2018-05-18 Thread reinhrst
New submission from reinhrst : Right now dataclasses.InitVar[something] is dataclasses.InitVar. This means that any type-information is removed, and it will (for instance) be impossible to do (runtime) type info checks on the generated __init__, or find out anything