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 serhiy.storchaka
Recipients serhiy.storchaka, yselivanov
Date 2017-12-09.22:54:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1512860050.29.0.213398074469.issue32265@psf.upfronthosting.co.za>
In-reply-to
Content
Currently class and some static methods of builtin types are classified as plain methods. The proposed patch adds types.ClassMethodDescriptorType for unbound class methods of builtin types and makes inspect.classify_class_attrs() correctly classifying static and class methods of builtin types. This results in changing the help() output.

All __new__ methods now are classified as static.

Examples of class methods are dict.fromkeys and int.from_bytes.
History
Date User Action Args
2017-12-09 22:54:10serhiy.storchakasetrecipients: + serhiy.storchaka, yselivanov
2017-12-09 22:54:10serhiy.storchakasetmessageid: <1512860050.29.0.213398074469.issue32265@psf.upfronthosting.co.za>
2017-12-09 22:54:10serhiy.storchakalinkissue32265 messages
2017-12-09 22:54:10serhiy.storchakacreate