[issue20304] Argument Clinic: char convertor should use default values of type bytes

Tal Einat report at bugs.python.org
Sun Jan 19 16:51:05 CET 2014


New submission from Tal Einat:

For example, in `Object/stringlib/transmogrify.h`, the methods `ljust` and `rjust` have an argument named `fillchar` of type char. It's Python default value should be b' ', but the only way I've found to do that is by setting `py_default = b' '`.

----------
components: Build, Demos and Tools
messages: 208481
nosy: larry, taleinat
priority: normal
severity: normal
status: open
title: Argument Clinic: char convertor should use default values of type bytes
type: behavior
versions: Python 3.4

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


More information about the Python-bugs-list mailing list