New Upstream Release - python-shellescape

Ready changes

Summary

Merged new upstream version: 3.8.1 (was: 3.4.1).

Resulting package

Built on 2023-03-14T09:01 (took 1m57s)

The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:

apt install -t fresh-releases python3-shellescape

Lintian Result

Diff

diff --git a/PKG-INFO b/PKG-INFO
index a7cb208..26ef2d4 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,90 +1,83 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
 Name: shellescape
-Version: 3.4.1
-Summary: Shell escape a string to safely use it as a token in a shell command (backport of Python shlex.quote for Python versions 2.x & < 3.3)
+Version: 3.8.1
+Summary: Shell escape a string to safely use it as a token in a shell command (backport of cPython shlex.quote for Python versions 2.x & < 3.3)
 Home-page: https://github.com/chrissimpkins/shellescape
 Author: Christopher Simpkins
 Author-email: git.simpkins@gmail.com
 License: MIT license
-Description: Source Repository: https://github.com/chrissimpkins/shellescape
+Description: # shellescape
         
-        Description
-        -----------
+        ## Description
         
-        The shellescape Python module defines the ``shellescape.quote()`` function that returns a shell-escaped version of a Python string.  This is a backport of the ``shlex.quote()`` function from Python 3.4.3 that makes it accessible to users of Python 3 versions < 3.3 and all Python 2.x versions.
+        The shellescape Python module defines the `shellescape.quote()` function that returns a shell-escaped version of a Python string.  This is a backport of the `shlex.quote()` function from Python 3.8 that makes it accessible to users of Python 3 versions < 3.3 and all Python 2.x versions.
         
-        quote(s)
-        --------
         
-        From the Python documentation:
+        ### quote(s)
+        
+        *From the Python documentation*:
         
         Return a shell-escaped version of the string s. The returned value is a string that can safely be used as one token in a shell command line, for cases where you cannot use a list.
         
         This idiom would be unsafe:
         
-        .. code-block:: python
-        
-        	>>> filename = 'somefile; rm -rf ~'
-        	>>> command = 'ls -l {}'.format(filename)
-        	>>> print(command)  # executed by a shell: boom!
-        	ls -l somefile; rm -rf ~
-        
-        
-        ``quote()`` lets you plug the security hole:
-        
-        .. code-block:: python
-        
-        	>>> command = 'ls -l {}'.format(quote(filename))
-        	>>> print(command)
-        	ls -l 'somefile; rm -rf ~'
-        	>>> remote_command = 'ssh home {}'.format(quote(command))
-        	>>> print(remote_command)
-        	ssh home 'ls -l '"'"'somefile; rm -rf ~'"'"''
-        
-        
-        The quoting is compatible with UNIX shells and with ``shlex.split()``:
-        
-        .. code-block:: python
-        
-        	>>> remote_command = split(remote_command)
-        	>>> remote_command
-        	['ssh', 'home', "ls -l 'somefile; rm -rf ~'"]
-        	>>> command = split(remote_command[-1])
-        	>>> command
-        	['ls', '-l', 'somefile; rm -rf ~']
+        ```python
+        >>> filename = 'somefile; rm -rf ~'
+        >>> command = 'ls -l {}'.format(filename)
+        >>> print(command)  # executed by a shell: boom!
+        ls -l somefile; rm -rf ~
+        ```
         
+        `quote()` lets you plug the security hole:
         
-        Usage
-        -----
+        ```python
+        >>> command = 'ls -l {}'.format(quote(filename))
+        >>> print(command)
+        ls -l 'somefile; rm -rf ~'
+        >>> remote_command = 'ssh home {}'.format(quote(command))
+        >>> print(remote_command)
+        ssh home 'ls -l '"'"'somefile; rm -rf ~'"'"''
+        ```
         
-        Include ``shellescape`` in your project setup.py file ``install_requires`` dependency definition list:
+        The quoting is compatible with UNIX shells and with `shlex.split()`:
         
