Larry Hastings <la...@hastings.org> added the comment:

I guess the answer was "no".

Attached is a new diff as you suggest.  It isn't really any shorter--in fact 
it's about 20% longer.  Though I freely admit it is more written-in-Python-y.

The test currently passes.  If you add support for a new format unit (like add 
"case '8':" above "case 'H':" in convertsimple()) without adding the 
corresponding case to simpleitem(), it fails.  If you perform the same 
operation on simpleitem() but not to convertsimple(), it again fails.  So I 
assert the test is working 100% correctly.

----------
Added file: http://bugs.python.org/file25840/larry.test_skipitem_parity.2.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14769>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to