{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/5"}],"enrichment":{"capability":"A backport of Python 3's subprocess module to Python 2, with thread-safe fork/exec handling and timeout support for POSIX systems.","skillfed_tags":["python-2-legacy","posix-only"],"use_cases":["Fixing concurrency bugs in legacy Python 2.7 applications that spawn subprocesses from multithreaded code.","Adding timeout support to subprocess calls in Python 2.6 or 2.7 without upgrading to Python 3.","Providing a unified subprocess API across Python 2 and 3 for codebases that must support both versions.","Replacing Python 2's built-in subprocess module on POSIX systems to gain thread-safe fork/exec handling."],"what_it_does":"subprocess32 is a backport of Python 3's subprocess module for Python 2, designed to bring reliability improvements and modern APIs to older Python environments on POSIX systems. It includes a C extension that handles the fork/exec code path safely in multithreaded applications, addressing concurrency bugs present in Python 2's standard subprocess. The package backports timeout support from Python 3.3 and the run() API from Python 3.5, while keeping other features frozen at Python 3.2 level.\n\nThis package is intended as a drop-in replacement for Python 2's subprocess module on POSIX platforms (Linux, macOS, BSD, Solaris). However, the project is now abandoned\u2014the repository was archived in 2020 and the last release was in May 2019. Python 2 itself reached end-of-life years ago, making this package primarily useful only for maintaining legacy Python 2 codebases that cannot be migrated.","worth_installing":"No, unless you are maintaining a legacy Python 2 codebase that cannot be migrated. The project is abandoned, the repository archived, and Python 2 itself is long past end-of-life. The C extension may not compile on modern build systems. If you control the codebase, upgrade to Python 3; if you cannot, use this only as a temporary measure while planning migration."},"id":"subprocess32","links":{"html":"https://skillfed.io/packages/subprocess32","md":"https://skillfed.io/packages/subprocess32.md","pypi":"https://pypi.org/project/subprocess32/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2019-05-20","license_spdx":null,"license_treatment":"permissive","name":"subprocess32","python_support":"supports_current","summary":"A backport of the subprocess module from Python 3 for use on 2.x."},"popularity":{"monthly_downloads":710240,"position":5260,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"3.5.4"}
