Jython

Issue1080

classification
Title: support for annotations?
Type: rfe Severity: normal
Components: Core Versions: Jython 2.7
Milestone:
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: Nosy List: cprinos, fwierzbicki, kohsuke, tzellman, zyasoft
Priority: low Keywords:

Created on 2008年07月17日.21:05:13 by cprinos, last changed 2014年06月19日.07:39:19 by zyasoft.

Messages
msg3351 (view) Author: Chris Prinos (cprinos) Date: 2008年07月17日.21:05:13
with decorator support in 2.5, will there also be compatibility with
java annotations? The simple case fails at runtime:
#----annot.py-----
import java.lang.Deprecated
@java.lang.Deprecated()
def foo():
 print 'foo'
 
foo()
#-------------
Traceback (most recent call last):
 File "annot.py", line 5, in <module>
 def foo():
TypeError: can't instantiate interface (java.lang.Deprecated)
msg4244 (view) Author: Jim Baker (zyasoft) Date: 2009年03月12日.08:23:09
A big priority for future Java integration
msg8739 (view) Author: Jim Baker (zyasoft) Date: 2014年06月19日.07:39:19
Such support is planned for Clamp, outside of Jython core. See https://github.com/jythontools/clamp/ 
History
Date User Action Args
2014年06月19日 07:39:19zyasoftsetstatus: open -> closed
resolution: remind -> wont fix
messages: + msg8739
2013年02月19日 18:53:29fwierzbickisetresolution: remind
versions: + Jython 2.7, - Deferred
2010年10月30日 09:04:36tzellmansetnosy: + tzellman
2009年03月30日 16:19:55fwierzbickisetassignee: fwierzbicki ->
2009年03月29日 03:17:48kohsukesetnosy: + kohsuke
2009年03月14日 14:18:43fwierzbickisetpriority: low
2009年03月12日 08:23:09zyasoftsetnosy: + zyasoft
type: rfe
messages: + msg4244
versions: + Deferred, - 2.5alpha1
2008年11月01日 13:55:13fwierzbickisetassignee: fwierzbicki
2008年11月01日 13:54:56fwierzbickisetnosy: + fwierzbicki
components: + Core
2008年07月17日 21:05:13cprinoscreate

Supported by Python Software Foundation,
Powered by Roundup

AltStyle によって変換されたページ (->オリジナル) /