PEP238, syntax suggestion for floor division operator (not div)

Terry Reedy tjreedy at home.com
Mon Aug 6 18:59:49 EDT 2001


<average_python at safeadd.net> wrote in message
news:mailman.997132882.31572.python-list at python.org...
> This is NOT a post debating whether or not PEP238 should be
instantiated.
>
> ...rather, a (small) suggestion on the spelling for the new floor
division
> operator that does not seem to have been considered.

Major problem: \ is escape char in strings.  eval('a\b') would not do
what you expect.

Terry J. Reedy






More information about the Python-list mailing list