A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2014-January/131904.html below:

[Python-Dev] Argument Clinic: Bug? self converters are not preserved when cloning functions

[Python-Dev] Argument Clinic: Bug? self converters are not preserved when cloning functions [Python-Dev] Argument Clinic: Bug? self converters are not preserved when cloning functionsLarry Hastings larry at hastings.org
Tue Jan 21 03:19:36 CET 2014
Please file an issue on the tracker and add me to the nosy list.  Do that next time, too; this didn't need to go to python-dev.

On Jan 20, 2014 5:46 PM, Tal Einat <taleinat at gmail.com> wrote:
>
> Hi, 
>
> I'm working on converting Objects/bytearray.c and Objects/bytes.c. 
>
> For bytes, 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? 
>
> - Tal 
> _______________________________________________ 
> Python-Dev mailing list 
> Python-Dev at python.org 
> https://mail.python.org/mailman/listinfo/python-dev 
> Unsubscribe: https://mail.python.org/mailman/options/python-dev/larry%40hastings.org 
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4