New submission from Io Mintz <benjabe...@gmail.com>:
The dataclasses._hash_action table is currently a bit hard to read. It could be generated once from the if-else tree written in https://bugs.python.org/issue32929#msg312829 instead, which would both be easier to read and easier to maintain, while still maintaining the efficiency of the current dictionary. ---------- components: Library (Lib) messages: 353887 nosy: iomintz priority: normal pull_requests: 16163 severity: normal status: open title: dataclasses: generate the _hash_action table from the if-else tree type: enhancement versions: Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38366> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com