[issue26695] pickle and _pickle accelerator have different behavior when unpickling an object with falsy __getstate__ return

2021-12-05 Thread Irit Katriel
Irit Katriel added the comment: See also issue12290. -- nosy: +iritkatriel type: -> behavior versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3.6 ___ Python tracker

[issue26695] pickle and _pickle accelerator have different behavior when unpickling an object with falsy __getstate__ return

2016-04-05 Thread Josh Rosenberg
New submission from Josh Rosenberg: According to a note on the pickle docs ( https://docs.python.org/3/library/pickle.html#object.__getstate__ ): "If __getstate__() returns a false value, the __setstate__() method will not be called upon unpickling." The phrasing is a little odd (since accord

[issue26695] pickle and _pickle accelerator have different behavior when unpickling an object with falsy __getstate__ return

2019-07-22 Thread Zackery Spytz
Zackery Spytz added the comment: Josh, would you consider creating a pull request for this issue? -- nosy: +ZackerySpytz ___ Python tracker ___ ___