[issue28511] Use the "U" format for parsing Unicode object arg in PyArg_Parse*

2016-10-23 Thread Xiang Zhang

Changes by Xiang Zhang :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28511] Use the "U" format for parsing Unicode object arg in PyArg_Parse*

2016-10-23 Thread Stéphane Wirtel

Stéphane Wirtel added the comment:

will you close the issue ?

--
nosy: +matrixise

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28511] Use the "U" format for parsing Unicode object arg in PyArg_Parse*

2016-10-23 Thread Roundup Robot

Roundup Robot added the comment:

New changeset d667913a81c6 by Serhiy Storchaka in branch 'default':
Issue #28511: Use the "U" format instead of "O!" in PyArg_Parse*.
https://hg.python.org/cpython/rev/d667913a81c6

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28511] Use the "U" format for parsing Unicode object arg in PyArg_Parse*

2016-10-23 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Thank you for your review Xiang. But seems your mail provider again is broken, 
and you will not receive the notification.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28511] Use the "U" format for parsing Unicode object arg in PyArg_Parse*

2016-10-22 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

Proposed patch uses the "U" format in PyArg_Parse* functions instead of the 
"O!" format with _Type argument. This makes code cleaner, faster, and 
allows to remove additional PyUnicode_READY checks.

The patch is inspired by the patch of Xiang Zhang (issue28504).

--
components: Interpreter Core
files: parse_unicode_arg.patch
keywords: patch
messages: 279219
nosy: serhiy.storchaka, xiang.zhang
priority: normal
severity: normal
stage: patch review
status: open
title: Use the "U" format for parsing Unicode object arg in PyArg_Parse*
type: enhancement
versions: Python 3.7
Added file: http://bugs.python.org/file45192/parse_unicode_arg.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com