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 belopolsky
Recipients LambertDW, belopolsky, georg.brandl, malcolmp, mark.dickinson, meador.inge, rhettinger
Date 2011-01-11.22:07:39
SpamBayes Score 0.0017574249
Marked as misclassified No
Message-id <1294783675.48.0.324104075106.issue5109@psf.upfronthosting.co.za>
In-reply-to
Content
Committed in revision 87942.

@Georg: Yes, I ran coverage and all branches are covered.

@Meador: I don't think the old len calculation could handle the case of array object in initial.  In any case, I don't find the new code much more complicated than the old one.  To the contrary, a chain of simple if-else looks cleaner than the original 2-line boolean expression.
History
Date User Action Args
2011-01-11 22:07:55belopolskysetrecipients: + belopolsky, georg.brandl, rhettinger, mark.dickinson, LambertDW, malcolmp, meador.inge
2011-01-11 22:07:55belopolskysetmessageid: <1294783675.48.0.324104075106.issue5109@psf.upfronthosting.co.za>
2011-01-11 22:07:39belopolskylinkissue5109 messages
2011-01-11 22:07:39belopolskycreate