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

Remove pipes module on versions > 3.3.

Open elementalvoid opened this issue 2 years ago • 0 comments

The pipes module is deprecated as of 3.11 and is set to be removed in 3.13.

The shlex module introduced a quote function in 3.3 and the pipes module adopted it at the same time.

I performed the import in such a way as to continue to use the pipes.quote when it wasn't just a wrapper around shlex.quote. (Working under the assumption that you'd like to keep support for older versions.)

I also added newer Python versions to the PyPi classifiers and to the Travis config.

Let me know if there's anything you'd like to adjust (you also have edit permissions on the PR ¯\_(ツ)_/¯).


I recognize this is similar to https://github.com/xolox/python-executor/pull/21. The main difference is that this change supports all Python versions.

elementalvoid avatar Oct 29 '23 22:10 elementalvoid