[issue35956] Sort documentation could be improved for complex sorting

2019-02-10 Thread fabrice salvaire
New submission from fabrice salvaire : I just implemented Graham Scan algorithm in Python 3 and have to read carefully the sort documentation. Notice this is a good algorithm for a large audience language like Python. Since Python 3, the old order function cmp is depicted as an old way to

[issue33390] matmul @ operator precedence

2018-04-29 Thread fabrice salvaire
New submission from fabrice salvaire : I use the new matmul @ operator to implement units, for example 1@u_s for 1 second ( see alpha state implementation at https://github.com/FabriceSalvaire/PySpice/tree/master/PySpice/Unit ). It looks cool, but unfortunately 10@u_s / 2@u_s is actually