Message172969
| 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? |
|