This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author taleinat
Recipients larry, taleinat
Date 2014-01-21.10:01:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1390298486.22.0.452185457734.issue20325@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2014-01-21 10:01:26taleinatsetrecipients: + taleinat, larry
2014-01-21 10:01:26taleinatsetmessageid: <1390298486.22.0.452185457734.issue20325@psf.upfronthosting.co.za>
2014-01-21 10:01:26taleinatlinkissue20325 messages
2014-01-21 10:01:26taleinatcreate