This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: subprocess module changed exposed attributes
Type: behavior Stage:
Components: Library (Lib) Versions: Python 2.6
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: Nosy List: giampaolo.rodola, pclinch, piotr.dobrogost, rosslagerwall
Priority: normal Keywords:

Created on 2010-09-15 14:19 by pclinch, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (3)
msg116450 - (view) Author: paul clinch (pclinch) Date: 2010-09-15 14:19
Some attributes, e.g. STARTF_USESHOWWINDOW have moved to _subrocess.STARTF_USESHOWWINDOW. This breaks old code.
msg133051 - (view) Author: Ross Lagerwall (rosslagerwall) (Python committer) Date: 2011-04-05 16:30
This changes seems to have been made from 2.5 to 2.6 which are security fix only.

Closing as "wont fix".
msg222461 - (view) Author: Piotr Dobrogost (piotr.dobrogost) Date: 2014-07-07 13:17
The statement in comment http://bugs.python.org/issue9861#msg133051 seems to be wrong as changes between versions 2.5 and 2.6 are not security only fixes.
Changing visibility of module's public attributes should at least be documented thus closing this bug without pointing to such a documentation is not ok.
People do have problem with this as can be seen in the following questions:
"Cannot find STARTF_USESHOWWINDOW in python" (http://stackoverflow.com/q/5485668/95735)
"Module subprocess has no attribute 'STARTF_USESHOWWINDOW'" (http://stackoverflow.com/q/4703983/95735)
Remark to the answer to the "Cross-platform subprocess with hidden window" question (http://stackoverflow.com/a/3443174/95735)
History
Date User Action Args
2022-04-11 14:57:06adminsetgithub: 54070
2014-07-07 13:17:24piotr.dobrogostsetnosy: + piotr.dobrogost
messages: + msg222461
2011-04-05 16:30:51rosslagerwallsetstatus: open -> closed

nosy: + rosslagerwall
messages: + msg133051

resolution: wont fix
2010-09-15 19:06:07giampaolo.rodolasetnosy: + giampaolo.rodola
2010-09-15 14:19:50pclinchcreate