{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/10"},{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/22"}],"enrichment":{"capability":"Provides a WeakMethod class for storing bound methods using weak references, backported to Python 2.6 and 2.7 from Python 3.4's standard library.","skillfed_tags":["python-2-legacy","memory-management"],"use_cases":["Prevent memory leaks in Python 2 code by storing weak references to bound methods instead of strong references","Implement observer patterns or event handlers in Python 2 that don't keep objects alive","Maintain legacy Python 2.6 or 2.7 projects that require weak method references without reimplementing the logic"],"what_it_does":"WeakMethod is a utility for storing references to bound methods without preventing their parent object from being garbage collected. This package backports Python 3.4's standard library WeakMethod class to Python 2.6 and 2.7, allowing developers on those older versions to use weak method references in their code.\n\nThe package has no runtime dependencies and is a pure-Python implementation. However, it targets Python versions that are no longer actively maintained. Installing this package makes sense only if you are maintaining legacy Python 2 code that specifically needs weak method storage.","worth_installing":"No, unless you are actively maintaining Python 2.6 or 2.7 code. The package is unmaintained (last release 2016-07-18), and modern Python versions include WeakMethod in the standard library. For any new or current projects, use the built-in weakref.WeakMethod instead."},"id":"weakrefmethod","links":{"html":"https://skillfed.io/packages/weakrefmethod","md":"https://skillfed.io/packages/weakrefmethod.md","pypi":"https://pypi.org/project/weakrefmethod/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2016-07-18","license_spdx":null,"license_treatment":"permissive","name":"weakrefmethod","python_support":"unspecified","summary":"A WeakMethod class for storing bound methods using weak references."},"popularity":{"monthly_downloads":73952,"position":14899,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.0.3"}
