Message329018
I noticed that with the python2.7 version of distutils.version.LooseVersion let you compare '7' with 'xp' without exceptions (e.g., LooseVersion('7') > LooseVersion('xp')).
If you do the same with python3.6 or python3.7, you'll get the following exception:
* TypeError: '<' not supported between instances of 'int' and 'str'
You can see the full example with complete traceback and differences between python2.x and python3.x here:
* https://pastebin.com/kAwUTihe
Thanks,
davide |
|
| Date |
User |
Action |
Args |
| 2018-10-31 22:28:42 | davide moro | set | recipients:
+ davide moro, eric.araujo, dstufft |
| 2018-10-31 22:28:42 | davide moro | set | messageid: <1541024922.77.0.788709270274.issue35129@psf.upfronthosting.co.za> |
| 2018-10-31 22:28:42 | davide moro | link | issue35129 messages |
| 2018-10-31 22:28:42 | davide moro | create | |
|