Message100451
I would like to hear from Thomas before introducing macros in this
code. I tried to follow the style of cfield.c which shows similar
code duplication.
There are also some questions that need to be answered before
polishing the code.
1. Should mixed arithmetics be supported?
2. Should we do anything special about floating point operations?
Wrapping them in PyFPE_START/STOP_PROTECT?
3. Should we support in-place operations?
4. Bitwise operations on integers?
On Thu, Mar 4, 2010 at 9:29 PM, Raymond Hettinger
<report@bugs.python.org> wrote:
>
> Raymond Hettinger <rhettinger@users.sourceforge.net> added the comment:
>
> Look at Modules/operator.c for example of an effective use of macros to minimize code duplication.
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue887237>
> _______________________________________
> |
|
Date |
User |
Action |
Args |
2010-03-05 02:46:29 | Alexander.Belopolsky | set | recipients:
+ Alexander.Belopolsky, arigo, theller, rhettinger, bob.ippolito, mark.dickinson, belopolsky, pitrou, fredrik_j |
2010-03-05 02:46:28 | Alexander.Belopolsky | link | issue887237 messages |
2010-03-05 02:46:27 | Alexander.Belopolsky | create | |
|