[issue27506] bytes/bytearray delete acts as keyword argument

Xiang Zhang report at bugs.python.org
Wed Jul 13 05:48:57 EDT 2016


New submission from Xiang Zhang:

Write a patch to make bytes/bytearray.translate's delete argument support acting as keyword arguments. This won't break any backwards compatibility and make the method more flexible to use. Besides, in the C code level, it stops using argument clinic's legacy optional group feature and removes the unnecessary group_right_1 parameter.

----------
components: Interpreter Core
files: bytes_translate_delete_as_keyword_arguments.patch
keywords: patch
messages: 270303
nosy: serhiy.storchaka, xiang.zhang
priority: normal
severity: normal
status: open
title: bytes/bytearray delete acts as keyword argument
type: enhancement
versions: Python 3.6
Added file: http://bugs.python.org/file43703/bytes_translate_delete_as_keyword_arguments.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27506>
_______________________________________


More information about the Python-bugs-list mailing list