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 <[email protected]>
<http://bugs.python.org/issue19331>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com