[issue14336] Difference between pickle implementations for function objects

2021-12-10 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> wont fix stage: -> resolved status: pending -> closed ___ Python tracker ___ ___

[issue14336] Difference between pickle implementations for function objects

2017-02-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In 3.x the fallback was removed by 6bd1f0a27e8e. If this is 2.7 only issue I prefer to close it as "won't fix". See also issue26959. -- nosy: +serhiy.storchaka status: open -> pending ___ Python tracker

[issue14336] Difference between pickle implementations for function objects

2014-07-03 Thread Mark Lawrence
Mark Lawrence added the comment: I couldn't find the code referenced in the changeset in the new _pickle.c. However I did find the comment that I've pasted below so I believe this issue only applies to 2.7. /* The old cPickle had an optimization that used switch-case statement dispatching

[issue14336] Difference between pickle implementations for function objects

2012-03-16 Thread sbt
New submission from sbt shibt...@gmail.com: When pickling a function object, if it cannot be saved as a global the C implementation falls back to using copyreg/__reduce__/__reduce_ex__. The comment for the changeset which added this fallback claims that it is for compatibility with the Python

[issue14336] Difference between pickle implementations for function objects

2012-03-16 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +alexandre.vassalotti, pitrou versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14336 ___