2007/10/26, Bill Janssen <[EMAIL PROTECTED]>:
> 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/archive%40mail-archive.com

Reply via email to