Message100366
| Author |
brian.curtin |
| Recipients |
a.badger, brian.curtin, loewis, vstinner |
| Date |
2010年03月04日.01:26:32 |
| SpamBayes Score |
9.188927e-09 |
| Marked as misclassified |
No |
| Message-id |
<1267665996.47.0.937684396742.issue4036@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The list2cmdline function checks spaces, tabs, etc in line 521 of subprocess.py. In your first test case, it ends up checking if a string is contained in a bytes object, which is a TypeError for the str not supporting the buffer API.
Would it be acceptable to just add "arg = str(arg)" right under the for loop? That fixes it for me, not sure of the preferred way to go about it. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年03月04日 01:26:36 | brian.curtin | set | recipients:
+ brian.curtin, loewis, vstinner, a.badger |
| 2010年03月04日 01:26:36 | brian.curtin | set | messageid: <1267665996.47.0.937684396742.issue4036@psf.upfronthosting.co.za> |
| 2010年03月04日 01:26:33 | brian.curtin | link | issue4036 messages |
| 2010年03月04日 01:26:32 | brian.curtin | create |
|