Ayush <ayushgoyal.iit...@gmail.com> added the comment:

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.

----------
nosy: +defcon

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32915>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to