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.


>- there was some compelling reason why PSP chose to use a different 
>directory and different naming convention, and TemplateServer will run 
>into the same issues :-)  Maybe it's the write access issue, or maybe it 
>was just done to hide the details of the implementation from the end user 
>and avoid cluttering up the directory.  Or, maybe it's because if you 
>automatically compile the .tmpl file into a .py file of the same name, 
>then it's ambiguous which one you want to serve?

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.

-Chuck


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

Reply via email to