[Patches] [ python-Patches-1496952 ] Convert Tkinter to METH_VARARGS style

SourceForge.net noreply at sourceforge.net
Thu Aug 3 20:03:38 CEST 2006


Patches item #1496952, was opened at 2006-05-29 14:04
Message generated for change (Comment added) made by gbrandl
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1496952&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tkinter
Group: Python 2.5
>Status: Closed
>Resolution: Later
Priority: 5
Submitted By: Georg Brandl (gbrandl)
Assigned to: Georg Brandl (gbrandl)
Summary: Convert Tkinter to METH_VARARGS style

Initial Comment:
Patch attached. Martin, as the maintainer please check.
I also changed some PyTuple_Size and PyTuple_GetItem to
the corresponding macros when tupleness is guaranteed.

----------------------------------------------------------------------

>Comment By: Georg Brandl (gbrandl)
Date: 2006-08-03 18:03

Message:
Logged In: YES 
user_id=849994

This can be addressed when METH_OLDARGS is officially
deprecated.

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-06-04 08:19

Message:
Logged In: YES 
user_id=21627

The patch is wrong: .call() might get called with a single
argument which is a tuple; this should be treated the same
as if multiple arguments had been passed.

Please leave out the unrelated changes to the tuple API.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1496952&group_id=5470


More information about the Patches mailing list