[issue2997] PyNumberMethods has left-over fields in Py3
Changes by Barry A. Warsaw [EMAIL PROTECTED]: -- priority: critical - release blocker ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2997 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2997] PyNumberMethods has left-over fields in Py3
Guido van Rossum [EMAIL PROTECTED] added the comment: I say let's go with the cleanup. Extensions that want to be compiled under 2.x and 3.0 will need lots of #ifdef code anyway. -- nosy: +gvanrossum ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2997 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2997] PyNumberMethods has left-over fields in Py3
Changes by Barry A. Warsaw [EMAIL PROTECTED]: -- resolution: - accepted ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2997 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2997] PyNumberMethods has left-over fields in Py3
Changes by Benjamin Peterson [EMAIL PROTECTED]: ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2997 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2997] PyNumberMethods has left-over fields in Py3
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- assignee: - benjamin.peterson nosy: +benjamin.peterson ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2997 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2997] PyNumberMethods has left-over fields in Py3
Benjamin Peterson [EMAIL PROTECTED] added the comment: Applied in r64149. -- resolution: accepted - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2997 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2997] PyNumberMethods has left-over fields in Py3
Stefan Behnel [EMAIL PROTECTED] added the comment: :) sorry, that's the problem when you don't have commit rights and leave the changes in your local copy. So this is still an open issue that should be fixed before beta1, thanks. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2997 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2997] PyNumberMethods has left-over fields in Py3
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: Let me quote a comment from GvR about the similar issue1185: Can you redo the patch while keeping the slot *position* (though not the name or type)? The wasted space is minimal (4-8 bytes per type or class object) and it means a lot for third party code if the positional struct initialization never breaks due to insertion or removal of a slot. Since everyone has a zero here anyway, I propose to name the slot nb_reserved and make its type int. OTOH, it's python 3.0, and we are allowed to break things... -- nosy: +amaury.forgeotdarc ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2997 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2997] PyNumberMethods has left-over fields in Py3
Georg Brandl [EMAIL PROTECTED] added the comment: Not to me... -- nosy: +georg.brandl resolution: out of date - status: closed - open ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2997 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2997] PyNumberMethods has left-over fields in Py3
Stefan Behnel [EMAIL PROTECTED] added the comment: This seems to have been applied in current SVN. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2997 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2997] PyNumberMethods has left-over fields in Py3
New submission from Stefan Behnel [EMAIL PROTECTED]: Here is a patch that removes three unused fields from the PyNumberMethods struct in Py3. Since two fields were already removed (one even before the ones this patch removes), there is no way existing Py2 C code that uses this struct can work in Py3 without changes, so it doesn't add any problems. -- components: Interpreter Core files: pynumbermethods-cleanup.patch keywords: patch messages: 67477 nosy: scoder severity: normal status: open title: PyNumberMethods has left-over fields in Py3 versions: Python 3.0 Added file: http://bugs.python.org/file10461/pynumbermethods-cleanup.patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2997 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com