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 pitrou
Recipients Alexander.Belopolsky, arigo, belopolsky, bob.ippolito, fredrik_j, mark.dickinson, pitrou, rhettinger, theller
Date 2010-03-05.02:26:41
SpamBayes Score 5.6655506e-05
Marked as misclassified No
Message-id <20100304212634.7ce45721@msiwind>
In-reply-to <d38f5331003041821q2620ff93m4af12c993712b432@mail.gmail.com>
Content
Le Fri, 05 Mar 2010 02:21:30 +0000,
Alexander Belopolsky <report@bugs.python.org> a écrit :
> 
> 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.

Carefully written macros shouldn't be hard to understand.
At least there wouldn't be the risk of overlooking one of the methods
when making modifications.
History
Date User Action Args
2010-03-05 02:26:43pitrousetrecipients: + pitrou, arigo, theller, rhettinger, bob.ippolito, mark.dickinson, belopolsky, fredrik_j, Alexander.Belopolsky
2010-03-05 02:26:41pitroulinkissue887237 messages
2010-03-05 02:26:41pitroucreate