-        .. code-block:: python
+        ```python
+        >>> remote_command = split(remote_command)
+        >>> remote_command
+        ['ssh', 'home', "ls -l 'somefile; rm -rf ~'"]
+        >>> command = split(remote_command[-1])
+        >>> command
+        ['ls', '-l', 'somefile; rm -rf ~']
+        ```
         
-        	setup(
-        	    ...
-        	    install_requires=['shellescape'],
-        	    ...
-        	)
         
+        ## Usage
         
-        Then import the ``quote`` function into your module(s) and use it as needed:
+        Include `shellescape` in your project setup.py file `install_requires` dependency definition list:
         
-        .. code-block:: python
+        ```python
+        setup(
+            ...
+            install_requires=['shellescape'],
+            ...
+        )
+        ```
         
-        	#!/usr/bin/env python
-        	# -*- coding: utf-8 -*-
+        Then import the `quote` function into your module(s) and use it as needed:
         
-        	from shellescape import quote
+        ```python
+        #!/usr/bin/env python
+        # -*- coding: utf-8 -*-
         
-        	filename = "somefile; rm -rf ~"
-        	escaped_shell_command = 'ls -l {}'.format(quote(filename))
+        from shellescape import quote
         
+        filename = "somefile; rm -rf ~"
+        escaped_shell_command = 'ls -l {}'.format(quote(filename))
+        ```
         
-        Issue Reporting
-        ---------------
+        ## License
         
