A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2005-September/056225.html below:

[Python-Dev] String views

[Python-Dev] String views [Python-Dev] String viewsGreg Ewing greg.ewing at canterbury.ac.nz
Tue Sep 6 14:18:42 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)?

Yes, but in some cases that's unavoidable. It would be
impractical to provide embedded-NUL-capable replacements
for all C functions that someone might want (and flat-out
impossible for some, e.g. os.open()).

Greg
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4