Antoine Pitrou <pitrou at free.fr> added the comment: In your patch, I'm not sure where the `name` variable is coming from. Have you checked it works? _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue5084> _______________________________________