Skip to content

Commit 33816de

Browse files
committed
Create the java proxy object after __init__ runs if it wasn't created by __init__
1 parent d079bdc commit 33816de

34 files changed

Lines changed: 73 additions & 1 deletion

src/org/python/core/PyArrayDerived.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,6 +1093,7 @@ public void dispatch__init__(PyType type,PyObject[]args,String[]keywords) {
10931093
}
10941094
}
10951095
}
1096+
proxyInit();
10961097
}
10971098

10981099
public PyObject __index__() {

src/org/python/core/PyBaseExceptionDerived.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,6 +1069,7 @@ public void dispatch__init__(PyType type,PyObject[]args,String[]keywords) {
10691069
}
10701070
}
10711071
}
1072+
proxyInit();
10721073
}
10731074

10741075
public PyObject __index__() {

src/org/python/core/PyBooleanDerived.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,6 +1093,7 @@ public void dispatch__init__(PyType type,PyObject[]args,String[]keywords) {
10931093
}
10941094
}
10951095
}
1096+
proxyInit();
10961097
}
10971098

10981099
public PyObject __index__() {

src/org/python/core/PyClassMethodDerived.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,6 +1093,7 @@ public void dispatch__init__(PyType type,PyObject[]args,String[]keywords) {
10931093
}
10941094
}
10951095
}
1096+
proxyInit();
10961097
}
10971098

10981099
public PyObject __index__() {

src/org/python/core/PyComplexDerived.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,6 +1093,7 @@ public void dispatch__init__(PyType type,PyObject[]args,String[]keywords) {
10931093
}
10941094
}
10951095
}
1096+
proxyInit();
10961097
}
10971098

10981099
public PyObject __index__() {

src/org/python/core/PyDictionaryDerived.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,6 +1093,7 @@ public void dispatch__init__(PyType type,PyObject[]args,String[]keywords) {
10931093
}
10941094
}
10951095
}
1096+
proxyInit();
10961097
}
10971098

10981099
public PyObject __index__() {

src/org/python/core/PyEnumerateDerived.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,6 +1093,7 @@ public void dispatch__init__(PyType type,PyObject[]args,String[]keywords) {
10931093
}
10941094
}
10951095
}
1096+
proxyInit();
10961097
}
10971098

10981099
public PyObject __index__() {

src/org/python/core/PyFileDerived.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,6 +1093,7 @@ public void dispatch__init__(PyType type,PyObject[]args,String[]keywords) {
10931093
}
10941094
}
10951095
}
1096+
proxyInit();
10961097
}
10971098

10981099
public PyObject __index__() {

src/org/python/core/PyFloatDerived.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,6 +1093,7 @@ public void dispatch__init__(PyType type,PyObject[]args,String[]keywords) {
10931093
}
10941094
}
10951095
}
1096+
proxyInit();
10961097
}
10971098

10981099
public PyObject __index__() {

src/org/python/core/PyFrozenSetDerived.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,6 +1093,7 @@ public void dispatch__init__(PyType type,PyObject[]args,String[]keywords) {
10931093
}
10941094
}
10951095
}
1096+
proxyInit();
10961097
}
10971098

10981099
public PyObject __index__() {

0 commit comments

Comments
 (0)