You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Enhance <code>dotenv run</code>, switch to <code>execvpe</code> for better resource management and signal handling (<ahref="https://github.com/theskumar/python-dotenv/issues/523">#523</a>) by <ahref="https://github.com/eekstunt">@eekstunt</a></p>
878
+
<p><strong>Fixed</strong>
879
+
- <code>find_dotenv</code> and <code>load_dotenv</code> now correctly looks up at the current directory when running in debugger or pdb (<ahref="https://github.com/theskumar/python-dotenv/issues/553">#553</a> by <ahref="https://github.com/zueve">@randomseed42</a>)</p>
<li>Gracefully handle code which has been imported from a zipfile (<ahref="https://github.com/theskumar/python-dotenv/issues/456">#456</a> by <ahref="https://github.com/samwyma">@samwyma</a>)</li>
886
+
<li>Allow modules using <code>load_dotenv</code> to be reloaded when launched in a separate thread ([#497] by <ahref="https://github.com/freddyaboulton">@freddyaboulton</a>)</li>
887
+
<li>Fix file not closed after deletion, handle error in the rewrite function (<ahref="https://github.com/theskumar/python-dotenv/issues/469">#469</a> by <ahref="https://github.com/Qwerty-133">@Qwerty-133</a>)</li>
888
+
</ul>
889
+
<p><strong>Misc</strong>
890
+
* Use pathlib.Path in tests (<ahref="https://github.com/theskumar/python-dotenv/issues/466">#466</a> by <ahref="https://github.com/eumiro">@eumiro</a>)
891
+
* Fix year in release date in changelog.md (<ahref="https://github.com/theskumar/python-dotenv/issues/454">#454</a> by <ahref="https://github.com/jankislinger">@jankislinger</a>)
892
+
* Use https in README links (<ahref="https://github.com/theskumar/python-dotenv/issues/474">#474</a> by <ahref="https://github.com/Nicals">@Nicals</a>)</p>
<p>By default, <code>load_dotenv</code> doesn't override existing environment variables and looks for a <code>.env</code> file in same directory as python script or searches for it incrementally higher up.</p>
584
584
<p>To configure the development environment, add a <code>.env</code> in the root directory of your
585
585
project:</p>
586
586
<pre><code>.
@@ -689,7 +689,7 @@ <h3 id="variable-without-a-value">Variable without a value</h3>
689
689
<p>This shouldn't be confused with <code>FOO=</code>, in which case the variable is associated with the
0 commit comments