[prev in list] [next in list] [prev in thread] [next in thread]
List: python-3000
Subject: Re: [Python-3000] passing bytes buffers to C with NUL characters in
From: "Guido van Rossum" <guido () python ! org>
Date: 2007-10-27 0:42:42
Message-ID: ca471dc20710261742w26a062b7l21946074f02d854f () mail ! gmail ! com
[Download RAW message or body]
2007/10/26, Bill Janssen <janssen@parc.com>:
> I'm not sure what to use in PyArg_ParseTuple in 3K. I'm passing in
> bytes which may contain NUL characters. Using 's#' doesn't really
> work, because it erroneously accepts Unicode strings.
Use y# I think.
--
--Guido van Rossum (home page: http://www.python.org/~guido/)
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: http://mail.python.org/mailman/options/python-3000/python-3000%40progressive-comp.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic