Whining about "struct"

Tim Golden mail at timgolden.me.uk
Thu Oct 14 04:04:26 EDT 2010


On 14/10/2010 05:30, Tim Roberts wrote:
> I have a bad memory.  I admit it.  Because of that, the Python "help"
> system is invaluable to me.  Up through Python 2.5, I could get a quick
> reference to the format specifiers for the struct module via
>    import struct; help(struct)
>
> I used that a LOT.
>
> But in Python 2.6, the struct module moved from Python code to C code, and
> that helpful help string was removed.
>
> Is that still gone in Python 3.1?  What are the chances of reinstating that
> helpful chart?

It's back again in 2.7 & 3.1. (I haven't bothered to track the code through
subversion; I just tried all the versions I have :) )

TJG



More information about the Python-list mailing list