[issue33796] dataclasses.replace broken if a class has any ClassVars

2018-06-07 Thread Eric V. Smith
Eric V. Smith added the comment: Thanks, Ned. I've backported it. -- components: +Library (Lib) priority: release blocker -> normal resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> behavior ___ Python tracker <

[issue33796] dataclasses.replace broken if a class has any ClassVars

2018-06-07 Thread miss-islington
miss-islington added the comment: New changeset 0aee3bea197af51de3a30e4665eaa2971a681fbb by Miss Islington (bot) in branch '3.7': bpo-33796: Ignore ClassVar for dataclasses.replace(). (GH-7488) https://github.com/python/cpython/commit/0aee3bea197af51de3a30e4665eaa2971a681fbb -- nosy

[issue33796] dataclasses.replace broken if a class has any ClassVars

2018-06-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +7118 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33796] dataclasses.replace broken if a class has any ClassVars

2018-06-07 Thread Ned Deily
Ned Deily added the comment: Let's fix it now. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33796] dataclasses.replace broken if a class has any ClassVars

2018-06-07 Thread Eric V. Smith
Eric V. Smith added the comment: New changeset e7adf2ba41832404100313f9ac9d9f7fabedc1fd by Eric V. Smith in branch 'master': bpo-33796: Ignore ClassVar for dataclasses.replace(). (GH-7488) https://github.com/python/cpython/commit/e7adf2ba41832404100313f9ac9d9f7fabedc1fd --

[issue33796] dataclasses.replace broken if a class has any ClassVars

2018-06-07 Thread Eric V. Smith
Change by Eric V. Smith : -- keywords: +patch pull_requests: +7113 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue33796] dataclasses.replace broken if a class has any ClassVars

2018-06-07 Thread Eric V. Smith
Eric V. Smith added the comment: Ned: How do you feel about backporting this to 3.7? It's an unfortunate bug, but it's your call for 3.7.0 vs. 3.7.1. -- ___ Python tracker __

[issue33796] dataclasses.replace broken if a class has any ClassVars

2018-06-07 Thread Eric V. Smith
Change by Eric V. Smith : -- title: dataclasses.replace broken with class variables -> dataclasses.replace broken if a class has any ClassVars versions: +Python 3.8 ___ Python tracker ___