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
>
> 1.  pdb throws an exception at the end of a debugging session:
>
> sprawl$ cat debug.py
> import pdb
>
> pdb.set_trace()
> a = 1
> b = 2
> sum = a + b
>
> sprawl$ python2.7 debug.py
>> /home/anders/code/random/debug.py(4)<module>()
> -> a = 1
> (Pdb) n
>> /home/anders/code/random/debug.py(5)<module>()
> -> b = 2
> (Pdb) n
>> /home/anders/code/random/debug.py(6)<module>()
> -> sum = a + b
> (Pdb) n
> --Return--
>> /home/anders/code/random/debug.py(6)<module>()->None
> -> sum = a + b
> (Pdb) n
> Exception AttributeError: "'NoneType' object has no attribute 'path'"
> in <function _remove at 0x7e6ac0d4> ignored
>
>[..]

ths is not openbsd specific. same happens in linux and osx.
please fill a bug with python.

> 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.

f.-

Reply via email to