mark dickinson vqpxmqtcgmailcom tue mar 25 2008 1129 nick coghlan wrote isinstancevalue str check py3k restrictive needs accept bytes instances well hmm theres lot consistency intb1 1 floatb1 10 complexb1 traceback recent call last file line 1 typeerror complex argument must string number fractions import fraction fractionb1 traceback recent call last file line 1 file usersdickinsmpython_sourcepy3klibfractionspy line 98 __new__ numerator numerator__index__ attributeerror bytes object attribute __index__ int float accepts bytes complex decimal fraction mark wed 06 aug 2008 192038 0400 pythondev decimalunicode