Re: SVN: Zope/branches/2.9/ deprecated FastCGI
Andreas Jung wrote:
Log message for revision 40469: deprecated FastCGI
Changed: U Zope/branches/2.9/doc/CHANGES.txt U Zope/branches/2.9/doc/WEBSERVER.txt U Zope/branches/2.9/lib/python/ZServer/datatypes.py
[snip]
Modified: Zope/branches/2.9/lib/python/ZServer/datatypes.py =================================================================== --- Zope/branches/2.9/lib/python/ZServer/datatypes.py 2005-12-02 13:45:58 UTC (rev 40468) +++ Zope/branches/2.9/lib/python/ZServer/datatypes.py 2005-12-02 13:49:55 UTC (rev 40469) @@ -132,6 +132,11 @@
class FCGIServerFactory(ServerFactory): def __init__(self, section): + + import warnings + warnings.warn("Using FastCGI is deprecated. You should use mod_proxy " + "to run Zope with Apache", DeprecationWarning) + import socket if section.address.family == socket.AF_INET: address = section.address.address
Andreas, this checkin made the tests fail for the build-bot (http://mail.zope.org/pipermail/zope-tests/2005-December/003728.html). Since you didn't use stacklevel=2 in the warnings.warn() call, it's hard to see where FCGIServerFactory() is called from. Maybe tests? Philipp
Philipp von Weitershausen wrote:
this checkin made the tests fail for the build-bot (http://mail.zope.org/pipermail/zope-tests/2005-December/003728.html). Since you didn't use stacklevel=2 in the warnings.warn() call, it's hard to see where FCGIServerFactory() is called from. Maybe tests?
I have to take that back, it's a problem due to Fred's speling fixing of "occuring". Looking-into-it-ly, Philipp
Philipp von Weitershausen wrote:
Philipp von Weitershausen wrote:
this checkin made the tests fail for the build-bot (http://mail.zope.org/pipermail/zope-tests/2005-December/003728.html). Since you didn't use stacklevel=2 in the warnings.warn() call, it's hard to see where FCGIServerFactory() is called from. Maybe tests?
I have to take that back, it's a problem due to Fred's speling fixing of "occuring".
Fixed now.
participants (1)
-
Philipp von Weitershausen