This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author remi.lapeyre
Recipients Antony.Lee, eric.smith, levkivskyi, remi.lapeyre
Date 2018-12-30.20:36:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1546202184.47.0.050125981464.issue35232@roundup.psfhosted.org>
In-reply-to
Content
Hi @Anthony.Lee, the __module__ is wrong indeed. The new changeset in https://github.com/python/cpython/pull/11371 should implement what you need.

If you don't specify the new `module` and `qualname` parameters, make_dataclass() will try to determine the correct `module` so you should not need to change your code.
History
Date User Action Args
2018-12-30 20:36:25remi.lapeyresetrecipients: + remi.lapeyre, eric.smith, Antony.Lee, levkivskyi
2018-12-30 20:36:24remi.lapeyresetmessageid: <1546202184.47.0.050125981464.issue35232@roundup.psfhosted.org>
2018-12-30 20:36:24remi.lapeyrelinkissue35232 messages
2018-12-30 20:36:24remi.lapeyrecreate