R. David Murray added the comment: It looks like your 'name' variable holds an integer, not a string giving a header name.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28881> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com