Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"u#" doesn't check object type #37462

Closed
atsuoishimoto mannequin opened this issue Nov 13, 2002 · 2 comments
Closed

"u#" doesn't check object type #37462

atsuoishimoto mannequin opened this issue Nov 13, 2002 · 2 comments
Assignees

Comments

@atsuoishimoto
Copy link
Mannequin

atsuoishimoto mannequin commented Nov 13, 2002

BPO 637547
Nosy @malemburg, @birkenfeld, @atsuoishimoto

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/malemburg'
closed_at = <Date 2006-06-14.06:47:47.000>
created_at = <Date 2002-11-13.04:00:30.000>
labels = ['expert-unicode']
title = '"u#" doesn\'t check object type'
updated_at = <Date 2006-06-14.06:47:47.000>
user = 'https://github.com/atsuoishimoto'

bugs.python.org fields:

activity = <Date 2006-06-14.06:47:47.000>
actor = 'georg.brandl'
assignee = 'lemburg'
closed = True
closed_date = None
closer = None
components = ['Unicode']
creation = <Date 2002-11-13.04:00:30.000>
creator = 'ishimoto'
dependencies = []
files = []
hgrepos = []
issue_num = 637547
keywords = []
message_count = 2.0
messages = ['13198', '13199']
nosy_count = 3.0
nosy_names = ['lemburg', 'georg.brandl', 'ishimoto']
pr_nums = []
priority = 'normal'
resolution = 'out of date'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue637547'
versions = []

@atsuoishimoto
Copy link
Mannequin Author

atsuoishimoto mannequin commented Nov 13, 2002

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.

@atsuoishimoto atsuoishimoto mannequin closed this as completed Nov 13, 2002
@atsuoishimoto atsuoishimoto mannequin assigned malemburg Nov 13, 2002
@atsuoishimoto atsuoishimoto mannequin added the topic-unicode label Nov 13, 2002
@atsuoishimoto atsuoishimoto mannequin closed this as completed Nov 13, 2002
@atsuoishimoto atsuoishimoto mannequin assigned malemburg Nov 13, 2002
@atsuoishimoto atsuoishimoto mannequin added the topic-unicode label Nov 13, 2002
@birkenfeld
Copy link
Member

Logged In: YES
user_id=849994

The "u" format code doesn't accept buffers anymore.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants