Hello all!

This surprised me:

   >>> eval("'''\r\n'''")
   '\n'

Where did the \r go? ast.literal_eval() has the same problem:

   >>> ast.literal_eval("'''\r\n'''")
   '\n'

Is this a bug/worth fixing?

Servus,
   Walter
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to