Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
SimpleTALTemplate::render StringIO issue #322
In SimpleTALTemplate in the render method around line 2877 the output variable is initialized with StringIO but StringIO is not imported as StringIO but as BytesIO (see around line 93)
possible solution around line 93, for python 2.x branch:
also for better performance cStringIO can be used
Uhm... thats a critical error and it was not noticed for months? Interesting. Perhaps it is a good time to remove SimpleTALTemplate support instead of fixing it. Or move it to a plugin.
I don't use/know/need TAL support at all. Thats why there are no tests and the adapter is very basic. If no one volunteers to maintain that adapter (and write some tests) I should probably remove it within the next two releases.
I'll leave this Issue open for discussions.
I also don't use TAL, i realized about the error when byte compiling bottle with cython, incidentally