Thomas Wouters
49fd7fa443
Merge p3yk branch with the trunk up to revision 45595. This breaks a fair
...
number of tests, all because of the codecs/_multibytecodecs issue described
here (it's not a Py3K issue, just something Py3K discovers):
http://mail.python.org/pipermail/python-dev/2006-April/064051.html
Hye-Shik Chang promised to look for a fix, so no need to fix it here. The
tests that are expected to break are:
test_codecencodings_cn
test_codecencodings_hk
test_codecencodings_jp
test_codecencodings_kr
test_codecencodings_tw
test_codecs
test_multibytecodec
This merge fixes an actual test failure (test_weakref) in this branch,
though, so I believe merging is the right thing to do anyway.
2006-04-21 10:40:58 +00:00
Neal Norwitz
d91085598f
Remove apply()
2006-03-17 08:00:19 +00:00
Peter Astrand
3a708dfc88
Changed license header: Now simply referring to PSF. This closes bug
...
1138653.
2005-09-23 17:37:29 +00:00
Tim Peters
eba28bea9b
Whitespace normalization.
2005-03-28 01:08:02 +00:00
Peter Astrand
7e78ade6f9
Corrected bug in list2cmdline wrt backslashes. Fixes #1083306 .
2005-03-03 21:10:23 +00:00
Peter Astrand
23109f0009
Optimization for communicate(): If only one of stdin/stdout/stderr is
...
redirected, using select() or threads is unnecessary.
2005-03-03 20:28:59 +00:00
Peter Astrand
c26516b29d
Made the module compatible with Python 2.2 again.
2005-02-21 08:13:02 +00:00
Peter Astrand
69bf13f1e8
Added copyright notice:
...
Licensed to PSF under a Contributor Agreement.
2005-02-14 08:56:32 +00:00
Peter Astrand
d38ddf4ca2
Patch from Leandro Lucarella: replaced:
...
var == None and var != None
with
var is None and var is not None
and type(var) == int
with
instanceof(var, int)
...as recomended in PEP 8 [1].
2005-02-10 08:32:50 +00:00
Raymond Hettinger
f715366f23
Reduce the usage of the types module.
2005-02-07 14:16:21 +00:00
Peter Astrand
f791d7a278
On UNIX, when the execution of the child fails, we must waitpid() to
...
prevent leaving zombies.
2005-01-01 09:38:57 +00:00
Peter Astrand
454f76711c
New subprocess utility function: check_call. Closes #1071764 .
2005-01-01 09:36:35 +00:00
Peter Astrand
5f5e141589
Changed signature of call function to avoid confusion: this 'args' is not the same as the one to the Popen constructor
2004-12-05 20:15:36 +00:00
Peter Astrand
738131d391
Raise TypeError if bufsize argument is not an integer. Patch 1071755, slightly modified.
2004-11-30 21:04:45 +00:00
Peter Astrand
6fdf3cbb13
Corrected example for replacing shell pipeline. Fixes bug 1073790.
2004-11-30 18:06:42 +00:00
Peter Astrand
c1d6536d60
When using shell=True on Windows, don't display a shell window by default. Fixes #1057061 .
2004-11-07 14:30:34 +00:00
Raymond Hettinger
837dd93e3b
Fix docstring formatting of escape sequences.
2004-10-17 16:36:53 +00:00
Fredrik Lundh
15aaacc93e
return codes are available on all platforms, not just on Unix
2004-10-17 14:47:05 +00:00
Fredrik Lundh
3e73a011d9
Replace dynamic try/except with "if 0", to keep py2exe happy. If you
...
want to use pywin32 instead of _subprocess, you have to edit the file.
2004-10-13 18:19:18 +00:00
Tim Peters
e8374a55c4
Folded long lines.
2004-10-13 03:15:00 +00:00
Tim Peters
e718f615b8
Whitespace normalization.
2004-10-12 21:51:32 +00:00
Andrew M. Kuchling
51ee66e611
Typo fix
2004-10-12 16:38:42 +00:00
Fredrik Lundh
5b3687df2e
Added Peter Astrand's subprocess module.
2004-10-12 15:26:28 +00:00