Message344173
The size of the code object is at least 144 bytes.
>>> def f(): pass
...
>>> sys.getsizeof(f.__code__)
144
If the function uses parameters, variables or constants (and you cannot do much useful without using them), their size should be added too. It overwhelms the size of the raw bytecode. |
|
| Date |
User |
Action |
Args |
| 2019-06-01 13:29:51 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, brett.cannon, dino.viehland, methane, eric.snow |
| 2019-06-01 13:29:51 | serhiy.storchaka | set | messageid: <[email protected]> |
| 2019-06-01 13:29:51 | serhiy.storchaka | link | issue36839 messages |
| 2019-06-01 13:29:51 | serhiy.storchaka | create | |
|