add cgi.py to the distribution

This commit is contained in:
adam j hartz 2024-01-19 22:12:36 -05:00
commit 79c16c70f7
Signed by: hz
GPG key ID: B63A0A59F5C82493
4 changed files with 1107 additions and 1 deletions

View file

@ -47,6 +47,10 @@ DOCUMENTATION:
VENDORED SOFTWARE:
* A version of cgi.py from the Python standard library is now included in the
distribution, since that module will be removed from the standard library in
3.13 and we depend on it for parsing form data.
##################
# Version 19.0.4 #

View file

@ -39,6 +39,16 @@ For more information, please refer to <http://unlicense.org/>
########
CAT-SOOP contains a slightly-modified copy of cgi.py from the Python standard
library (removed in Python 3.13). Information about its authorship can be
found in the file itself, and the original file is licensed under the terms
described at the following link:
https://docs.python.org/3/license.html#psf-license-agreement-for-python-release
########
CAT-SOOP contains a slightly-modified version of highlight.js, a Javascript
library for syntax highlighting (https://highlightjs.org/). In particular,
syntax highlighting of Python code was modified to include more built-in names.

View file

@ -18,7 +18,6 @@ Methods for handling requests, or for routing them to the proper handlers
"""
import os
import cgi
import string
import hashlib
import colorsys
@ -40,6 +39,8 @@ from . import session
from . import language
from . import base_context
from .thirdparty import cgi
_nodoc = {"CSFormatter", "formatdate", "dict_from_cgi_form", "md5"}

1091
catsoop/thirdparty/cgi.py vendored Executable file

File diff suppressed because it is too large Load diff