Users of namedtuple: do you use the _source attribute?

Rick Johnson rantingrickjohnson at gmail.com
Wed Jul 19 22:09:26 EDT 2017


On Tuesday, July 18, 2017 at 12:59:36 AM UTC-5, Terry Reedy wrote:
> Yes, No.  The developers of the class agree that a trailing
> underscore convention would have been better.  'source_'
> etc.

Which, while encroaching on the "this-is-a-reserved-symbol_"
convention, would relieve the current "_stay-away-from-
volatile-me" fear mongering.



More information about the Python-list mailing list