Mercurial > cpython-lru_cache-weakref
diff Objects/methodobject.c @ 43972:a8dd8874ff2d legacy-trunk
Backport of the PCbuild9 directory from the py3k branch.
I've finished the last task for the PCbuild9 directory today. I don't think there is much left to do. Now you can all play around with the shiny new VS 2008 and try the PGO builds. I was able to get a speed improvement of about 10% on py3k.
Have fun! :)
| author | Christian Heimes <christian@cheimes.de> |
|---|---|
| date | Thu, 22 Nov 2007 11:21:16 +0000 |
| parents | 6620a510e9a9 |
| children | a4c87c889648 |
line wrap: on
line diff
--- a/Objects/methodobject.c Thu Nov 22 00:55:51 2007 +0000 +++ b/Objects/methodobject.c Thu Nov 22 11:21:16 2007 +0000 @@ -180,7 +180,7 @@ #define OFF(x) offsetof(PyCFunctionObject, x) static PyMemberDef meth_members[] = { - {"__module__", T_OBJECT, OFF(m_module), WRITE_RESTRICTED}, + {"__module__", T_OBJECT, OFF(m_module), PY_WRITE_RESTRICTED}, {NULL} };
