This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: "u#" doesn't check object type
Type: Stage:
Components: Unicode Versions:
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: lemburg Nosy List: georg.brandl, ishimoto, lemburg
Priority: normal Keywords:

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:53adminsetgithub: 37462
2002-11-13 04:00:30ishimotocreate