[issue19331] Revise PEP 8 recommendation for class names

Antoine Pitrou report at bugs.python.org
Mon Oct 21 19:55:46 CEST 2013


Antoine Pitrou added the comment:

s/should be followed/may be followed/

As an other point of reference, for a long time the synchronization classes in the threading module were actually mediated by function wrappers, e.g.:

  def Lock(*args, **kwargs):
      return _Lock(*args, **kwargs)

(this was to "discourage subclassing", IIRC)

----------
nosy: +pitrou

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19331>
_______________________________________


More information about the Python-bugs-list mailing list