At 11:36 AM 6/8/01 -0700, Tavis Rudd wrote:
>On Friday 08 June 2001 11:22, Chuck Esterbrook wrote:
> > At 02:17 PM 6/8/2001 -0400, Geoff Talvola wrote:
> > >- PSP could do the same thing as TemplateServer -- just
> > > write out the .py file into the same directory as the
> > > PSP, with the same filename and class name.  That
> > > requires write access.
> >
> > That would be fairly Pythonic in the same way that .pyc's
> > are handled. Especially if there were no complaints when
> > write access wasn't available.
>
>Hmmm, that sounds about right.  So long as it also makes
>a backup of any existing .py files with the same basename.

How about this instead: it only replaces the .py file if it was itself 
autogenerated.  The servlet factories could embed a

# Automatically generated by WebKit

comment as the first line of the file.  Then it would only replace the file 
if that line were there, otherwise it would raise an exception.

> > The .psp vs. .py ambiguity seems to be the biggest item.
> > WebKit currently will refuse to serve a file with more
> > than one extension available. I would consider retooling
> > that policy if it helps out PSP and TS and whatever other
> > processes want to do Python compilation.
>
>Mike and I discussed this a while back but I forgot to follow up
>on it.  My proposal was to provide a configurable list of
>extensions that WebKit will cascade through.

Sounds OK to me.


--

- Geoff Talvola
   [EMAIL PROTECTED]

_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to