Currently I am considering about delivering a Webware application to a
customer without the source code ot the servlets, i.e. only handing out the
*.pyo files. This may prevent a little bit from fiddling around with the
sources, though I know it is not a real protection since it is possible to
recompile. Anyway, the problem is: Webware will not work if you take away
the *.py files. It will ignore the *.pyc and *.pyo files even if you remove
them from FilesToHide. The reason is that '.py' is hardcoded as the (only)
extension for the PythonServletFactory.

So, my question is: Is there a good reason why the class
PythonServletFactory has only

 def extensions(self):
  return ['.py']

and not

 def extensions(self):
  return ['.py', '.pyc', '.pyo']

I suggest adding the two extensions.



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to