
On 7/26/25 10:55 AM, Odhiambo Washington via Mailman-users wrote:
Another thing I have seen, inside /etc/mailman3/ root@list:/etc/mailman3# ls -al total 40 drwxr-xr-x 3 mailman mailman 4096 Jul 26 10:52 . drwxr-xr-x 110 root root 12288 Jul 26 07:17 .. -rw-r--r-- 1 mailman mailman 948 Jul 25 02:48 mailman.cfg -rw-r--r-- 1 mailman mailman 352 Oct 25 2023 mailman-hyperkitty.cfg drwxr-xr-x 2 mailman mailman 4096 Jul 26 03:11 __pycache__ <===== Is the presence of this directory expected? -rw-r--r-- 1 mailman mailman 4971 Jul 26 03:10 settings.py -rw-r--r-- 1 mailman mailman 863 Jul 25 04:14 uwsgi.ini
Yes, in any directory that contains .py files, when those files are imported, a corresponding compiled byte code .pyc file is placed in a __pycache__ directory. This is normal Python 3 behavior.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan