python-executor icon indicating copy to clipboard operation
python-executor copied to clipboard

Replace deprecated `pipes` module with `shlex.quote`

Open sterliakov opened this issue 8 months ago • 1 comments

pipes.quote is undocumented. It is mentioned in 2.7 docs as deprecated and exported as shlex.quote. Now whole pipes module is deprecated as of 3.11 and scheduled for removal in python 3.13.

Currently using executor results in a deprecation warning:

../../.venv/lib/python3.11/site-packages/executor/__init__.py:47
  /.venv/lib/python3.11/site-packages/executor/__init__.py:47: DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13
    import pipes

sterliakov avatar Oct 23 '23 16:10 sterliakov