Issue2194

classification
Title: Per-line startup hook mishandled when None
Type: behaviour Severity: normal
Components: Core Versions: Jython 2.7
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: jeff.allen, zyasoft
Priority: normal Keywords: console

Created on 2014-08-24.08:55:45 by jeff.allen, last changed 2015-02-13.17:38:07 by zyasoft.

Messages
msg8936 (view) Author: Jeff Allen (jeff.allen) Date: 2014-08-24.08:55:44
When the startup hook is reset to None in a JLineConsole, it continues to be called, which results in  'TypeError: 'NoneType' object is not callable'. A solution is offered here that seems to be correct:
https://github.com/jythontools/jython/pull/10
We should:
1. Add a test (if there isn't a failing one already).
2. See if any other console (PlainConsole, ReadlineConsole) has a parallel problem.
3. Credit the originator.
msg9517 (view) Author: Jim Baker (zyasoft) Date: 2015-02-13.17:38:07
Fixed as of https://hg.python.org/jython/rev/0a0bf07d7e7d
History
Date User Action Args
2015-02-13 17:38:07zyasoftsetstatus: open -> closed
resolution: fixed
messages: + msg9517
nosy: + zyasoft
2014-08-24 08:55:45jeff.allencreate