Author martin.panter
Recipients BreamoreBoy, andymaier, belopolsky, cvrebert, docs@python, eric.araujo, mark.dickinson, martin.panter
Date 2015-04-12.00:49:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1428799790.45.0.920803795253.issue10289@psf.upfronthosting.co.za>
In-reply-to
Content
Sizeof is not relevant to the built-in functions as far as I know. It is already described at <https://docs.python.org/dev/library/sys.html#sys.getsizeof>.

Some more delegations that I think should be documented here (at least for Python 3):

* abs() -> object.__abs__()
* bytes() -> object.__bytes__()
* complex() -> object.__complex__()
* divmod() -> object.__divmod__()
* float() -> object.__float__(). The text is already there, but there is no hyperlink.
* hex() -> object.__index__(). Also just needs a hyperlink.
* isinstance() -> class.__instancecheck__()
* issubclass() -> class.__subclasscheck__()
* pow() -> object.__pow__()
* round() -> object.__round__()

I added some comments about the sorted() specification on Reitveld, but maybe they should be handled in a separate issue, because the delegation is less direct compared to the other functions being considered here. And any update to sorted() should probably also consider list.sort(), min(), max(), and maybe the bisect and heapq modules.
History
Date User Action Args
2015-04-12 00:49:50martin.pantersetrecipients: + martin.panter, mark.dickinson, belopolsky, eric.araujo, cvrebert, docs@python, BreamoreBoy, andymaier
2015-04-12 00:49:50martin.pantersetmessageid: <1428799790.45.0.920803795253.issue10289@psf.upfronthosting.co.za>
2015-04-12 00:49:50martin.panterlinkissue10289 messages
2015-04-12 00:49:49martin.pantercreate