Message319660
I got that part, thank you.
I can't get 1)what you're expecting as an output and 2)why this should work the way you're suggesting 'cuz functions and classes are very different.
In particular, classes can be modified dynamically, unlike functions. So if you just print out the lines from the file with the definition (which is what getsource() does), it may not be what the interpreter is actually using. |
|
Date |
User |
Action |
Args |
2018-06-15 19:54:20 | Ivan.Pozdeev | set | recipients:
+ Ivan.Pozdeev, t-vi |
2018-06-15 19:54:20 | Ivan.Pozdeev | set | messageid: <1529092460.05.0.56676864532.issue33826@psf.upfronthosting.co.za> |
2018-06-15 19:54:20 | Ivan.Pozdeev | link | issue33826 messages |
2018-06-15 19:54:20 | Ivan.Pozdeev | create | |
|