Issue1014
Created on 2008-03-25.18:46:10 by crotwell, last changed 2018-03-07.20:01:13 by jeff.allen.
msg3103 (view) |
Author: Philip Crotwell (crotwell) |
Date: 2008-03-25.18:46:09 |
|
Patch to add func_code to PyReflectedFunction so that getargspec in
inspect.py works with java methods. For example:
import inspect
from java.lang import Math
print inspect.getargspec(Math.atan2)
(['double', 'double'], None, None, None)
This could be part of Issue526672
|
msg3104 (view) |
Author: Philip Crotwell (crotwell) |
Date: 2008-03-25.18:57:36 |
|
This patch does not deal very nicely with method overloading, currently
it just uses the first method, using PyReflectedFunction.argslist[0].
|
msg7835 (view) |
Author: Frank Wierzbicki (fwierzbicki) |
Date: 2013-02-27.16:41:54 |
|
Hi Philip, I know it's been a *long* time - sorry for that. I'm doing house cleaning on this tracker and hope to do better in the future so things like this don't go unanswered for so long. Are you still interested in pushing something like this forward?
|
msg7900 (view) |
Author: Philip Crotwell (crotwell) |
Date: 2013-03-04.12:19:07 |
|
To be honest, it has been long enough that I don't really remember what this was about, so I'll leave it to your discretion. I probably won't be able to help, so feel free to close it if you don't think it is worth pursuing.
|
msg9050 (view) |
Author: Jim Baker (zyasoft) |
Date: 2014-09-26.06:08:43 |
|
Nice suggested functionality, but likely slips to 2.7.1 or later
|
msg9059 (view) |
Author: Jim Baker (zyasoft) |
Date: 2014-10-01.17:04:21 |
|
I just reviewed the patch in some more detail, and it's a straightforward refactoring. Let's add for 2.7.0, once we put in some tests.
Target beta 4
|
msg9348 (view) |
Author: Jim Baker (zyasoft) |
Date: 2015-01-07.16:45:24 |
|
This will require more analysis:
* Interaction with http://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Executable.html#getParameters-- (available as of Java 8)
* Support for calling with keyword args with respect to overloading
So postponing to 2.7.x, where x > 0
|
|
Date |
User |
Action |
Args |
2018-03-07 20:01:13 | jeff.allen | set | milestone: Jython 2.7.2 -> |
2015-12-29 23:50:27 | zyasoft | set | milestone: Jython 2.7.1 -> Jython 2.7.2 |
2015-04-15 20:43:49 | zyasoft | set | assignee: zyasoft -> nobody nosy:
+ nobody milestone: Jython 2.7.1 |
2015-01-07 16:45:25 | zyasoft | set | priority: high -> normal messages:
+ msg9348 |
2015-01-07 06:07:48 | zyasoft | set | resolution: accepted -> remind |
2014-10-06 03:32:31 | zyasoft | set | priority: normal -> high |
2014-10-01 17:04:22 | zyasoft | set | priority: low -> normal assignee: zyasoft resolution: accepted messages:
+ msg9059 |
2014-09-26 06:08:43 | zyasoft | set | nosy:
+ zyasoft messages:
+ msg9050 |
2013-03-04 12:19:07 | crotwell | set | messages:
+ msg7900 |
2013-02-27 16:42:27 | fwierzbicki | set | type: rfe |
2013-02-27 16:41:54 | fwierzbicki | set | messages:
+ msg7835 |
2009-03-14 03:09:48 | fwierzbicki | set | priority: low |
2008-12-17 19:11:11 | fwierzbicki | set | nosy:
+ fwierzbicki |
2008-03-25 18:57:36 | crotwell | set | messages:
+ msg3104 |
2008-03-25 18:46:10 | crotwell | create | |
|