Skip to content

Link.view does not work correctly in the app #143

@NathanDunfield

Description

@NathanDunfield

On macOS with SnapPy 3.3.1:

In[1]: L = Link('4a1')

In[2]: L.view()

Out[2]: <plink.editor.LinkDisplay at 0x1098874d0>

In[3]: Exception in Tkinter callback
Traceback (most recent call last):
  File "/Users/runner/work/frameworks/frameworks/Python-3.14/dist/Python.framework/Versions/3.14/lib/python3.14/tkinter/__init__.py", line 2088, in __call__
  File "/Applications/SnapPy.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.14/site-packages/plink/editor.py", line 134, in _key_release
    raise RuntimeError('Subclasses must override _key_press')
RuntimeError: Subclasses must override _key_press

This is a regression from SnapPy 3.2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions