Author amaury.forgeotdarc
Recipients Robin.Schreiber, amaury.forgeotdarc, asvetlov, loewis, ned.deily, python-dev
Date 2012-10-15.13:35:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1350308147.49.0.680804721845.issue15721@psf.upfronthosting.co.za>
In-reply-to
Content
Andrew,

I have questions about the following part of commit bf9d118779f5:
+ PyTclObject_Type_slots[3].pfunc = PyObject_GenericGetAttr;

First, the "3" refers to the position of Py_tp_getattro in the array, which is a fragile thing IMO.

Then, this hack was not necessary before; why is it needed now?
IIRC on Windows a static initializer cannot contain dll-imported variables, but function pointers are OK.
Or do you have evidence of the contrary?
History
Date User Action Args
2012-10-15 13:35:47amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, loewis, ned.deily, asvetlov, python-dev, Robin.Schreiber
2012-10-15 13:35:47amaury.forgeotdarcsetmessageid: <1350308147.49.0.680804721845.issue15721@psf.upfronthosting.co.za>
2012-10-15 13:35:47amaury.forgeotdarclinkissue15721 messages
2012-10-15 13:35:47amaury.forgeotdarccreate