slyphon / python-subprocess32 Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/python-subprocess32
License: Other
Automatically exported from code.google.com/p/python-subprocess32
License: Other
This is a backport of the Python 3.2 subprocess module for use on Python versions 2.4 through 2.7. It includes many important bug fixes including a C extension module used internally to handle the code path between fork() and exec(). This version is reliable when an application is using threads. Refer to the Python 3.2 documentation for usage information: http://docs.python.org/3.2/library/subprocess.html Timeout support backported from Python 3.3 is also included. Bugs? Try to reproduce them on the latest Python 3.x itself and file bug reports on http://bugs.python.org/. Add gregory.p.smith to the Nosy list. -- Gregory P. Smith [email protected]
I'm trying to use the latest version of subprocess32 (3.2.5) on a cross
platform project and have encountered some problems using the subprocess32
module on Windows.
OS = Windows 7
Python = 2.7.6
Issue 1: Using the setup.py intsaller fails on Windows because of the posix
extension modules. Removing the line
ext_modules=[ext],
from setup.py allows the installation to proceed for windows systems.
Issue 2: The subprocess32 code assumes that _subprocess.c has an attribute
WAIT_TIMEOUT which isn't the case for Python 2.7 (line 1137 of subprocess32.py)
Nick
Original issue reported on code.google.com by [email protected]
on 24 Mar 2014 at 3:40
The PY_VERSION_HEX test should match in "init_posixsubprocess" as well.
On Python versions like 2.6.1, "imp_module" is not getting initialized, so
calls to "_PyImport_AcquireLock" fail because "imp_module" is NULL.
Original issue reported on code.google.com by [email protected]
on 30 Nov 2012 at 2:31
Attachments:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.