Author sable
Recipients sable
Date 2010-09-20.13:35:57
SpamBayes Score 2.48295e-07
Marked as misclassified No
Message-id <1284989758.59.0.0887401948306.issue9862@psf.upfronthosting.co.za>
In-reply-to
Content
The problem does not happen with Python 2.6.
The difference is that:

* in Python 2.6,  the subprocess module would try to write at most 512 bytes
cf L1221 in subprocess.py
chunk = input[input_offset : input_offset + 512]

* in Python 2.7 and py3k, the subprocess module will try to write at most _PIPE_BUF bytes
cf L1319 in subprocess.py
chunk = input[input_offset : input_offset + _PIPE_BUF]

When forcing PIPE_BUF to 512 in selectmodule.c, the test will pass.
PIPE_BUF seems to be broken on AIX.
History
Date User Action Args
2010-09-20 13:35:58sablesetrecipients: + sable
2010-09-20 13:35:58sablesetmessageid: <1284989758.59.0.0887401948306.issue9862@psf.upfronthosting.co.za>
2010-09-20 13:35:57sablelinkissue9862 messages
2010-09-20 13:35:57sablecreate