pyjade icon indicating copy to clipboard operation
pyjade copied to clipboard

Is it compatible with python 3?

Open geoffreysandja opened this issue 10 years ago • 6 comments

we are trying to move our whole projects to python 3, i would like to know if it's compatible and safe.

geoffreysandja avatar May 27 '14 08:05 geoffreysandja

I'm currently using it with Python 3, not done anything extremely complex yet but seems to work so far.

jleeothon avatar Jul 12 '14 19:07 jleeothon

I do not think it is. I just tried something really simple and it did not work as expected. I am maybe doing something wrong, but I think that there may some compatibility issues. See, when doing something like:

        if debug
            span DEBUG == TRUE
        else
            SPAN DEBUG == FALSE

I am getting always a false result while settings.py set debug to True. So I am inclined to think that you should not be using pyjade with python 3. Furthermore, it is written as not compatible here: https://www.djangopackages.com/packages/p/pyjade/

ekaradon avatar Feb 20 '15 22:02 ekaradon

+1 for python3

chompomonim avatar Apr 17 '15 23:04 chompomonim

+1

gsekando avatar Aug 22 '15 17:08 gsekando

@ekaradon In python(3) TRUE and FALSE are not boolean, True and False are. Have been using pyjade with jinja2, python3 and flask and it works perfectly.

ptrdvds avatar Mar 30 '16 10:03 ptrdvds

For me Jade + Python3 + Pyramid is also working fine

tdamsma avatar Mar 30 '16 11:03 tdamsma