<user_function>.func_code exists for user Python functions but not IA functions from `system`?

I recently discovered that I can get the module path to a user function by using Java's func_code (e.g. shared.user_function_name.func_code.co_filename >> <module:shared.user_function_name>), however when I tried this on IA's system library functions, func_code doesn't exist as an attribute. I'm just curious the reason?

They aren't written in jython.

(Also, you might find my toolkit's system.reflect.getModulePath() helpful.)

2 Likes