This puzzles me: evaluating '\i' in Python 3 just gives '\i'. Same with 
IPython. Evaluating it in Sage prints many warning messages: the following 
is from a fresh Sage session, and I only evaluated '\i' once, despite the 
appearance:


% sage
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 9.2.beta2, Release Date: 2020-06-26               │
│ Using Python 3.7.7. Type "help()" for help.                        │
└────────────────────────────────────────────────────────────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Warning: this is a prerelease version, and it may be unstable.     ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
sage: '\i'<input>:1: DeprecationWarning: invalid escape sequence \i
<input>:1: DeprecationWarning: invalid escape sequence \i
<input>:1: DeprecationWarning: invalid escape sequence \i
sage: '\i'
<input>:1: DeprecationWarning: invalid escape sequence \i
<input>:1: DeprecationWarning: invalid escape sequence \i
<input>:1: DeprecationWarning: invalid escape sequence \i
<ipython-input-1-aeb68ac32d93>:1: DeprecationWarning: invalid escape 
sequence \i
  '\i'
'\\i'
sage: 


Why so many deprecation warnings? I think they're coming from plain Python; 
why doesn't Python print the warnings?

-- 
John

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/0a45ea8f-0062-4aad-b4d9-0b12a175daf9o%40googlegroups.com.

Reply via email to