vendasta / fantasm

Automatically exported from code.google.com/p/fantasm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python27 Support

GoogleCodeExporter opened this issue · comments

Is it possible to use this under Python27?  

It errors as a CGI app.  I'm just learning Python (and App Engine) so I'm not 
certain if this is a simple change or something vastly improbable.

Original issue reported on code.google.com by sie...@gmail.com on 1 Dec 2011 at 6:47

Please include the error/traceback.

I've had this working as a CGI app (using main.py). The most noticeable issue I 
saw was that simplejson is not available in python2.7 (it uses json, a fast C 
module). The quickest way to make it work in python2.7 is to copy simplejson 
from the SDK into your src or lib folders (somewhere in the PYTHONPATH).

There is a subtle threadsafety issue that I'll push a fix up for too, although 
you won't notice this if not using "threadsafe: true".



Original comment by shawn.ru...@gmail.com on 1 Dec 2011 at 2:18

  • Changed state: Started
  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect
created a wiki page too.

http://code.google.com/p/fantasm/wiki/Python27

Original comment by shawn.ru...@gmail.com on 24 Jan 2012 at 2:21

  • Changed state: Fixed