homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ezio.melotti
Recipients barry, ezio.melotti, jcea, petri.lehtinen, r.david.murray, serhiy.storchaka
Date 2012年08月29日.07:53:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1346226814.15.0.973663332517.issue15802@psf.upfronthosting.co.za>
In-reply-to
Content
+ if int(groups[0]) == int(previous_groups[0]):
+ self.assertGreaterEqual(int(groups[1]), int(previous_groups[1]),
This checks that
 int(groups[1]) >= int(previous_groups[1]) if int(groups[0]) == int(previous_groups[0])
whereas the previous version (with the int() fixed) checked that
 int(groups[1]) >= (previous_groups[1]) or groups[0] != groups[1].
Was the previous check nonsensical apart from the wrong usage of int()?
Note that even the indexes you used are different (I haven't checked what those values actually are though).
History
Date User Action Args
2012年08月29日 07:53:34ezio.melottisetrecipients: + ezio.melotti, barry, jcea, r.david.murray, petri.lehtinen, serhiy.storchaka
2012年08月29日 07:53:34ezio.melottisetmessageid: <1346226814.15.0.973663332517.issue15802@psf.upfronthosting.co.za>
2012年08月29日 07:53:33ezio.melottilinkissue15802 messages
2012年08月29日 07:53:33ezio.melotticreate

AltStyle によって変換されたページ (->オリジナル) /