[issue20854] multiprocessing.managers.Server: problem with returning proxy of registered object

2014-03-09 Thread Allis Tauri
Allis Tauri added the comment: Thanks for the suggestion. method_to_typeid and create_method are documented features, so I don't see why not. It does the trick in a cleaner way than my workaround: a metaclass for MyClass that just checks the arguments before creating a new instance. It

[issue20854] multiprocessing.managers.Server: problem with returning proxy of registered object

2014-03-05 Thread Allis Tauri
New submission from Allis Tauri: 1. I have a tree-like recursive class MyClass. It's method 'get_child(i)' returns an instanse of that same class. 2. I register this class with BaseManager as follows: class MyManager(BaseManager): pass MyManager.register('MyClass',