<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/site.py, branch 3.8</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/site.py?h=3.8</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/site.py?h=3.8'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2024-01-17T13:42:31Z</updated>
<entry>
<title>[3.8] gh-113659: Skip hidden .pth files (GH-113660) (GH-114147)</title>
<updated>2024-01-17T13:42:31Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2024-01-17T13:42:31Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=01845a15d627d1f2c7eed9b245e462ffadd01701'/>
<id>urn:sha1:01845a15d627d1f2c7eed9b245e462ffadd01701</id>
<content type='text'>
Skip .pth files with names starting with a dot or hidden file attribute.
(cherry picked from commit 74208ed0c440244fb809d8acc97cb9ef51e888e3)</content>
</entry>
<entry>
<title>bpo-41193: Ignore OSError in readline write_history() (GH-21279)</title>
<updated>2020-07-02T11:02:08Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-07-02T11:02:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=53d2b715d10e5c81cb9c86fd25e88ace4e41bc25'/>
<id>urn:sha1:53d2b715d10e5c81cb9c86fd25e88ace4e41bc25</id>
<content type='text'>
The write_history() atexit function of the readline completer now
ignores any OSError to ignore error if the filesystem is read-only,
instead of only ignoring FileNotFoundError and PermissionError.
(cherry picked from commit 0ab917e07ed64c6bfde6f6e791f9b28acc97b510)

Co-authored-by: Victor Stinner &lt;vstinner@python.org&gt;</content>
</entry>
<entry>
<title>bpo-37369: Fix initialization of sys members when launched via an app container (GH-14467)</title>
<updated>2019-06-29T21:28:59Z</updated>
<author>
<name>Steve Dower</name>
<email>steve.dower@python.org</email>
</author>
<published>2019-06-29T21:28:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=323e743d4879f1cd861d0b252775797fb7938755'/>
<id>urn:sha1:323e743d4879f1cd861d0b252775797fb7938755</id>
<content type='text'>
sys._base_executable is now always defined on all platforms, and can be overridden through configuration.
Also adds test.support.PythonSymlink to encapsulate platform-specific logic for symlinking sys.executable</content>
</entry>
<entry>
<title>bpo-37364: Use io.open_code() to read .pth files (GH-14299)</title>
<updated>2019-06-21T22:35:44Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-06-21T22:35:44Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=35202c763703c9c00345b4445a638211e6e37bbc'/>
<id>urn:sha1:35202c763703c9c00345b4445a638211e6e37bbc</id>
<content type='text'>
https://bugs.python.org/issue37364
(cherry picked from commit 184f3d4f39056f6fe450d007d3b9b61d811a2a4d)

Co-authored-by: Steve Dower &lt;steve.dower@python.org&gt;</content>
</entry>
<entry>
<title>bpo-35872 and bpo-35873: Clears __PYVENV_LAUNCHER__ variable (GH-11745)</title>
<updated>2019-02-04T07:19:38Z</updated>
<author>
<name>Steve Dower</name>
<email>steve.dower@microsoft.com</email>
</author>
<published>2019-02-04T07:19:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a8474d025cab794257d2fd0bea67840779b9351f'/>
<id>urn:sha1:a8474d025cab794257d2fd0bea67840779b9351f</id>
<content type='text'>
After reading __PYVENV_LAUNCHER__ we now set sys._base_executable value for later use.
Make the same changes for macOS to avoid extra platform checks.</content>
</entry>
<entry>
<title>bpo-19891: Ignore error while writing history file (GH-8483)</title>
<updated>2018-08-06T08:28:19Z</updated>
<author>
<name>Anthony Sottile</name>
<email>asottile@umich.edu</email>
</author>
<published>2018-08-06T08:28:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b2499669ef2e6dc9a2cdb49b4dc498e078167e26'/>
<id>urn:sha1:b2499669ef2e6dc9a2cdb49b4dc498e078167e26</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-30167: Prevent site.main() exception if PYTHONSTARTUP is set. (GH-6731)</title>
<updated>2018-06-11T00:49:34Z</updated>
<author>
<name>Steve Weber</name>
<email>steverweber@gmail.com</email>
</author>
<published>2018-06-11T00:49:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2487f30d5529948ace26559e274d7cac6abcd1a8'/>
<id>urn:sha1:2487f30d5529948ace26559e274d7cac6abcd1a8</id>
<content type='text'>
Before Python 3.6, os.path.abspath(None) used to report an AttributeError which was properly caught inside site.abs_paths, making it ignore __main__, one of sys.modules, which has __file__ and __cached__ set to None. With 3.6, os.path.abspath(None) raises TypeError instead which site.abs_path was not expecting.  This resulted in an uncaught exception if a user had PYTHONSTARTUP set and the application called site.main() which a number of third-party programs do.
</content>
</entry>
<entry>
<title>bpo-28440: Don't add /Library/Python/3.x/site-packages to sys.path (#5445)</title>
<updated>2018-01-30T10:14:09Z</updated>
<author>
<name>Ned Deily</name>
<email>nad@python.org</email>
</author>
<published>2018-01-30T10:14:09Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=763f094b1f0ce2a07768828e78afe9687e9ad3bb'/>
<id>urn:sha1:763f094b1f0ce2a07768828e78afe9687e9ad3bb</id>
<content type='text'>
No longer add /Library/Python/3.x/site-packages, the Apple-supplied
system Python site-packages directory, to sys.path for macOS framework
builds in case Apple ships a version of Python 3. A similar change
was made earlier to Python 2.7 where it was found that the coupling
between the system Python and a user-installed framework Python often
caused confusion or pip install failures.</content>
</entry>
<entry>
<title>bpo-30804: fix macOS build with framework enabled. (#2516)</title>
<updated>2017-06-30T17:38:02Z</updated>
<author>
<name>INADA Naoki</name>
<email>methane@users.noreply.github.com</email>
</author>
<published>2017-06-30T17:38:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5e742fa922ea70131b4c63451c87cf0347532806'/>
<id>urn:sha1:5e742fa922ea70131b4c63451c87cf0347532806</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-29585: Define PYTHONFRAMEWORK in PC/pyconfig.h (#2477)</title>
<updated>2017-06-28T16:34:42Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-06-28T16:34:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b01c574ad6d796025152b5d605eceb7816e6f7a7'/>
<id>urn:sha1:b01c574ad6d796025152b5d605eceb7816e6f7a7</id>
<content type='text'>
* bpo-29585: Fix PC/pyconfig.h whitespaces

Run "make patchcheck".

* bpo-29585: Define PYTHONFRAMEWORK in PC/pyconfig.h

* site: Fix path separator in _get_path() on Windows
</content>
</entry>
</feed>
