Issue1701748

classification
Title: Jythonc generates call to deprecated Py.jgetattr()
Type: Severity: normal
Components: Jythonc compiler Versions:
Milestone:
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: Nosy List: fwierzbicki, mr_tines
Priority: normal Keywords:

Created on 2007-04-16.19:35:14 by mr_tines, last changed 2009-03-14.01:44:58 by fwierzbicki.

Messages
msg1559 (view) Author: Mr. Tines (mr_tines) Date: 2007-04-16.19:35:14
* Backplane.py

from java import lang

class Backplane(lang.Object):
  def performSetup(self, arg):
    "@sig public void performSetup(java.lang.String arg)"
    self.arg = arg

>>jythonc -p test -J "-Xlint:deprecation" Backplane.py
processing Backplane

Required packages:
  java.lang

Creating adapters:

Creating .java files:
  Backplane module
    Backplane extends java.lang.Object

Compiling .java to .class...
Compiling with args: [...]
0  .\jpywork\test\Backplane.java:84: warning: [deprecation] jgetattr(org.python.
core.PyProxy,java.lang.String) in org.python.core.Py has been deprecated
        PyObject inst = Py.jgetattr(this, "performSetup");
                          ^
1 warning
msg4280 (view) Author: Frank Wierzbicki (fwierzbicki) Date: 2009-03-14.01:44:58
jythonc is no longer maintained.
History
Date User Action Args
2009-03-14 01:44:58fwierzbickisetstatus: open -> closed
resolution: wont fix
messages: + msg4280
nosy: + fwierzbicki
2007-04-16 19:35:14mr_tinescreate