[Zope] Fourth request for help - Win2K+Zope

Martijn Pieters mj@digicool.com
Tue, 29 Feb 2000 11:10:23 -0500


From: Jeff K. Hoffman [mailto:jeff.hoffman@goingv.com]
> On Mon, 28 Feb 2000, Martijn Pieters wrote:
> 
> > I am glad that this is solved. I ponder at the 
> case-sensitivity though.
> > Maybe Python doesn't detect the OS properly? I am not fully 
> sure as to how
> > Python decides when to ignore case, but it is clearly 
> broken on your Win2k
> > install. Also, the lack of error messages was very vexing 
> and confusing.
> 
> This is discussed partially in Guido's essay on the Python Package
> mechanism. This is why you must specify the __all__ symbol in 
> a package's
> __init__.py if you want it to behave well in a cross-platform 
> situation.
> 
> At least, that's my take on it. ;-)

Except that there are no 'import *'s from _packages_ in Zope, where
__all__ would be needed. __all__ would only increase the maintenance
overhead here.

The PYTHONCASEOK might be a better idea, or better still, #undef-ing
CHECK_IMPORT_CASE. We'll investigate first.

-- 
Martijn Pieters, Software Engineer 
| Digital Creations http://www.digicool.com 
| Creators of Zope      http://www.zope.org 
| mailto:mj@digicool.com       ICQ: 4532236
| PGP:
http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149 
-------------------------------------------