
Oct. 19, 2011
2:43 p.m.
On Wed, 2011-10-19 at 15:49 +0200, Antoine Pitrou wrote:
This is also the decision taken in the standard pickle module: if you unpickle a 2.x pickle containing str objects, you get 3.x str objects (not bytes).
That decision is wrong. It's corrupting users' data, though arguably it's your own fault if you actually rely on pickle.