What's the best way to minimize the need of run time checks?

Paul Rubin no.email at nospam.invalid
Sun Aug 14 02:09:34 EDT 2016


Steven D'Aprano <steve+python at pearwood.info> writes:
> If the Python community rallies around this "record" functionality and
> takes to it like they took too namedtuple

I like namedtuple and I think that it's a feature that they're modified
by making a new copy.  I know that has overhead but it's palpably
bug-avoidant.  I've used them extensively in some programs and they took
a considerable burden off my mind compared to using something like
structs or records.



More information about the Python-list mailing list