Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

theskumar
Copy link
Owner

Not removing the check using the __main__.__file__ for backward compatibility and ensure we don't break any existing use-cases.

I tested and some of the environments like notebooks, VSCode notebook and Google Colab doesn't set the ps1 attribute of sys, let's revisit and remove the extra checks if someone can prove it otherwise.

Closes #562

Thanks @burnout-projects @mpounsett

theskumar added 3 commits May 30, 2025 12:46
Not removing the check using the `__main__.__file__` for backward
compatibility and ensure we don't break any existing use-cases.

I tested and some of the environments like notebooks, VSCode notebook
and Google Colab doesn't set the `ps1` attribute of `sys`, let's revisit
and remove the extra checks if someone can prove it otherwise.

Closes #562

Thanks @burnout-projects @mpounsett
@theskumar theskumar merged commit 8411987 into main May 30, 2025
14 checks passed
@theskumar theskumar deleted the fix-562-py13 branch May 30, 2025 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

load_dotenv fails to find .env file by default under python 3.13
1 participant