Re: [Zope] Python Methods can't construct literal dictionaries?

2001-01-28 Thread Evan Simpson
This is one of the shortcomings of Python Methods that Scripts eliminate. You can work around it by writing: x = {} x.update({y: z}) Cheers, Evan @ digicool 4-am ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope

Re: [Zope] python methods

2000-11-30 Thread Chris Withers
Terry Kerr wrote: Hi, Is there any way to get access to inbuild python functions like 'filter' and 'lambda' within pythonMethods? I think the powers that be decided they were 'unsafe' :-( Can anyone confirm or deny? cheers, Chris ___ Zope

Re: [Zope] python methods

2000-11-30 Thread The Doctor What
* Tres Seaver ([EMAIL PROTECTED]) [001130 09:06]: Chris Withers [EMAIL PROTECTED] wrote: 'lambda' is actually a keyword, not a function, and hence works fine in PM0.1.7. 'map()', 'filter()', et al., were deemed to be susceptible to being used in DOS attacks, and hence are not permitted in

Re: [Zope] python methods

2000-11-30 Thread Tres Seaver
The Doctor What [EMAIL PROTECTED] wrote: * Tres Seaver ([EMAIL PROTECTED]) [001130 09:06]: Chris Withers [EMAIL PROTECTED] wrote: 'lambda' is actually a keyword, not a function, and hence works fine in PM0.1.7. 'map()', 'filter()', et al., were deemed to be susceptible to being used

RE: [Zope] Python Methods Vote

2000-11-08 Thread Seb Bacon
Is there any way you can see what the results are looking like without having to vote again? Don't worry, there's no need actually to count the votes. Despite the fact that this race went right down to the wire, according to my complex computer-based prediction models (based on exit polls

Re: [Zope] Python Methods Vote

2000-11-08 Thread peter bengtson
I have the opposite problem. Having voted once - early yesterday - I now can't vote again. The reason I want to vote again is that I have changed my mind! Now I want to _poll down_ "Python Method" and add a new alternative "ZPython Method" or add some points to "Python Script" or "ZPY". The

Re: [Zope] Python Methods Vote

2000-11-08 Thread Simon Michael
Just view the poll again. Everything but "python method" has been getting trounced so far. How come "python function" isn't there, again ? Isn't that what they actually are ? ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] python methods

2000-09-29 Thread Phil Harris
Python methods are not yet part of the standard distribution, you can however get the product install tarball from Zope.org - Original Message - From: "Manuel Amador (Rudd-O) Gerente de desarrollo Alpha Omega Creative Solutions http: //www.alomega.com/" [EMAIL PROTECTED] To: [EMAIL