We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Getting these warnings with python 3.12
/Users/nils/Library/Caches/pypoetry/virtualenvs/vrex-cli-9LieaW4p-py3.12/lib/python3.12/site-packages/fastcore/script.py:32: SyntaxWarning: invalid escape sequence '\.' x = re.sub("(enum |class|function|__main__\.|\ at.*)", '', x) /Users/nils/Library/Caches/pypoetry/virtualenvs/vrex-cli-9LieaW4p-py3.12/lib/python3.12/site-packages/fastcore/script.py:33: SyntaxWarning: invalid escape sequence '\ ' x = re.sub("(<|>|'|\ )", '', x) # spl characters /Users/nils/Library/Caches/pypoetry/virtualenvs/vrex-cli-9LieaW4p-py3.12/lib/python3.12/site-packages/fastcore/docments.py:62: SyntaxWarning: invalid escape sequence '\s' _clean_re = re.compile('^\s*#(.*)\s*$')
The text was updated successfully, but these errors were encountered:
+1 Same here with Python 3.12
Sorry, something went wrong.
Hello @koliyo ,
Can you firstly check whether if you are using an updated version of the fastcore library. If the issue still persists please try using
import warnings warnings.filterwarnings("ignore", category=SyntaxWarning, module="fastcore")
import warnings
warnings.filterwarnings("ignore", category=SyntaxWarning, module="fastcore")
No branches or pull requests
Getting these warnings with python 3.12
The text was updated successfully, but these errors were encountered: