Opening this separately from #1838 since it also seems like a good first issue. Currently, code objects are missing the `co_stacksize` attribute: ```python def foo(a, b): pass ``` In RustPython: ```python >>>>> foo.__code__.co_stacksize AttributeError: 'code' object has no attribute 'co_stacksize' ``` While in Python: ```python >>> foo.__code__.co_stacksize 1 ``` looking at the other methods on [`PyCode`](https://github.com/RustPython/RustPython/blob/1fd557d549cd72e7da83608b99e5464273abd4b3/vm/src/builtins/code.rs#L188) should help, the implementation should be similar to those (also related #4502 #4501)