[ZPT] 1.3.0 issues with trailing '/'
Guido van Rossum
guido@digicool.com
Wed, 23 May 2001 10:09:47 -0400
> From: "Steve Spicklemire" <steve@spvi.com>
> > <span tal:define=" global Batch modules/ZTUtils/Batch/;
> > global theCatalog here/Catalog/;
> > global artists here/Artists/;
> > global locations here/Locations/;
> > global mediaMaster here/mediaMaster/;
> > global empty python:''" tal:replace="nothing"></span>
>
> Trailing-slash-as-nocall was rejected pretty soundly in the recent survey,
> so the trailing slashes in this are causing the error. To get the Batch
> class without calling it, you need "global Batch
> python:modules['ZTUtils'].Batch".
Can we review this rejection? I don't recall an argument for
rejecting the feature, just lack of interest. But the example above
shows a perfect use case for it, doesn't it?
--Guido van Rossum (home page: http://www.python.org/~guido/)