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/2017-January/147104.html below:

[Python-Dev] SystemError: new style getargs format but argument is not a tuple

[Python-Dev] SystemError: new style getargs format but argument is not a tuple [Python-Dev] SystemError: new style getargs format but argument is not a tupleTerry Reedy tjreedy at udel.edu
Wed Jan 4 23:43:40 EST 2017
On 1/1/2017 6:40 PM, Serhiy Storchaka wrote:
> On 02.01.17 01:23, Terry Reedy wrote:
>> There are several recent question on Stackoverflow about
>>
>> SystemError: new style getargs format but argument is not a tuple

[snip]
Resulting from using 3rd party packages.

>> No one commenting has a clue.  Is message from Victor's new calling
>> code?  Was it backported to 2.7?  Could error be a result of running old
>> 3rd party binary that needs to be recompiled?
>
> A system error "new style getargs format but argument is not a tuple" is
> not new. It means that PyArg_ParseTuple() is called with not a tuple as
> the first arguments. This is just a programmical error in third-party
> extension.

Should the advice in the doc entry for SystemError be changed to include 
this case?

"    You should report this to the author or maintainer of your Python 
interpreter. Be sure to report the version of the Python interpreter 
(sys.version; it is also printed at the start of an interactive Python 
session), the exact error message (the exception’s associated value) and 
if possible the source of the program that triggered the error.
"

-- 
Terry Jan Reedy


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