Just added__allow_access_to_unprotected_subobjects__=1as an
attribute of my class defined in an external python script and it works
fine.
Thanks Tino!
Tino Wildenhain wrote:
Hi,
Am Montag, den 11.04.2005, 14:08 +0300 schrieb Vangelis Mihalopoulos:
Andreas Jung wrote:
You should
--On Montag, 11. April 2005 13:44 Uhr +0300 Vangelis Mihalopoulos
[EMAIL PROTECTED] wrote:
Hello,
i have focused my problem on this:
having a Python Script testScript:
class obj:
a = 1
b = 2
c = 3
return obj()
and a
Andreas Jung wrote:
You should *not* define classes inside PythonScripts. PythonScripts
are stricted
and don't provide the full functionality. Either use filesystem based
code (Zope
Product) or use simple Python datatypes as dictionaries in this case.
An External Method behaves exactly the
Hi,
Am Montag, den 11.04.2005, 14:08 +0300 schrieb Vangelis Mihalopoulos:
Andreas Jung wrote:
You should *not* define classes inside PythonScripts. PythonScripts
are stricted
and don't provide the full functionality. Either use filesystem based
code (Zope
Product) or use simple