Message289935
| Author |
barry |
| Recipients |
barry, jwilk, ncoghlan, steven.daprano, vstinner |
| Date |
2017年03月21日.13:43:20 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<20170321094316.517346a0@subdivisions.wooz.org> |
| In-reply-to |
<1490096837.04.0.42920077295.issue29857@psf.upfronthosting.co.za> |
| Content |
On Mar 21, 2017, at 11:47 AM, STINNER Victor wrote:
>No, text please. Text is just more convenient in Python, and it's trivial to
>retrieve original bytes:
>
>raw_args_bytes = [os.fsencode(arg) for arg in sys._raw_args]
Well, "raw args" implies minimal or no processing, so bytes would make the
most sense. It doesn't bother me that it's inconvenient; this won't be an oft
used API and the conversion to strings should be just as easy. |
|