[EMAIL PROTECTED] 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)?

As far as I'm concerned it is, yes. Until this thread highlighted it I 
hadn't really considered this issue. It's a bit ugly that C extensions 
won't handle the full range of strings that pure python code will, but 
it's a typically pragmatic Python solution, so I'm not about to start a 
war about it.

regards
  Steve
-- 
Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC             http://www.holdenweb.com/

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to