[Python-ideas] Ideas for improving the struct module

Guido van Rossum gvanrossum at gmail.com
Thu Jan 19 21:34:49 EST 2017


Nevertheless the C meaning *is* the etymology of the module name. :-)

--Guido (mobile)

On Jan 19, 2017 16:54, "Chris Angelico" <rosuav at gmail.com> wrote:

> On Fri, Jan 20, 2017 at 11:38 AM, Steven D'Aprano <steve at pearwood.info>
> wrote:
> > On Fri, Jan 20, 2017 at 05:16:28AM +1100, Chris Angelico wrote:
> >
> >> To be fair, the name "struct" implies a C-style structure, which
> >> _does_ have a fixed size, or at least fixed offsets for its members
> >
> >
> > Ah, the old "everyone thinks in C terms" fallacy raises its ugly head
> > agan :-)
> >
> > The name doesn't imply any such thing to me, or those who haven't been
> > raised on C. It implies the word "structure", which has no implication
> > of being fixed-width.
>
> Fair point. Objection retracted - and it was only minor anyway. This
> would be a handy feature to add. +1.
>
> ChrisA
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20170119/d4f0642e/attachment.html>


More information about the Python-ideas mailing list