[Python-Dev] User extendable literal modifiers ?!

Martin v. Loewis martin@v.loewis.de
27 Sep 2002 15:55:48 +0200

"M.-A. Lemburg" <mal@lemburg.com> writes:

> Since these are numbers, it would be convenient if there were
> some way to create them in form of literals, much like 123L
> creates longs instead of integers or u"abc" gives you Unicode
> instead of an 8-bit string.

How would you marshal them?