pep 308: why doing (almost) nothing suffices
Edward K. Ream
edream at tds.net
Mon Mar 10 08:25:38 EST 2003
> How about repr(s)?
I don't think so.
>>> s = 'a'
>>> repr(s)
"'a'"
>>> s = "a"
>>> repr(s)
"'a'"
While quote might be nice to have on its own, Steven Taschuck has shown that
choose_eval doesn't really work.
Edward
--------------------------------------------------------------------
Edward K. Ream email: edream at tds.net
Leo: Literate Editor with Outlines
Leo: http://personalpages.tds.net/~edream/front.html
--------------------------------------------------------------------
More information about the Python-list
mailing list