Message 316236 - Python tracker

Message316236

Author defcon
Recipients benjamin.peterson, defcon, rhettinger, trey
Date 2018-05-06.14:28:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1525616895.08.0.682650639539.issue32915@psf.upfronthosting.co.za>
In-reply-to
Content
I believe 2to3 should be able to replicate the same results of cmp function in python 3 too. I can create a PR which will allow the library to handle it. 

For example, a function call cmp(a,b) can be replaced with (a>b)-(a<b) . 

I can send a pull request for this change if this is Ok.
History
Date User Action Args
2018-05-06 14:28:15defconsetrecipients: + defcon, rhettinger, benjamin.peterson, trey
2018-05-06 14:28:15defconsetmessageid: <1525616895.08.0.682650639539.issue32915@psf.upfronthosting.co.za>
2018-05-06 14:28:15defconlinkissue32915 messages
2018-05-06 14:28:15defconcreate