[Zope-dev] [leadership/opensource] invitation to online survey

2004-02-03 Thread Gianluca Bosco
Dear all, I have just put online a survey addressing the topic of leadership in the open-source environment. Basically, my objective is to identify the personal conceptions of good leadership that reside in the minds of the contributors, in terms of leaders' _behaviors_ and

[Zope-dev] Re: Zope 2.7.0 rc2 + python 2.3.3 problem

2004-02-03 Thread Evan Simpson
Tim Peters wrote: The globals set up for running the script appear not to contain a '__file__' key, and have a '__name__' key explicitly set to None. If it set either of these to something useful, or didn't have a '__name__' key explicitly set to None, warning.warn() would have been able to make

RE: [Zope-dev] Re: Zope 2.7.0 rc2 + python 2.3.3 problem

2004-02-03 Thread Tim Peters
[Tim Peters] The globals set up for running the script appear not to contain a '__file__' key, and have a '__name__' key explicitly set to None. If it set either of these to something useful, or didn't have a '__name__' key explicitly set to None, warning.warn() would have been able to make

[Zope-dev] bug in 2.6.2, 2.6.1 , and probably others.

2004-02-03 Thread Romain Slootmaekers
Yo, I just stumbled on a bug in the python scripting parameter passing. It seems that under certain conditions, the actual parameters are ignored, and the default parameters are always used. It is best shown by the following example: 0) create a python script with the following source: ##

Re: [Zope-dev] Re: Zope 2.7.0 rc2 + python 2.3.3 problem

2004-02-03 Thread Evan Simpson
Tim Peters wrote: it *looks* like you could leave name None, but set '__file__' to something (non-None) explicitly. Thanks! This seems to do the trick, and I have a unit test that fails before and passes after the change. While creating the test, though, I ran across some disturbing behavior.

[Zope-dev] Re: bug in 2.6.2, 2.6.1 , and probably others.

2004-02-03 Thread Evan Simpson
Romain Slootmaekers wrote: I just stumbled on a bug in the python scripting parameter passing. Actually, it's a bug in the test tab support code. The parameter fields in the form are set to a , b , and c instead of a, b, and c. I'm fixing it in CVS for 2.7. Normal parameter passing is

Re: [Zope-dev] Re: Zope 2.7.0 rc2 + python 2.3.3 problem

2004-02-03 Thread Jamie Heilman
Evan Simpson wrote: Argh. Scripts need a __name__ defined, or various activities choke. It can't be the Id of the Script, since that can contain '.', which screws up imports in the Script. It can't be None, since that will cause this problem. Are there hidden gotchas lurking around

Re: [Zope-dev] Re: bug in 2.6.2, 2.6.1 , and probably others.

2004-02-03 Thread Paul Winkler
On Tue, Feb 03, 2004 at 01:16:48PM -0600, Evan Simpson wrote: Romain Slootmaekers wrote: I just stumbled on a bug in the python scripting parameter passing. Actually, it's a bug in the test tab support code. The parameter fields in the form are set to a , b , and c instead of a, b, and

Re: [Zope-dev] Re: bug in 2.6.2, 2.6.1 , and probably others.

2004-02-03 Thread Dirk Datzert
Am Dienstag, 3. Februar 2004 23:16 schrieb Paul Winkler: On Tue, Feb 03, 2004 at 01:16:48PM -0600, Evan Simpson wrote: Romain Slootmaekers wrote: I just stumbled on a bug in the python scripting parameter passing. Actually, it's a bug in the test tab support code. The parameter

[Zope-dev] Re: bug in 2.6.2, 2.6.1 , and probably others.

2004-02-03 Thread Tres Seaver
Paul Winkler wrote: On Tue, Feb 03, 2004 at 01:16:48PM -0600, Evan Simpson wrote: Romain Slootmaekers wrote: I just stumbled on a bug in the python scripting parameter passing. Actually, it's a bug in the test tab support code. The parameter fields in the form are set to a , b , and c instead

Re: [Zope-dev] Re: bug in 2.6.2, 2.6.1 , and probably others.

2004-02-03 Thread Dirk Datzert
Am Dienstag, 3. Februar 2004 23:16 schrieb Paul Winkler: On Tue, Feb 03, 2004 at 01:16:48PM -0600, Evan Simpson wrote: Romain Slootmaekers wrote: I just stumbled on a bug in the python scripting parameter passing. Actually, it's a bug in the test tab support code. The parameter