A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2015-January/137805.html below:

[Python-Dev] How do I ensure that my code is being executed?

[Python-Dev] How do I ensure that my code is being executed? [Python-Dev] How do I ensure that my code is being executed?Stefan Ring stefanrin at gmail.com
Tue Jan 20 15:52:18 CET 2015
On Tue, Jan 20, 2015 at 3:35 PM, Neil Girdhar <mistersheik at gmail.com> wrote:
> I get error:
>
> TypeError: init_builtin() takes exactly 1 argument (0 given)
>
> The only source file that can generate that error is
> Modules/_ctypes/_ctypes.c, but when I make changes to that file such as:
>
>         PyErr_Format(PyExc_TypeError,
>                      "call takes exactly %d arguments XYZABC (%zd given)",
>                      inargs_index, actual_args);
>
> I do not see any difference after make clean and a full rebuild.  How is
> this possible?  I need to debug the arguments passed.

The message says "argument", the source code says "arguments" (I
suppose that you only added the XYZABC), so this cannot be source of
this exception.

grep for "given" in ceval.c
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