Issue 637547: "u#" doesn't check object type (original) (raw)

Issue637547

Created on 2002-11-13 04:00 by ishimoto, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Messages (2)
msg13198 - (view) Author: Atsuo Ishimoto (ishimoto) * Date: 2002-11-13 04:00
PyArg_ParseTuple(arg, "u#", p) doesn't check type of argument. So passing string object, PyArg_ParseTuple() doesn't report error and returns broken Unicode string.
msg13199 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2006-06-14 06:47
Logged In: YES user_id=849994 The "u" format code doesn't accept buffers anymore.
History
Date User Action Args
2022-04-10 16:05:53 admin set github: 37462
2002-11-13 04:00:30 ishimoto create