Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue1187] pipe fd handling issues in subprocess.py on POSIX

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

Sep 21, 2007, 11:42 AM

Post #1 of 5 (158 views)
Permalink
[issue1187] pipe fd handling issues in subprocess.py on POSIX

New submission from Andrew Nissen:

Revision 53293 appears to have missed some of the logic inherent in the
previous code. There also appears to be problems with the way that the
dup2 calls are made that can result in a behavior different then
intended under a number of circumstances.

fix_fileno.py demonstrates the improper behavior

----------
components: Library (Lib)
files: fix_fileno.py
messages: 56079
nosy: anissen
severity: minor
status: open
title: pipe fd handling issues in subprocess.py on POSIX
type: behavior
versions: Python 2.4

__________________________________
Tracker <report[at]bugs.python.org>
<http://bugs.python.org/issue1187>
__________________________________
Attachments: fix_fileno.py (0.50 KB)


report at bugs

Sep 21, 2007, 11:42 AM

Post #2 of 5 (150 views)
Permalink
[issue1187] pipe fd handling issues in subprocess.py on POSIX [In reply to]

New submission from Andrew Nissen:

Revision 53293 appears to have missed some of the logic inherent in the
previous code. There also appears to be problems with the way that the
dup2 calls are made that can result in a behavior different then
intended under a number of circumstances.

fix_fileno.py demonstrates the improper behavior

----------
components: Library (Lib)
files: fix_fileno.py
messages: 56079
nosy: anissen
severity: minor
status: open
title: pipe fd handling issues in subprocess.py on POSIX
type: behavior
versions: Python 2.4

__________________________________
Tracker <report[at]bugs.python.org>
<http://bugs.python.org/issue1187>
__________________________________
Attachments: fix_fileno.py (0.50 KB)


report at bugs

Sep 21, 2007, 11:44 AM

Post #3 of 5 (149 views)
Permalink
[issue1187] pipe fd handling issues in subprocess.py on POSIX [In reply to]

Andrew Nissen added the comment:

This patch (subprocess.fix_fileno.udiff) made against subprocess.py
(Revision 55604)appears to give the desired behavior

__________________________________
Tracker <report[at]bugs.python.org>
<http://bugs.python.org/issue1187>
__________________________________
Attachments: subprocess.fix_fileno.udiff (1.60 KB)


report at bugs

Sep 22, 2007, 3:25 PM

Post #4 of 5 (143 views)
Permalink
[issue1187] pipe fd handling issues in subprocess.py on POSIX [In reply to]

Changes by Martin v. Löwis:


----------
keywords: +patch

__________________________________
Tracker <report[at]bugs.python.org>
<http://bugs.python.org/issue1187>
__________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Sep 22, 2007, 9:08 PM

Post #5 of 5 (144 views)
Permalink
[issue1187] pipe fd handling issues in subprocess.py on POSIX [In reply to]

Changes by Sean Reifschneider:


----------
assignee: -> astrand
nosy: +astrand
priority: -> normal
versions: +Python 2.6 -Python 2.4

__________________________________
Tracker <report[at]bugs.python.org>
<http://bugs.python.org/issue1187>
__________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.