salamer / jolla

Python Web Framework
http://salamer.github.io/jolla
Apache License 2.0
130 stars 19 forks source link

python3 support? #6

Open liuminglm opened 6 years ago

liuminglm commented 6 years ago

Will support py3 in the future?

Agent-Hellboy commented 4 years ago

Hi @liuminglm

Does this require more then changing return htlm_code[0] to return [html_code[0].encode ()] https://github.com/salamer/jolla/blob/c3662a1743c4b0a3c5e7311190a6914b33beb524/jolla/server.py#L270

I have tested the example by simply changing this line and tweaking imports according to python3. And it's working. Am I missing something. Is there some other place also where unicode character handling in required.