Nick Coghlan wrote: > If __format__ receives both the alignment specifier and the format > specifier as arguments,
My suggestion would be for it to receive the alignment spec pre-parsed, since apply_format has to at least partially parse it itself, and there doesn't seem to be anything gained by having *both* the format and alignment specs arbitrary, as anything type-specific can go in the format spec. So the alignment spec might as well have a fixed syntax. -- Greg _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
