Are you sure your code is running under Python 3.3 with your mod_wsgi? Print out value of sys.version to check.
When I try the test case on that bug report (updated to Python 3 syntax) and run it on Python 3.3 it works fine. Graham On 23 November 2012 02:51, Gnarlodious <[email protected]> wrote: > That didn't fix it. > > -- Gnarlie > > > On Wednesday, November 21, 2012 5:44:42 PM UTC-7, Graham Dumpleton wrote: > >> FWIW. They fixed it in Python 3.3. >> >> http://bugs.python.org/**issue8098 <http://bugs.python.org/issue8098> >> >> Because it relates to thread locking, all depends on what order things >> run and when. >> >> Graham >> >> >> On 22 November 2012 02:19, Gnarlodious <[email protected]> wrote: >> >>> While debugging a minor problem I ran into the same error message I >>> reported previously: >>> >>> ImportError: No module named _strptime >>> >>> My devbox setup looks like this: >>> >>> Apache/2.2.22, mod_wsgi/3.4, Python/3.2.3 >>> >>> However the error does not occur on my server, which is running setup: >>> >>> Apache/2.2.22, mod_wsgi/3.3 Python/3.1.3 >>> >>> This error only occurs under mod_wsgi. I can run the single-page script >>> and the webapp with no error. Only when it is running under mod_wsgi does >>> the error occur. >>> >>> Oddly enough, all other module time functions seem to work as expected. >>> >>> -- Gnarlie >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "modwsgi" group. >>> To view this discussion on the web visit https://groups.google.com/d/** >>> msg/modwsgi/-/z_RV9TjHoBwJ<https://groups.google.com/d/msg/modwsgi/-/z_RV9TjHoBwJ> >>> . >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to modwsgi+u...@** >>> googlegroups.com. >>> >>> For more options, visit this group at http://groups.google.com/** >>> group/modwsgi?hl=en <http://groups.google.com/group/modwsgi?hl=en>. >>> >> >> -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/modwsgi/-/kfthoSKomYwJ. > > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/modwsgi?hl=en. > -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
