[Python-Dev] String views

Fredrik Lundh fredrik at pythonware.com
Tue Sep 6 10:04:37 CEST 2005


skip at pobox.com wrote:

>    Greg> If a Python function is clearly wrapping a C function, one doesn't
>    Greg> expect to be able to pass strings with embedded NULs to it.
>
> Isn't that just floating an implementation detail up to the programmer (who may
> well not be POSIX- or Unix-aware)?

so if POSIX refuses to deal with, e.g., NUL bytes in file names, Python should
somehow work around that to avoid "exposing implementation details" ?

</F> 





More information about the Python-Dev mailing list