bustub
bustub copied to clipboard
feat: Add support to `module 'sre_compile' is deprecated`
when I run make check-lint
, I got
build_support/cpplint.py:52: DeprecationWarning: module 'sre_compile' is deprecated
import sre_compile
this python module has been deprecated
fix bug
sre_* modules like sre_constants
, sre_compile
, and sre_parse
were deprecated in 3.11
I use re._compiler
instead, and it works!
reference
https://github.com/python/cpython/issues/105456
make check-lint
is no longer required as of Fall 2023 :(
No longer required, hence closing this PR for now.