Issue1080
Created on 2008-07-17.21:05:13 by cprinos, last changed 2008-11-01.13:55:13 by fwierzbicki.
| 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)
|
|
| Date |
User |
Action |
Args |
| 2008-11-01 13:55:13 | fwierzbicki | set | assignee: fwierzbicki |
| 2008-11-01 13:54:56 | fwierzbicki | set | nosy:
+ fwierzbicki components:
+ Core |
| 2008-07-17 21:05:13 | cprinos | create | |
|