On Sun, Sep 25, 2011 at 11:54 AM, Federico Schwindt <fg...@lodoss.net> wrote: > Hi, > > Comments below: > > On Fri, Sep 23, 2011 at 1:25 AM, Anders Langworthy <lagrang...@gmail.com> > wrote: >> (redirected here by maintainer) >> >> Hi, >> >> I've having some minor problems with python-2.7 >> >> [snip] >> >> 2. Signal handling doesn't work on my system in CherryPy (3.2.0 but probably >> others) using py2.7. It works fine using py2.5 on this >> system, it worked fine on py2.6 before py2.6 was removed, and it works >> fine for me and many others on py2.7 on other systems (windows and >> various linux). The same situation holds for both the port >> (py-cherrypy) and CherryPy installed via easy_install. For testing >> here I'm using one of the tutorial files included with cherrypy, but >> the same situation happens with all of my cherrypy applications. I think >> this >> is an issue with python and not cherrypy. >> >>[..] >> >> (here with py2.7: ^C from keyboard doesn't work and signals sent from >> "kill" (except SIGKILL are ignored). Process is not hung but must be >> terminated with kill -9) >> >> sprawl$ cd /usr/local/lib/python2.7/site-packages/cherrypy/tutorial >> sprawl$ python2.7 tut01_helloworld.py >> [22/Sep/2011:12:06:03] ENGINE Listening for SIGHUP. >> [22/Sep/2011:12:06:03] ENGINE Listening for SIGTERM. >> [22/Sep/2011:12:06:03] ENGINE Listening for SIGUSR1. >> [22/Sep/2011:12:06:03] ENGINE Bus STARTING >> [22/Sep/2011:12:06:03] ENGINE Started monitor thread '_TimeoutMonitor'. >> [22/Sep/2011:12:06:03] ENGINE Started monitor thread 'Autoreloader'. >> [22/Sep/2011:12:06:04] ENGINE Serving on 127.0.0.1:8080 >> [22/Sep/2011:12:06:04] ENGINE Bus STARTED >> ^C^C^C > > this indeed looks related to our pthreads library. will try to > reproduce it/take a look. > thanks.
Hi all. Has anybody had time to look into this yet? http://marc.info/?l=openbsd-ports&m=131673769025318&w=1 (Note #1 is indeed a python bug, I filed a bug (http://bugs.python.org/issue13044)) Cheers, Anders.