[issue5084] unpickling does not intern attribute names

Antoine Pitrou report at bugs.python.org
Sun Feb 1 21:53:39 CET 2009

Antoine Pitrou <pitrou at free.fr> added the comment:

Why do you call PyString_AsString() followed by PyString_FromString()?
Strings are immutable so you shouldn't neek to take a copy.

Besides, it would be nice to add a test.

nosy: +pitrou

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list