Issue #1236 resolved

Uncompatible changes for python3

Joel Rivera
created an issue

After the addition of the file cherrypy/_cpcompat_subprocess.py at the commit c5f10269f7ed and the changes to debug the sessions at commit c5f10269f7ed the compatibility to python 3 has been broken.

The changes of the commit c5f10269f7ed implies that the current release of 3.2.3 is broken for python 3 with pip/easy_install, this is the installation output with pip

 pip install CherryPy


Downloading/unpacking CherryPy
  Downloading CherryPy-3.2.3.tar.gz (423Kb): 423Kb downloaded
  Running setup.py egg_info for package CherryPy

Installing collected packages: CherryPy
  Running setup.py install for CherryPy
    changing mode of build/scripts-3.2/cherryd from 644 to 755
      File "/home/joe/env/hacks3/lib64/python3.2/site-packages/cherrypy/_cpcompat_subprocess.py", line 484
        except (OSError, IOError), e:
                                 ^
    SyntaxError: invalid syntax


    changing mode of /home/joe/env/hacks3/bin/cherryd to 755
Successfully installed CherryPy
Cleaning up...

In the end CherryPy do get installed but not cleanly.

Comments (2)

  1. Log in to comment