Unfortunately, this is necessary for restricted mode to be safe in Python -
it is an unfortunate byproduct of the Python rexec module.

So, I am afraid the answer to your question is "no".

Mark.

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Ea?iia
> Aaien Na?aaaae?
> Sent: Wednesday, 15 November 2000 8:53 PM
> To: [EMAIL PROTECTED]
> Subject: Restricted mode: __dict__ is unavailable in restricted mode.
>
>
> Is it possible to use __setattr__ in restricted mode ( on the WEB ),
> if we haven't access to __dict__ ?
>
>    Denis
>
> _______________________________________________
> ActivePython mailing list
> [EMAIL PROTECTED]
> http://listserv.ActiveState.com/mailman/listinfo/activepython
>

_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython
  • ... Карпов Денис Сергеевич
    • Mark Hammond

Reply via email to