Re: [Zope-dev] Allowing python logging from restricted code

2005-10-11 Thread Chris Withers
Hi Jim, Jim Fulton wrote: I think you need to be very careful with this. What's the concern? I'm, at most, planning on making the getLogger function and the top level logging constants (eg: logging.INFO, etc) available... IMO, this is something that should not be turned on by default.

Re: [Zope-dev] Re: [Zope-Checkins] SVN: Zope/trunk/lib/python/Shared/DC/ZRDB/ Collector #556: sqlvar now returns 'null' rather than 'None'.

2005-10-11 Thread Chris Withers
Andreas Jung wrote: IMO there is no need to ship the Zope core with *any* DB package except the ZODB. I dunno, it's very handy to be able to rely on something RDB-like being installed when you want to tests things like ZSQL methods... cheers, Chris -- Simplistix - Content Management,

RE: [Zope-dev] Allowing python logging from restricted code

2005-10-11 Thread Tim McLaughlin
We are currently finishing up a debug_log much like the error log that Python scripts can write too. We would happily make that source available if you think it will fit the bill. Cheers, Tim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Withers

[Zope-dev] Re: RestrictedPython, TALES Expressions and CMF

2005-10-11 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sidnei da Silva wrote: (sorry for the cross-post) I'm currently facing an issue that seems to be a result of a bad interaction between CMF, TALES and Restricted Python. The issue currently happens when: 1. A TALES 'Path Expression' in

[Zope-dev] Re: [Zope-CMF] Re: RestrictedPython, TALES Expressions and CMF

2005-10-11 Thread Sidnei da Silva
On Tue, Oct 11, 2005 at 08:58:08AM -0400, Tres Seaver wrote: | 'call_with_ns' should be invoked only for objects with either a | '__render_with_namespace__' attribute (PythonScripts fit here) or those | with 'isDocTemp' true. Its only real purpose is to set up the namespace | before calling a

[Zope-dev] fresh install zope3.1.0 (binary installer) on windows

2005-10-11 Thread Michael Haubenwallner
Could we create some docs on 'Newbie: How-to install the recent Zope3.1.0 on windows using the binary installer' provided at zope.org ? At the moment http://dev.zope.org/Zope3/Zope310 is the only available doc. It says 'Installation instructions for both Windows and Un*x/Linux are now

Re: [Zope-dev] Allowing python logging from restricted code

2005-10-11 Thread Chris Withers
Hi Tim, Tim McLaughlin wrote: We are currently finishing up a debug_log much like the error log that Python scripts can write too. We would happily make that source available if you think it will fit the bill. I';d sure be interested in taking a look, but python's logging package is pretty