Tres Seaver wrote:
I was just looking with Shane at the code you added in November to address http://collector.zope.org/Zope/445 . It seems to me that this bit of majyk is just confusing, and makes PythonScripts even less like "normal" Python functions; the actual submitter could easily fix his script by adding 'global context' at the top.

I completely disagree. Part of what already makes Scripts different than "normal" functions is that they don't have an associated module and globals. Bound variables are simply pre-initialized -- their current "globalness" is an implementation detail that could change.


Cheers,

Evan @ 4-am


_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )

Reply via email to