Message10750

Author zyasoft
Recipients amak, egg, fwierzbicki, jeff.allen, juneau001, santa4nt, zyasoft
Date 2016-02-17.04:49:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1455684581.02.0.766032670972.issue1767@psf.upfronthosting.co.za>
In-reply-to
Content
Fixed as of https://hg.python.org/jython/rev/ab3bea089f77

The failure I saw in test_argparse was due to a PyPI version of the argparse package (I think 1.4) being installed in site-packages, probably due to some package pinning in the testing I had done for testresources (which depends, much like other OpenStack packages, on a rather large list of dependencies). Just needed an `ant clean`!

I also modified Jeff's original patch to apply to KVComparator in the sort implementation.

Lastly here's the relevant part of PEP 207:

6 The min() and list.sort() operations will only use the
  < operator; max() will only use the > operator.  The 'in' and
  'not in' operators and dictionary lookup will only use the ==
  operator.

min and max are implemented correctly, and now so to is list.sort (and consequently sorted)
History
Date User Action Args
2016-02-17 04:49:41zyasoftsetmessageid: <1455684581.02.0.766032670972.issue1767@psf.upfronthosting.co.za>
2016-02-17 04:49:41zyasoftsetrecipients: + zyasoft, fwierzbicki, amak, juneau001, egg, jeff.allen, santa4nt
2016-02-17 04:49:40zyasoftlinkissue1767 messages
2016-02-17 04:49:40zyasoftcreate