aklajnert added the comment:
Honestly, it seems to me that the documents that you mentioned are discussing
different problems, that may be related, but are not the same as the one I've
described here.
I'm not arguing - you're clearly more experienced and that's not my area of
expertise
aklajnert added the comment:
I agree that adding a package directory to PYTHONPATH is not a good idea,
however, I've stumbled on it in two completely independent companies'
codebases. So it makes me suspect that this is may not be that rare case.
In the previous company we got bitten
Change by aklajnert :
--
title: Overlapping PYTHONPATH may cause -> Overlapping PYTHONPATH may cause
import already imported module
___
Python tracker
<https://bugs.python.org/issu
New submission from aklajnert :
I'm not 100% sure whether it is a bug or intentional behavior but looks like a
bug to me. I couldn't find anything about it here or anywhere else.
Sample project structure:
```
.
├── main.py
└── src
├── __init__.py
├── common_object.py
├── user_1.py