Issue222811

classification
Title: pdb 'h' command fails
Type: Severity: normal
Components: Core Versions:
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: bckfnn
Priority: low Keywords:

Created on 2000-11-18.19:04:25 by bckfnn, last changed 2000-11-18.22:33:48 by bckfnn.

Messages
msg60 (view) Author: Finn Bock (bckfnn) Date: 2000-11-18.19:04:25
This was marked as "resolved" in bug report 172.  It is still broken, however.

JPython 1.1beta3 on java1.2.2 (JIT: null)
Copyright (C) 1997-1999 Corporation for National Research Initiatives
>>> import pdb
>>> from aspectdv.explorepnp.manager import pnpmgr
>>> pdb.run('pnpmgr.test()')
> <string>(1)?()
(Pdb) h
Traceback (innermost last):
  File "<console>", line 1, in ?
  File "c:\pnp\3rdParty\jpython\Lib\pdb.py", line 855, in run
  File "c:\pnp\3rdParty\jpython\Lib\bdb.py", line 348, in run
  File "<string>", line 1, in ?
  File "c:\pnp\3rdParty\jpython\Lib\bdb.py", line 39, in trace_dispatch
  File "c:\pnp\3rdParty\jpython\Lib\bdb.py", line 51, in dispatch_line
  File "c:\pnp\3rdParty\jpython\Lib\pdb.py", line 90, in user_line
  File "c:\pnp\3rdParty\jpython\Lib\pdb.py", line 113, in interaction
  File "c:\pnp\3rdParty\jpython\Lib\cmd.py", line 75, in cmdloop
  File "c:\pnp\3rdParty\jpython\Lib\cmd.py", line 113, in onecmd
TypeError: unbound method must be called with class instance 1st argument
>>>
msg61 (view) Author: Finn Bock (bckfnn) Date: 2000-11-18.22:33:48
Fixed in PyMethod. An unbound method can be rebound.
History
Date User Action Args
2000-11-18 19:04:25bckfnncreate