text_combined: nick coghlan uytankmfgmailcom facundo batista wrote 2008325 mark dickinson int float accepts bytes complex decimal fraction im 1 accept bytes input decimal dont see case use think conceptually theres reason course wrong thinking converting directly bytes would significantly quicker going unicode eg numbers read file may actually case itll definitely faster less data copying movement involved speed difference may less dramatic first thought internal storage mantissa definitely needs changed bytes object order retain marks hardwon performance improvements case whether accept bytes far less clear way see either complex decimal fraction need updated accept bytes objects else int float need updated reject definitely needs possible convert bytes objects integers ascii strings otherwise lot wire protocol processing would become nightmare indeed proposed change decimal store mantissa bytes object py3k assumes still possible convert value directly long object since strong use cases least bytesint case consistency suggests numeric types accept bytes well interpreting ascii encoded strings cheers nick nick coghlan uytankmfgmailcom brisbane australia httpwwwboredomandlazinessorg _______________________________________________ pythondev mailing list zvlllneumpythonorg httpmailpythonorgmailmanlistinfopythondev unsubscribe httpmailpythonorgmailmanoptionspythondevpythondev40tangomucom thu 07 aug 2008 092242 1000 pythondev decimalunicode