Issue1080

classification
Title: support for annotations?
Type: Severity: normal
Components: Core Versions: 2.5alpha1
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: fwierzbicki Nosy List: cprinos, fwierzbicki
Priority: Keywords:

Created on 2008-07-17.21:05:13 by cprinos, last changed 2008-11-01.13:55:13 by fwierzbicki.

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)
History
Date User Action Args
2008-11-01 13:55:13fwierzbickisetassignee: fwierzbicki
2008-11-01 13:54:56fwierzbickisetnosy: + fwierzbicki
components: + Core
2008-07-17 21:05:13cprinoscreate