[Python-checkins] r72246 - python/trunk/Lib/CGIHTTPServer.py

gregory.p.smith python-checkins at python.org
Sun May 3 22:27:26 CEST 2009


Author: gregory.p.smith
Date: Sun May  3 22:27:25 2009
New Revision: 72246

Log:
docstring update.


Modified:
   python/trunk/Lib/CGIHTTPServer.py

Modified: python/trunk/Lib/CGIHTTPServer.py
==============================================================================
--- python/trunk/Lib/CGIHTTPServer.py	(original)
+++ python/trunk/Lib/CGIHTTPServer.py	Sun May  3 22:27:25 2009
@@ -76,6 +76,9 @@
         (dir, rest) if self.path requires running a CGI script.
         Returns False otherwise.
 
+        If any exception is raised, the caller should assume that
+        self.path was rejected as invalid and act accordingly.
+
         The default implementation tests whether the normalized url
         path begins with one of the strings in self.cgi_directories
         (and the next character is a '/' or the end of the string).


More information about the Python-checkins mailing list