This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author belopolsky
Recipients belopolsky, benjamin.peterson, georg.brandl
Date 2008-04-09.22:21:27
SpamBayes Score 0.19010347
Marked as misclassified No
Message-id <d38f5330804091521y1011f50br39828fd50bcc1acc@mail.gmail.com>
In-reply-to <1207778893.17.0.462167573205.issue2603@psf.upfronthosting.co.za>
Content
On Wed, Apr 9, 2008 at 6:08 PM, Georg Brandl <report@bugs.python.org> wrote:

>  Ah yes, and variable declarations must be at the start of a block

You can avoid the need for extra local variables by declaring
range_richcompare arguments as rangeobject* and casting the function
to richcmpfunc in type initialization.  See for example
weakrefobject.c implementation.
History
Date User Action Args
2008-04-09 22:21:29belopolskysetspambayes_score: 0.190103 -> 0.19010347
recipients: + belopolsky, georg.brandl, benjamin.peterson
2008-04-09 22:21:28belopolskylinkissue2603 messages
2008-04-09 22:21:27belopolskycreate