Reinhold Birkenfeld wrote:
So what's the current state of the "universal-base-prefix" syntax?

Something like 10x10, 16xA and 8x12?

An interesting thought -- I like the consistency. On the other hand, I have a hard time imagining that this is such a common need that it requires syntactic support. The int type should cover most use cases:


py> int("10", 10)
10
py> int("A", 16)
10
py> int("12", 8)
10

STeVe
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to