[issue1530559] struct.pack raises TypeError where it used to convert

Mark Dickinson report at bugs.python.org
Sat Apr 3 13:52:53 CEST 2010

Mark Dickinson <dickinsm at gmail.com> added the comment:

I've opened issue 8300 for adding the __index__ handling.

superseder:  -> Allow struct.pack to handle objects with an __index__ method.

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list