Issue1440

classification
Title: Tracing facilities (sys.settrace) not working when event comes from swing
Type: behaviour Severity: major
Components: Core Versions: Jython 2.7
Milestone:
process
Status: open Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: camjackson, fabioz, fwierzbicki, zyasoft
Priority: normal Keywords:

Created on 2009-08-16.22:57:57 by fabioz, last changed 2018-03-23.22:41:27 by jeff.allen.

Files
File name Uploaded Description Edit Remove
test_tracing_not_working_on_jython_25.py fabioz, 2009-08-16.22:57:57 Sample code
Messages
msg5047 (view) Author: Fabio Zadrozny (fabioz) Date: 2009-08-16.22:57:56
I'm marking it as major because this makes any debugger unusable when
using swing components in jython.

The tracing facilities are not working when an event is being received
from swing.

The attached file shows this: on jython 2.2.1, when entering text in the
text area created, it correctly enters the trace_dispatch method,
whereas in jython 2.5 it doesn't (when it should).
msg6624 (view) Author: Cam Jackson (camjackson) Date: 2011-09-01.02:33:52
Bug still present in 2.5.2, two years later.
msg8501 (view) Author: Jim Baker (zyasoft) Date: 2014-05-21.23:30:21
I would expect this tracing to work. Time to finally investigate for 2.7.

Target beta 4
msg9079 (view) Author: Jim Baker (zyasoft) Date: 2014-10-05.17:12:03
AWT listeners have specific, historical support that go outside the normal calling convention for Jython. That's why one can add a callback on older Jython without the more recent support for single method interfaces.

We should merge this in to use the normal code path (but later than 2.7.1)

Having said that, I still would expect some interception to be possible, so this is still open.
History
Date User Action Args
2018-03-23 22:41:27jeff.allensetmilestone: Jython 2.7.2 ->
2015-11-02 03:17:48zyasoftsetmilestone: Jython 2.7.2
2014-10-07 00:15:52zyasoftsetpriority: normal
2014-10-05 17:12:03zyasoftsetmessages: + msg9079
2014-05-21 23:30:21zyasoftsetresolution: accepted
messages: + msg8501
nosy: + zyasoft
versions: + Jython 2.7, - Jython 2.5
2013-02-19 19:14:40fwierzbickisetversions: + Jython 2.5, - 2.5.0
2011-09-01 02:33:52camjacksonsetnosy: + camjackson
messages: + msg6624
2009-08-17 12:58:41fwierzbickisetnosy: + fwierzbicki
2009-08-16 22:57:57fabiozcreate