[issue1185] py3k: Completely remove nb_coerce slot

2008-06-06 Thread Stefan Behnel
Stefan Behnel <[EMAIL PROTECTED]> added the comment: As noted in issue2997, the nb_divide slot (4th field!) has already been removed, so Py2 code has to be adapted anyway. I therefore recommend to just remove all unused fields to get a clean struct for Py3. -- nosy: +scoder

[issue1185] py3k: Completely remove nb_coerce slot

2007-09-21 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks Neil! -- resolution: -> accepted status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___ Python

[issue1185] py3k: Completely remove nb_coerce slot

2007-09-21 Thread Neil Schemenauer
Neil Schemenauer added the comment: I made the changes as suggest by Guido. Commited as SVN rev 58226. Thanks for the patch. -- nosy: +nas __ Tracker <[EMAIL PROTECTED]> __ _

[issue1185] py3k: Completely remove nb_coerce slot

2007-09-21 Thread Guido van Rossum
Guido van Rossum added the comment: 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 inserti

[issue1185] py3k: Completely remove nb_coerce slot

2007-09-21 Thread Martin v. Löwis
Changes by Martin v. Löwis: -- keywords: -py3k __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue1185] py3k: Completely remove nb_coerce slot

2007-09-20 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- keywords: +patch, py3k priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing lis

[issue1185] py3k: Completely remove nb_coerce slot

2007-09-20 Thread Amaury Forgeot d'Arc
New submission from Amaury Forgeot d'Arc: Arguments coercion has been removed in py3k for a while, but there are still some traces of it. This patch removes the nb_coerce slot and the last usages of __coerce__. Documentation is also updated: Py_TPFLAGS_CHECKTYPES does not exists anymore. Note: I