Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid escape sequence in special.py #34465

Closed
jhpalmieri opened this issue Aug 31, 2022 · 11 comments
Closed

Invalid escape sequence in special.py #34465

jhpalmieri opened this issue Aug 31, 2022 · 11 comments

Comments

@jhpalmieri
Copy link
Member

I just saw this when doctesting:

/Users/jpalmier/Desktop/Sage/git/sage/src/sage/functions/special.py:852: DeprecationWarning: invalid escape sequence '\p'

To reproduce: assuming you have an editable build, run touch src/sage/functions/special.py and then doctest a file.

Component: documentation

Author: John Palmieri

Branch/Commit: 0497131

Reviewer: Dima Pasechnik

Issue created by migration from https://trac.sagemath.org/ticket/34465

@jhpalmieri
Copy link
Member Author

@jhpalmieri
Copy link
Member Author

New commits:

0497131trac 34465: fix invalid escape sequence in functions/special.py

@jhpalmieri
Copy link
Member Author

Commit: 0497131

@dimpase
Copy link
Member

dimpase commented Aug 31, 2022

Reviewer: Dima Pasechnik

@dimpase
Copy link
Member

dimpase commented Aug 31, 2022

comment:3

lgtm

@jhpalmieri
Copy link
Member Author

comment:4

I enjoy 1 character patches. Thanks for the review!

@kwankyu
Copy link
Collaborator

kwankyu commented Sep 1, 2022

comment:5

The warning is shown when jupyterlab starts. It is very visible.

@kwankyu
Copy link
Collaborator

kwankyu commented Sep 1, 2022

comment:6

Replying to @kwankyu:

The warning is shown when jupyterlab starts. It is very visible.

I cannot reproduce it... Sorry for noise.

@kwankyu
Copy link
Collaborator

kwankyu commented Sep 1, 2022

comment:7

It is reproduced when the python file is compiled for the first time. Anyway, not critical.

@jhpalmieri
Copy link
Member Author

comment:8

You should be able to reproduce it by "touch"ing the file, which will force a recompilation. I agree, probably not critical.

@vbraun
Copy link
Member

vbraun commented Sep 27, 2022

Changed branch from u/jhpalmieri/invalid-escape-special.py to 0497131

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants