Closed GoogleCodeExporter closed 8 years ago
In interim, Python code module could be imported using PythonImportScript and
run:
import ctypes
def engage_py3k_warning():
flag = ctypes.c_int.in_dll(ctypes.pythonapi, "Py_Py3kWarningFlag")
flag.value = 1
Original comment by Graham.Dumpleton@gmail.com
on 17 Sep 2008 at 9:08
Added WSGIPy3kWarningFlag when Python 2.6 is being used. This should have same
effect as -3 option. Note
that you cannot be using mod_python at same time.
Committed in revision 1075 of trunk.
Original comment by Graham.Dumpleton@gmail.com
on 17 Sep 2008 at 11:36
Version 3.0 of mod_wsgi now released with WSGIPy3kWarningFlag directive.
Original comment by Graham.Dumpleton@gmail.com
on 22 Nov 2009 at 2:55
Original issue reported on code.google.com by
Graham.Dumpleton@gmail.com
on 17 Sep 2008 at 9:07