Message65278
| 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. |
|