-        Issue reporting is available on the `GitHub repository <https://github.com/chrissimpkins/shellescape/issues>`_
+        [LICENSE](https://github.com/chrissimpkins/shellescape/blob/master/docs/LICENSE)
         
         
         
@@ -101,3 +94,4 @@ Classifier: Operating System :: MacOS :: MacOS X
 Classifier: Operating System :: POSIX
 Classifier: Operating System :: Unix
 Classifier: Operating System :: Microsoft :: Windows
+Description-Content-Type: text/markdown
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..2d28c3c
--- /dev/null
+++ b/README.md
@@ -0,0 +1,74 @@
+# shellescape
+
+## Description
+
+The shellescape Python module defines the `shellescape.quote()` function that returns a shell-escaped version of a Python string.  This is a backport of the `shlex.quote()` function from Python 3.8 that makes it accessible to users of Python 3 versions < 3.3 and all Python 2.x versions.
+
+
+### quote(s)
+
+*From the Python documentation*:
+
+Return a shell-escaped version of the string s. The returned value is a string that can safely be used as one token in a shell command line, for cases where you cannot use a list.
+
+This idiom would be unsafe:
+
+```python
+>>> filename = 'somefile; rm -rf ~'
+>>> command = 'ls -l {}'.format(filename)
+>>> print(command)  # executed by a shell: boom!
+ls -l somefile; rm -rf ~
+```
+
+`quote()` lets you plug the security hole:
+
+```python
+>>> command = 'ls -l {}'.format(quote(filename))
+>>> print(command)
+ls -l 'somefile; rm -rf ~'
+>>> remote_command = 'ssh home {}'.format(quote(command))
+>>> print(remote_command)
+ssh home 'ls -l '"'"'somefile; rm -rf ~'"'"''
+```
+
+The quoting is compatible with UNIX shells and with `shlex.split()`:
+
+```python
+>>> remote_command = split(remote_command)
+>>> remote_command
+['ssh', 'home', "ls -l 'somefile; rm -rf ~'"]
+>>> command = split(remote_command[-1])
+>>> command
+['ls', '-l', 'somefile; rm -rf ~']
+```
+
+
+## Usage
+
+Include `shellescape` in your project setup.py file `install_requires` dependency definition list:
+
+```python
+setup(
+    ...
+    install_requires=['shellescape'],
+    ...
+)
+```
+
+Then import the `quote` function into your module(s) and use it as needed:
+
+```python
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+
+from shellescape import quote
+
+filename = "somefile; rm -rf ~"
+escaped_shell_command = 'ls -l {}'.format(quote(filename))
+```
+
+## License
+
+[LICENSE](https://github.com/chrissimpkins/shellescape/blob/master/docs/LICENSE)
+
+
diff --git a/debian/changelog b/debian/changelog
index 64b9871..74d19fa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+python-shellescape (3.8.1-1) UNRELEASED; urgency=low
+
+  * New upstream release.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Tue, 14 Mar 2023 08:59:55 -0000
+
 python-shellescape (3.4.1-5) unstable; urgency=medium
 
   [ Debian Janitor ]
diff --git a/docs/LICENSE b/docs/LICENSE
index 5f80fb0..4c598c1 100644
--- a/docs/LICENSE
+++ b/docs/LICENSE
@@ -20,15 +20,13 @@ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
 
-
-
 SUMMARY OF CHANGES
 
-The Python 3.4.3 function `quote` from the `shlex` module (`shlex.quote()`) was backported in order to provide access
+The cPython 3.8.1 function `quote` from the `shlex` module (`shlex.quote()`) was backported in order to provide access
 to this function in earlier versions of Python.  The regular expression used to identify unsafe command line strings
 was modified to:
 
-_find_unsafe = re.compile(r'[a-zA-Z0-9_^@%+=:,./-]').search
+_find_unsafe = re.compile(r'[^\w@%+=:,./-]').search
 
 from:
 
@@ -37,20 +35,46 @@ _find_unsafe = re.compile(r'[^\w@%+=:,./-]', re.ASCII).search
 in order to remove the re.ASCII flag which is not available in the Python 2.x re module
 
 
-
-PSF LICENSE AGREEMENT FOR PYTHON 3.4.3
-
-This LICENSE AGREEMENT is between the Python Software Foundation (“PSF”), and the Individual or Organization (“Licensee”) accessing and otherwise using Python 3.4.3 software in source or binary form and its associated documentation.
-
-Subject to the terms and conditions of this License Agreement, PSF hereby grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, analyze, test, perform and/or display publicly, prepare derivative works, distribute, and otherwise use Python 3.4.3 alone or in any derivative version, provided, however, that PSF’s License Agreement and PSF’s notice of copyright, i.e., “Copyright © 2001-2015 Python Software Foundation; All Rights Reserved” are retained in Python 3.4.3 alone or in any derivative version prepared by Licensee.
-
-In the event Licensee prepares a derivative work that is based on or incorporates Python 3.4.3 or any part thereof, and wants to make the derivative work available to others as provided herein, then Licensee hereby agrees to include in any such work a brief summary of the changes made to Python 3.4.3.
-
-PSF is making Python 3.4.3 available to Licensee on an “AS IS” basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 3.4.3 WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
-
-PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON 3.4.3 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 3.4.3, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
-
-This License Agreement will automatically terminate upon a material breach of its terms and conditions.
-Nothing in this License Agreement shall be deemed to create any relationship of agency, partnership, or joint venture between PSF and Licensee. This License Agreement does not grant permission to use PSF trademarks or trade name in a trademark sense to endorse or promote products or services of Licensee, or any third party.
-
-By copying, installing or otherwise using Python 3.4.3, Licensee agrees to be bound by the terms and conditions of this License Agreement.
+PSF LICENSE AGREEMENT FOR PYTHON 3.8.1
+
+1. This LICENSE AGREEMENT is between the Python Software Foundation ("PSF"), and
+   the Individual or Organization ("Licensee") accessing and otherwise using Python
+   3.8.1 software in source or binary form and its associated documentation.
+
+2. Subject to the terms and conditions of this License Agreement, PSF hereby
+   grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
+   analyze, test, perform and/or display publicly, prepare derivative works,
+   distribute, and otherwise use Python 3.8.1 alone or in any derivative
+   version, provided, however, that PSF's License Agreement and PSF's notice of
+   copyright, i.e., "Copyright © 2001-2020 Python Software Foundation; All Rights
+   Reserved" are retained in Python 3.8.1 alone or in any derivative version
+   prepared by Licensee.
+
+3. In the event Licensee prepares a derivative work that is based on or
+   incorporates Python 3.8.1 or any part thereof, and wants to make the
+   derivative work available to others as provided herein, then Licensee hereby
+   agrees to include in any such work a brief summary of the changes made to Python
+   3.8.1.
+
+4. PSF is making Python 3.8.1 available to Licensee on an "AS IS" basis.
+   PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED.  BY WAY OF
+   EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND DISCLAIMS ANY REPRESENTATION OR
+   WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE
+   USE OF PYTHON 3.8.1 WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
+
+5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON 3.8.1
+   FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF
+   MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 3.8.1, OR ANY DERIVATIVE
+   THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
+
+6. This License Agreement will automatically terminate upon a material breach of
+   its terms and conditions.
+
+7. Nothing in this License Agreement shall be deemed to create any relationship
+   of agency, partnership, or joint venture between PSF and Licensee.  This License
+   Agreement does not grant permission to use PSF trademarks or trade name in a
+   trademark sense to endorse or promote products or services of Licensee, or any
+   third party.
+
+8. By copying, installing or otherwise using Python 3.8.1, Licensee agrees
+   to be bound by the terms and conditions of this License Agreement.
\ No newline at end of file
diff --git a/lib/shellescape.egg-info/PKG-INFO b/lib/shellescape.egg-info/PKG-INFO
index a7cb208..26ef2d4 100644
--- a/lib/shellescape.egg-info/PKG-INFO
+++ b/lib/shellescape.egg-info/PKG-INFO
@@ -1,90 +1,83 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
 Name: shellescape
-Version: 3.4.1
-Summary: Shell escape a string to safely use it as a token in a shell command (backport of Python shlex.quote for Python versions 2.x & < 3.3)
+Version: 3.8.1
+Summary: Shell escape a string to safely use it as a token in a shell command (backport of cPython shlex.quote for Python versions 2.x & < 3.3)
 Home-page: https://github.com/chrissimpkins/shellescape
 Author: Christopher Simpkins
 Author-email: git.simpkins@gmail.com
 License: MIT license
-Description: Source Repository: https://github.com/chrissimpkins/shellescape
+Description: # shellescape
         
-        Description
-        -----------
+        ## Description
         
-        The shellescape Python module defines the ``shellescape.quote()`` function that returns a shell-escaped version of a Python string.  This is a backport of the ``shlex.quote()`` function from Python 3.4.3 that makes it accessible to users of Python 3 versions < 3.3 and all Python 2.x versions.
+        The shellescape Python module defines the `shellescape.quote()` function that returns a shell-escaped version of a Python string.  This is a backport of the `shlex.quote()` function from Python 3.8 that makes it accessible to users of Python 3 versions < 3.3 and all Python 2.x versions.
         
-        quote(s)
-        --------
         
-        From the Python documentation:
+        ### quote(s)
+        
+        *From the Python documentation*:
         
         Return a shell-escaped version of the string s. The returned value is a string that can safely be used as one token in a shell command line, for cases where you cannot use a list.
         
         This idiom would be unsafe:
         
-        .. code-block:: python
-        
-        	>>> filename = 'somefile; rm -rf ~'
-        	>>> command = 'ls -l {}'.format(filename)
-        	>>> print(command)  # executed by a shell: boom!
-        	ls -l somefile; rm -rf ~
-        
-        
-        ``quote()`` lets you plug the security hole:
-        
-        .. code-block:: python
-        
-        	>>> command = 'ls -l {}'.format(quote(filename))
-        	>>> print(command)
-        	ls -l 'somefile; rm -rf ~'
-        	>>> remote_command = 'ssh home {}'.format(quote(command))
-        	>>> print(remote_command)
-        	ssh home 'ls -l '"'"'somefile; rm -rf ~'"'"''
-        
-        
-        The quoting is compatible with UNIX shells and with ``shlex.split()``:
-        
-        .. code-block:: python
-        
-        	>>> remote_command = split(remote_command)
-        	>>> remote_command
-        	['ssh', 'home', "ls -l 'somefile; rm -rf ~'"]
-        	>>> command = split(remote_command[-1])
-        	>>> command
-        	['ls', '-l', 'somefile; rm -rf ~']
+        ```python
+        >>> filename = 'somefile; rm -rf ~'
+        >>> command = 'ls -l {}'.format(filename)
+        >>> print(command)  # executed by a shell: boom!
+        ls -l somefile; rm -rf ~
+        ```
         
+        `quote()` lets you plug the security hole:
         
-        Usage
-        -----
+        ```python
+        >>> command = 'ls -l {}'.format(quote(filename))
+        >>> print(command)
+        ls -l 'somefile; rm -rf ~'
+        >>> remote_command = 'ssh home {}'.format(quote(command))
+        >>> print(remote_command)
+        ssh home 'ls -l '"'"'somefile; rm -rf ~'"'"''
+        ```
         
-        Include ``shellescape`` in your project setup.py file ``install_requires`` dependency definition list:
+        The quoting is compatible with UNIX shells and with `shlex.split()`:
         
-        .. code-block:: python
+        ```python
+        >>> remote_command = split(remote_command)
+        >>> remote_command
+        ['ssh', 'home', "ls -l 'somefile; rm -rf ~'"]
+        >>> command = split(remote_command[-1])
+        >>> command
+        ['ls', '-l', 'somefile; rm -rf ~']
+        ```
         
-        	setup(
-        	    ...
-        	    install_requires=['shellescape'],
-        	    ...
-        	)
         
+        ## Usage
         
-        Then import the ``quote`` function into your module(s) and use it as needed:
+        Include `shellescape` in your project setup.py file `install_requires` dependency definition list:
         
-        .. code-block:: python
+        ```python
+        setup(
+            ...
+            install_requires=['shellescape'],
+            ...
+        )
+        ```
         
-        	#!/usr/bin/env python
-        	# -*- coding: utf-8 -*-
+        Then import the `quote` function into your module(s) and use it as needed:
         
-        	from shellescape import quote
+        ```python
+        #!/usr/bin/env python
+        # -*- coding: utf-8 -*-
         
-        	filename = "somefile; rm -rf ~"
-        	escaped_shell_command = 'ls -l {}'.format(quote(filename))
+        from shellescape import quote
         
+        filename = "somefile; rm -rf ~"
+        escaped_shell_command = 'ls -l {}'.format(quote(filename))
+        ```
         
-        Issue Reporting
-        ---------------
+        ## License
         
-        Issue reporting is available on the `GitHub repository <https://github.com/chrissimpkins/shellescape/issues>`_
+        [LICENSE](https://github.com/chrissimpkins/shellescape/blob/master/docs/LICENSE)
         
         
         
@@ -101,3 +94,4 @@ Classifier: Operating System :: MacOS :: MacOS X
 Classifier: Operating System :: POSIX
 Classifier: Operating System :: Unix
 Classifier: Operating System :: Microsoft :: Windows
+Description-Content-Type: text/markdown
diff --git a/lib/shellescape.egg-info/SOURCES.txt b/lib/shellescape.egg-info/SOURCES.txt
index 572959c..d1cdd7c 100644
--- a/lib/shellescape.egg-info/SOURCES.txt
+++ b/lib/shellescape.egg-info/SOURCES.txt
@@ -1,4 +1,5 @@
 MANIFEST.in
+README.md
 setup.cfg
 setup.py
 docs/LICENSE
diff --git a/lib/shellescape/main.py b/lib/shellescape/main.py
index 0d06b7a..3409350 100644
--- a/lib/shellescape/main.py
+++ b/lib/shellescape/main.py
@@ -4,18 +4,16 @@
 import re
 
 
-_find_unsafe = re.compile(r'[a-zA-Z0-9_^@%+=:,./-]').search
+_find_unsafe = re.compile(r'[^\w@%+=:,./-]').search
 
 
 def quote(s):
     """Return a shell-escaped version of the string *s*."""
     if not s:
         return "''"
-
     if _find_unsafe(s) is None:
         return s
 
     # use single quotes, and put single quotes into double quotes
     # the string $'b is then quoted as '$'"'"'b'
-
     return "'" + s.replace("'", "'\"'\"'") + "'"
diff --git a/lib/shellescape/settings.py b/lib/shellescape/settings.py
index c39e436..7600a2f 100644
--- a/lib/shellescape/settings.py
+++ b/lib/shellescape/settings.py
@@ -10,6 +10,6 @@ app_name = 'shellescape'
 # Version Number
 # ------------------------------------------------------------------------------
 major_version = "3"
-minor_version = "4"
+minor_version = "8"
 patch_version = "1"
 
diff --git a/setup.cfg b/setup.cfg
index 6c71b61..1e3eb36 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -4,5 +4,4 @@ universal = 1
 [egg_info]
 tag_build = 
 tag_date = 0
-tag_svn_revision = 0
 
diff --git a/setup.py b/setup.py
index 52824c3..3f13a99 100644
--- a/setup.py
+++ b/setup.py
@@ -1,17 +1,14 @@
 import os
 import re
+import sys
 from setuptools import setup, find_packages
 
 
-def docs_read(fname):
-    return open(os.path.join(os.path.dirname(__file__), 'docs', fname)).read()
-
-
 def version_read():
     settings_file = open(os.path.join(os.path.dirname(__file__), 'lib', 'shellescape', 'settings.py')).read()
-    major_regex = """major_version\s*?=\s*?["']{1}(\d+)["']{1}"""
-    minor_regex = """minor_version\s*?=\s*?["']{1}(\d+)["']{1}"""
-    patch_regex = """patch_version\s*?=\s*?["']{1}(\d+)["']{1}"""
+    major_regex = r"""major_version\s*?=\s*?["']{1}(\d+)["']{1}"""
+    minor_regex = r"""minor_version\s*?=\s*?["']{1}(\d+)["']{1}"""
+    patch_regex = r"""patch_version\s*?=\s*?["']{1}(\d+)["']{1}"""
     major_match = re.search(major_regex, settings_file)
     minor_match = re.search(minor_regex, settings_file)
     patch_match = re.search(patch_regex, settings_file)
@@ -27,11 +24,25 @@ def version_read():
     return major_version + "." + minor_version + "." + patch_version
 
 
+# Use repository Markdown README.md for PyPI long description
+try:
+    with open("README.md", "r") as f:
+        readme = f.read()
+except IOError as readme_e:
+    sys.stderr.write(
+        "[ERROR] setup.py: Failed to read the README.md file for the long description definition: {}".format(
+            str(readme_e)
+        )
+    )
+    raise readme_e
+
+
 setup(
     name='shellescape',
     version=version_read(),
-    description='Shell escape a string to safely use it as a token in a shell command (backport of Python shlex.quote for Python versions 2.x & < 3.3)',
-    long_description=(docs_read('README.rst')),
+    description='Shell escape a string to safely use it as a token in a shell command (backport of cPython shlex.quote for Python versions 2.x & < 3.3)',
+    long_description=readme,
+    long_description_content_type="text/markdown",
     url='https://github.com/chrissimpkins/shellescape',
     license='MIT license',
     author='Christopher Simpkins',

Debdiff

[The following lists of changes regard files as different if they have different names, permissions or owners.]

Files in second set of .debs but not in first

-rw-r--r--  root/root   /usr/lib/python3/dist-packages/shellescape-3.8.1.egg-info/PKG-INFO
-rw-r--r--  root/root   /usr/lib/python3/dist-packages/shellescape-3.8.1.egg-info/dependency_links.txt
-rw-r--r--  root/root   /usr/lib/python3/dist-packages/shellescape-3.8.1.egg-info/top_level.txt

Files in first set of .debs but not in second

-rw-r--r--  root/root   /usr/lib/python3/dist-packages/shellescape-3.4.1.egg-info/PKG-INFO
-rw-r--r--  root/root   /usr/lib/python3/dist-packages/shellescape-3.4.1.egg-info/dependency_links.txt
-rw-r--r--  root/root   /usr/lib/python3/dist-packages/shellescape-3.4.1.egg-info/top_level.txt

No differences were encountered in the control files

More details

Full run details