bustub icon indicating copy to clipboard operation
bustub copied to clipboard

feat: Add support to `module 'sre_compile' is deprecated`

Open zizhengWong opened this issue 1 year ago • 1 comments

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

zizhengWong avatar Sep 21 '23 10:09 zizhengWong

make check-lint is no longer required as of Fall 2023 :(

skyzh avatar Sep 21 '23 15:09 skyzh

No longer required, hence closing this PR for now.

prashanthduvvada avatar Aug 09 '24 08:08 prashanthduvvada