Skip to main content

Event bindings and exceptions

Description

This package provides wrappers to catch exceptions in tkinter callbacks and use the identifiers returned by tkinter bind and tag_bind methods to avoid memory leaks. The idlelib module provided examples to follow.

Installation Instructions

This package is available on PyPI so can be installed by typing

python -m pip install –user solentware-misc

at the command prompt.

See Python and pip documentation for alternatives and platform-specific points.

Notes

The docstring for tkinter.Misc.bind() states, at Python 3.9.14, “Bind will return an identifier to allow deletion of the bound function with unbind without memory leak.”.

The docstrings for tkinter.Misc.bind_all(), tkinter.Misc.bind_class(), tkinter.Canvas.tag_bind(), and tkinter.Text.tag_bind(), refer to the docstring for tkinter.Misc.bind().

Wrappers for tkinter.Misc.bind_all() and tkinter.Misc.bind_class() are not provided.

The solentware_bind project exists to avoid solentware_base and solentware_grid depending on each other. The exceptionhandler and gridbindings modules were in solentware_misc before the bindings module was added.

Metadata

Release files for solentware-bind 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for solentware-bind 1.0.4
File Size Uploaded Provenance Actions
solentware_bind-1.0.4.tar.gz 10.3 kB Without provenance Details for solentware_bind-1.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for solentware-bind 1.0.4
File Interpreter ABI Platform Actions
solentware_bind-1.0.4-py3-none-any.whl Python 3 none any Details for solentware_bind-1.0.4-py3-none-any.whl

Total release size: 20.9 kB

Release files / solentware_bind-1.0.4.tar.gz

Download URL solentware_bind-1.0.4.tar.gz
Size 10.3 kB
Tags Source
SHA-256 checksum
How to use checksums
2e518e91b390409e1018ac9caccc6898db97f5292d9229fee55e967b41d583d9
BLAKE2b-256 checksum
How to use checksums
9219c72ca7fc27ee01bd848f8774b5fbc980329e6af9527e9291624ca86461fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / solentware_bind-1.0.4-py3-none-any.whl

Download URL solentware_bind-1.0.4-py3-none-any.whl
Size 10.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e601083cb9519e72797a17ed55f50beefd278df696d52939c9446d316a3199a7
BLAKE2b-256 checksum
How to use checksums
29f50ac93f54dc86aa2f9d11bc894c80eeb1d2d2d1f9fdd98f8c9b8e8eaf09d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Security for solentware-bind 1.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page