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 gvanrossum
Recipients gvanrossum
Date 2016-07-25.20:55:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1469480103.96.0.342423272445.issue27618@psf.upfronthosting.co.za>
In-reply-to
Content
The docs for threading.Lock say


79534:    .. versionchanged:: 3.3
79534:       Changed from a factory function to a class.

but the implementation in threading.py doesn't define a class named Lock, and in fact it is an alias for _thread.allocate_lock.

Are the docs wrong, or is the source? Or did this get changed back later?
History
Date User Action Args
2016-07-25 20:55:03gvanrossumsetrecipients: + gvanrossum
2016-07-25 20:55:03gvanrossumsetmessageid: <1469480103.96.0.342423272445.issue27618@psf.upfronthosting.co.za>
2016-07-25 20:55:03gvanrossumlinkissue27618 messages
2016-07-25 20:55:03gvanrossumcreate