[New-bugs-announce] [issue20325] Argument Clinic: self converters are not preserved when clonig functions

Tal Einat report at bugs.python.org
Tue Jan 21 11:01:26 CET 2014


New submission from Tal Einat:

In Objects/bytes.c, the strip methods need a "self converter" so that
they get a PyBytesObject* instead of PyObject*. However, having set
this in bytes.strip and "cloning" that clinic definition for
bytes.lstrip and bytes.rstrip, it appears that the self converter
wasn't set on lstrip and rstrip. Removing the cloning and copying the
argument definitions resolved the issue.

Is this a bug?

----------
components: Build, Demos and Tools
messages: 208633
nosy: larry, taleinat
priority: normal
severity: normal
status: open
title: Argument Clinic: self converters are not preserved when clonig functions
type: behavior
versions: Python 3.4

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


More information about the New-bugs-announce mailing list