PEP 313 - Roman numeral literals

Peter Hansen peter at engcorp.com
Wed Apr 2 10:22:24 EST 2003


sik0fewl wrote:
> 
> Ben Hutchings wrote:
> > In article <x7y92uhzpw.fsf at guru.mired.org>, Mike Meyer wrote:
> > <snip>
> >
> >>    3.  At most three Is, Xs and Cs may appear in any given literal.
> >
> > <snip>
> >
> > OK cleverclogs, how do we write 39?
> 
> Although I honestly don't know how, I'm sure it's possible. Here's how I
> would do it, although it's probably not the right way. My roman numerals
> are a bit rusty. :)

This was a frequent problem with the early generations of Roman numerals,
but newer technology now allows production of stainless Roman numerals,
which merely acquire a very light layer of surface oxidation which then
prevents further degradation and flaking as with rust.

I believe Google could provide more detail with a search using 
"stainless roman numerals" or something like that.

-Peter




More information about the Python-list mailing list