Pythonwin IIS-ASP module imports (bug)

kellyk at my-deja.com kellyk at my-deja.com
Wed Jul 12 17:40:10 EDT 2000


In IIS 4 using Pythonwin 132 modules are not reloaded when an ASP script
is run. Modules are reloaded properly in Pythonwin 129 (I just tested
this) so I will just go back to version 129 but...

The following script should just print out Python's version number but
each time it is refreshed in the browser it tags on an additional
"banana". Refresh it 5 times and sys.version has 5 "banana"'s appended.

---begin script
<%@ LANGUAGE = Python %>
<%
import sys

Response.Write("<p>" + sys.version + "</p>")

sys.version= sys.version + "banana"
%>
---end script





Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list