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 Alexander.Belopolsky
Recipients Alexander.Belopolsky, arigo, belopolsky, bob.ippolito, fredrik_j, mark.dickinson, pitrou, rhettinger, theller
Date 2010-03-05.02:21:27
SpamBayes Score 4.4266897e-05
Marked as misclassified No
Message-id <d38f5331003041821q2620ff93m4af12c993712b432@mail.gmail.com>
In-reply-to <1267747574.04.0.702083521772.issue887237@psf.upfronthosting.co.za>
Content
Code duplication is unavoidable because the goal is to give access to
machine arithmetics which means (# types) x (# operations) of very
similar looking functions. I considered reducing (perceived) code
duplication through some pre-processor magic, but doing so would make
code much harder to understand and almost impossible to debug.

On Thu, Mar 4, 2010 at 7:06 PM, Antoine Pitrou <report@bugs.python.org> wrote:
>
> Antoine Pitrou <pitrou@free.fr> added the comment:
>
> I don't care much for ctypes but I think the amount of code duplication in that patch is scary.
>
> ----------
> nosy: +pitrou
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue887237>
> _______________________________________
>
History
Date User Action Args
2010-03-05 02:21:30Alexander.Belopolskysetrecipients: + Alexander.Belopolsky, arigo, theller, rhettinger, bob.ippolito, mark.dickinson, belopolsky, pitrou, fredrik_j
2010-03-05 02:21:28Alexander.Belopolskylinkissue887237 messages
2010-03-05 02:21:27Alexander.Belopolskycreate