New submission from Andrew Johnson <wesoly.krzyszt...@gmail.com>:

Hi,

I'm loading multiple files in same convention - same filename, as a part of 
creating a build system. I can compare the case to the loading multple 
configuration files for various plugins in the application, the file contents 
of multiple files from different directories are mixed together which looks 
dangerous.

Here is a reproducible case for Python 3.9.4 (running on Arch Linux)
https://github.com/blackandred/python-bug-sourcefileloader

----------
hgrepos: 406
messages: 395908
nosy: blackandred
priority: normal
severity: normal
status: open
title: SourceFileLoader.load_module() is mixing content of previosly loaded 
files
versions: Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44432>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to