add __sizeof__ support

Issue #38 resolved
Ronald Oussoren
repo owner created an issue

Add support for sys.getsizeof to PyObjC by implementing a sizeof method for PyObjC objects.


Open issues:

  • This can only return information about PyObjC's memory usage, not the size of Objective-C or CoreFoundation objects.

I'm therefore not sure if adding sizeof to objc-object will be useful.

Comments (4)

  1. Log in to comment