This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients berker.peksag, gvx, rhettinger, serhiy.storchaka
Date 2017-10-02.16:57:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1506963445.28.0.213398074469.issue31325@psf.upfronthosting.co.za>
In-reply-to
Content
> What is a reason of making req_rate a named tuple?

I don't know the original reason but it seems like a normal use of named tuples to make the data more self-describing to help with debugging and also to support field access by name, rr.requests or rr.seconds is clearer than rr[0] or rr[1].
History
Date User Action Args
2017-10-02 16:57:25rhettingersetrecipients: + rhettinger, berker.peksag, serhiy.storchaka, gvx
2017-10-02 16:57:25rhettingersetmessageid: <1506963445.28.0.213398074469.issue31325@psf.upfronthosting.co.za>
2017-10-02 16:57:25rhettingerlinkissue31325 messages
2017-10-02 16:57:25rhettingercreate