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 chris.jerdonek, hongweipeng, serhiy.storchaka, xtreak
Date 2018-10-18.10:10:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1539857427.54.0.788709270274.issue34475@psf.upfronthosting.co.za>
In-reply-to
Content
partial objects lack many other function attributes: __name__, __module__ (and __qualname__ doesn't make sense without __module__),  __annotations__, __get__(), etc. It would be nice to make these types more similar, but attributes shouldn't lie. And I am not sure what partial.__qualname__ can be. It shouldn't be the __qualname__ of the wrapped function, since the partial object differs from it, and is not accessible by same name.
History
Date User Action Args
2018-10-18 10:10:27serhiy.storchakasetrecipients: + serhiy.storchaka, chris.jerdonek, hongweipeng, xtreak
2018-10-18 10:10:27serhiy.storchakasetmessageid: <1539857427.54.0.788709270274.issue34475@psf.upfronthosting.co.za>
2018-10-18 10:10:27serhiy.storchakalinkissue34475 messages
2018-10-18 10:10:27serhiy.storchakacreate