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 andymaier
Recipients andymaier, pitrou, serhiy.storchaka
Date 2020-09-07.19:20:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Thanks for the clarification.

Just for the record:

I have implemented __setstate__() such that it completely restores the state from just the inherited list state. That makes it independent of whether __init__() or __new__() is called:

    def __getstate__(self):
        state = self.__dict__.copy()
        del state['_lc_list']
        return state

    def __setstate__(self, state):
        self._lc_list = _lc_list(self)

This issue can be closed.
Date User Action Args
2020-09-07 19:20:50andymaiersetrecipients: + andymaier, pitrou, serhiy.storchaka
2020-09-07 19:20:50andymaiersetmessageid: <>
2020-09-07 19:20:50andymaierlinkissue41639 messages
2020-09-07 19:20:50andymaiercreate