Message8242
As seen in the socket-reboot project, it's necessary to wrap calls to bound methods with a function so that it can be directly used by single method interfaces, eg:
def workaround_jython_bug_for_bound_methods(_):
self._notify_selectors()
future.addListener(workaround_jython_bug_for_bound_methods)
The likely solution is to add a PyMethod#__java__, taking in account being bound or not, comparable to PyFunction#__java__. |
|
Date |
User |
Action |
Args |
2014-02-21 17:29:41 | zyasoft | set | recipients:
+ zyasoft |
2014-02-21 17:29:41 | zyasoft | set | messageid: <1393003781.57.0.165117437026.issue2115@psf.upfronthosting.co.za> |
2014-02-21 17:29:41 | zyasoft | link | issue2115 messages |
2014-02-21 17:29:40 | zyasoft | create | |
|