Included sitecustomize.py breaks any package-defined sitecustomize.py

Bug #2035040 reported by Gresm
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python3.10 (Ubuntu)
New
Undecided
Unassigned

Bug Description

An example of a real package that breaks because of pre-defined sitecustomize.py: https://pypi.org/project/sitecustomize-entrypoints/ When importing sitecustomize (as sitecustomize-entrypoints define it and it has some functionalities) instead of an expected module from sitecustomize-entrypoints, the included one is imported. This file is not included in python source distribution nor (likely) other python distributions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.