<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/main.c, branch v3.6.2</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/main.c?h=v3.6.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/main.c?h=v3.6.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2017-03-12T11:34:22Z</updated>
<entry>
<title>[3.6] bpo-29723: Consistently configure sys.path[0] (#636)</title>
<updated>2017-03-12T11:34:22Z</updated>
<author>
<name>Nick Coghlan</name>
<email>ncoghlan@gmail.com</email>
</author>
<published>2017-03-12T11:34:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c60948464fb0ec116ea227f6bce8a4bb8fb75257'/>
<id>urn:sha1:c60948464fb0ec116ea227f6bce8a4bb8fb75257</id>
<content type='text'>
Directory and zipfile execution previously added
the parent directory of the directory or zipfile
as sys.path[0] and then subsequently overwrote
it with the directory or zipfile itself.

This caused problems in isolated mode, as it
overwrote the "stdlib as a zip archive" entry
in sys.path, as the parent directory was
never added.

The attempted fix to that issue in bpo-29319
created the opposite problem in *non*-isolated
mode, by potentially leaving the parent
directory on sys.path instead of overwriting it.

This change fixes the root cause of the problem
by removing the whole "add-and-overwrite" dance
for sys.path[0], and instead simply never adds
the parent directory to sys.path in the first
place.
(cherry picked from commit d2977a3ae2cc6802921b1e3b6e9d13fcfbda872d)
</content>
</entry>
<entry>
<title>bpo-29770: remove outdated PYO related info (GH-590) (GH-612)</title>
<updated>2017-03-11T06:07:30Z</updated>
<author>
<name>Xiang Zhang</name>
<email>angwerzx@126.com</email>
</author>
<published>2017-03-11T06:07:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=16416c22f9b8d9e067506d3a98f661756c80389c'/>
<id>urn:sha1:16416c22f9b8d9e067506d3a98f661756c80389c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #29319: Prevent RunMainFromImporter overwriting sys.path[0].</title>
<updated>2017-02-04T23:39:38Z</updated>
<author>
<name>Steve Dower</name>
<email>steve.dower@microsoft.com</email>
</author>
<published>2017-02-04T23:39:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c008ddeb21528d4394fb20156a81f851af79f701'/>
<id>urn:sha1:c008ddeb21528d4394fb20156a81f851af79f701</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #29319: Prevent RunMainFromImporter overwriting sys.path[0].</title>
<updated>2017-02-04T23:39:21Z</updated>
<author>
<name>Steve Dower</name>
<email>steve.dower@microsoft.com</email>
</author>
<published>2017-02-04T23:39:21Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6d46ae7d12d2cbe4c5b2bd7b023dd37ff12dec68'/>
<id>urn:sha1:6d46ae7d12d2cbe4c5b2bd7b023dd37ff12dec68</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #28768: Fix implicit declaration of function _setmode. Patch by Masayuki Yamamoto</title>
<updated>2016-12-28T23:41:09Z</updated>
<author>
<name>Steve Dower</name>
<email>steve.dower@microsoft.com</email>
</author>
<published>2016-12-28T23:41:09Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bfce0f977d20be0781f2b6f201ec309a67bf6099'/>
<id>urn:sha1:bfce0f977d20be0781f2b6f201ec309a67bf6099</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #28532: Show sys.version when -V option is supplied twice</title>
<updated>2016-11-21T11:57:14Z</updated>
<author>
<name>INADA Naoki</name>
<email>songofacandy@gmail.com</email>
</author>
<published>2016-11-21T11:57:14Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0e175a6e762676fca6bfd656912bb862e29fbdd5'/>
<id>urn:sha1:0e175a6e762676fca6bfd656912bb862e29fbdd5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #28192: Don't import readline in isolated mode</title>
<updated>2016-09-17T19:22:41Z</updated>
<author>
<name>Steve Dower</name>
<email>steve.dower@microsoft.com</email>
</author>
<published>2016-09-17T19:22:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=313523ce2dd67db67b7dcbcc5f6d6ca95922b34b'/>
<id>urn:sha1:313523ce2dd67db67b7dcbcc5f6d6ca95922b34b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Check return value of PyList_Append() in Py_Main(). CID 1353200</title>
<updated>2016-09-08T22:08:35Z</updated>
<author>
<name>Christian Heimes</name>
<email>christian@python.org</email>
</author>
<published>2016-09-08T22:08:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=275270772e6b733beb5bf0e24f6d33663975cc63'/>
<id>urn:sha1:275270772e6b733beb5bf0e24f6d33663975cc63</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add PYTHONMALLOC env var</title>
<updated>2016-03-14T11:04:26Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2016-03-14T11:04:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=34be807ca4dfecc5b0a9e577a48535e738dce32b'/>
<id>urn:sha1:34be807ca4dfecc5b0a9e577a48535e738dce32b</id>
<content type='text'>
Issue #26516:

* Add PYTHONMALLOC environment variable to set the Python memory
  allocators and/or install debug hooks.
* PyMem_SetupDebugHooks() can now also be used on Python compiled in release
  mode.
* The PYTHONMALLOCSTATS environment variable can now also be used on Python
  compiled in release mode. It now has no effect if set to an empty string.
* In debug mode, debug hooks are now also installed on Python memory allocators
  when Python is configured without pymalloc.
</content>
</entry>
<entry>
<title>Fixed formatting comman-line usage message.</title>
<updated>2015-12-30T07:28:48Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2015-12-30T07:28:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b5c7fc7a8e9baabcf2fee828083724548a11bf94'/>
<id>urn:sha1:b5c7fc7a8e9baabcf2fee828083724548a11bf94</id>
<content type='text'>
</content>
</entry>
</feed>
