New Terminal Output:

root@8beb00c26e2f:/app# cd /app && /usr/local/bin/python3.8 setup.py build_ext --inplace
running build_ext
building 'nogil_ext' extension
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/include/python3.8 -c nogil_ext.c -o build/temp.linux-x86_64-3.8/nogil_ext
.o -O2 -std=c11
nogil_ext.c:249:20: warning: ‘ChunkedChecksum32_spec’ defined but not used [-Wunused-variable]
  249 | static PyType_Spec ChunkedChecksum32_spec = {
      |                    ^~~~~~~~~~~~~~~~~~~~~~
gcc -shared build/temp.linux-x86_64-3.8/nogil_ext.o -o build/lib.linux-x86_64-3.8/nogil_ext.cpython-38-x86_64-linux-gnu.so
copying build/lib.linux-x86_64-3.8/nogil_ext.cpython-38-x86_64-linux-gnu.so ->
root@8beb00c26e2f:/app# /usr/local/bin/python3.8 setup.py install
running install
running bdist_egg
running egg_info
writing nogil_ext.egg-info/PKG-INFO
writing dependency_links to nogil_ext.egg-info/dependency_links.txt
writing top-level names to nogil_ext.egg-info/top_level.txt
reading manifest file 'nogil_ext.egg-info/SOURCES.txt'
writing manifest file 'nogil_ext.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_ext
creating build/bdist.linux-x86_64/egg
copying build/lib.linux-x86_64-3.8/nogil_ext.cpython-38-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/egg
creating stub loader for nogil_ext.cpython-38-x86_64-linux-gnu.so
byte-compiling build/bdist.linux-x86_64/egg/nogil_ext.py to nogil_ext.cpython-38.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying nogil_ext.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying nogil_ext.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying nogil_ext.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying nogil_ext.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt
zip_safe flag not set; analyzing archive contents...
__pycache__.nogil_ext.cpython-38: module references __file__
creating 'dist/nogil_ext-1.0-py3.8-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing nogil_ext-1.0-py3.8-linux-x86_64.egg
removing '/usr/local/lib/python3.8/site-packages/nogil_ext-1.0-py3.8-linux-x86_64.egg' (and everything under it)
creating /usr/local/lib/python3.8/site-packages/nogil_ext-1.0-py3.8-linux-x86_64.egg
Extracting nogil_ext-1.0-py3.8-linux-x86_64.egg to /usr/local/lib/python3.8/site-packages
nogil-ext 1.0 is already the active version in easy-install.pth

Installed /usr/local/lib/python3.8/site-packages/nogil_ext-1.0-py3.8-linux-x86_64.egg
Processing dependencies for nogil-ext==1.0
Finished processing dependencies for nogil-ext==1.0
root@8beb00c26e2f:/app# /usr/local/bin/python3.8 -c "import nogil_ext; print('Python 3.8: checksum32:', nogil_ext.checksum32(b'hello')); c = nogil_ext.ChunkedCh
ecksum32(2, 5); c.submit(0, b'hello'); c.submit(1, b'world'); print('finalize:', c.finalize())"
Python 3.8: checksum32: 792145550
finalize: 1629112880
root@8beb00c26e2f:/app# PYTHON_GIL=0 /usr/local/bin/python3.13t -c "import sys; print('GIL before import:', sys._is_gil_enabled()); import nogil_ext; print('GIL
 after import:', sys._is_gil_enabled()); c = nogil_ext.ChunkedChecksum32(2, 5); c.submit(0, b'hello'); print('GIL after submit:', sys._is_gil_enabled()); c.subm
it(1, b'world'); c.finalize(); print('GIL after finalize:', sys._is_gil_enabled())"
GIL before import: False
GIL after import: False
GIL after submit: False
GIL after finalize: False
root@8beb00c26e2f:/app#
