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 r.david.murray
Recipients docs@python, eric.araujo, georg.brandl, ifreecarve, r.david.murray, rhettinger, sbt
Date 2017-07-11.18:36:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1499798202.69.0.46060735981.issue10438@psf.upfronthosting.co.za>
In-reply-to
Content
I'm not sure there's a "best practice" choice between the two calling forms that are documented.  Although obviously when you don't have an instance you can't use the instance calling form.  I think it is *common* practice to use the instance form when you can, but I'm not sure it is either superior or inferior to using the class form.  It partly depends on how you have structured your code and why you are using static methods in the first place.
History
Date User Action Args
2017-07-11 18:36:42r.david.murraysetrecipients: + r.david.murray, georg.brandl, rhettinger, eric.araujo, docs@python, ifreecarve, sbt
2017-07-11 18:36:42r.david.murraysetmessageid: <1499798202.69.0.46060735981.issue10438@psf.upfronthosting.co.za>
2017-07-11 18:36:42r.david.murraylinkissue10438 messages
2017-07-11 18:36:42r.david.murraycreate