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 lemburg
Recipients amaury.forgeotdarc, benjamin.peterson, brett.cannon, christian.heimes, georg.brandl, lemburg, mark.dickinson, pitrou, rhettinger
Date 2008-12-09.16:45:27
SpamBayes Score 2.2234753e-05
Marked as misclassified No
Message-id <493EA0A5.4060101@egenix.com>
In-reply-to <1228835215.68.0.307817759742.issue1717@psf.upfronthosting.co.za>
Content
On 2008-12-09 16:06, Antoine Pitrou wrote:
> Antoine Pitrou <pitrou@free.fr> added the comment:
> 
>> The idea was to have one implementation of the work-around (a>b) - (b<a)
>> instead of 10 or so instances of this snippet in the Python stdlib
>> and probably a few hundred places in other code.
> 
> But what use-case does it solve, except for making legacy code easier to
> port to Py3k?

It implements the DRY principle.
History
Date User Action Args
2008-12-09 16:45:29lemburgsetrecipients: + lemburg, brett.cannon, georg.brandl, rhettinger, amaury.forgeotdarc, mark.dickinson, pitrou, christian.heimes, benjamin.peterson
2008-12-09 16:45:28lemburglinkissue1717 messages
2008-12-09 16:45:27lemburgcreate