<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Modules/getpath.c, branch v3.6.7</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/'/>
<entry>
<title>[3.6] closes bpo-31532: Fix memory corruption due to allocator mix (GH-3679) (#3681)</title>
<updated>2017-09-21T06:47:12+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2017-09-21T06:47:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=88d0663005d258526496d1f8ee0acb7103c69e80'/>
<id>88d0663005d258526496d1f8ee0acb7103c69e80</id>
<content type='text'>
Fix a memory corruption in getpath.c due to mixed memory allocators
between Py_GetPath() and Py_SetPath().

The fix use the Raw allocator to mimic the windows version.

This patch should be used from python3.6 to the current version

for more details, see the bug report and
  https://github.com/pyinstaller/pyinstaller/issues/2812
(cherry picked from commit 3d1e2ab584ed0175592b5be2a0bc98dc1723776a)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix a memory corruption in getpath.c due to mixed memory allocators
between Py_GetPath() and Py_SetPath().

The fix use the Raw allocator to mimic the windows version.

This patch should be used from python3.6 to the current version

for more details, see the bug report and
  https://github.com/pyinstaller/pyinstaller/issues/2812
(cherry picked from commit 3d1e2ab584ed0175592b5be2a0bc98dc1723776a)</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #19398: Extra slash no longer added to sys.path components in case of</title>
<updated>2016-11-11T10:06:38+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-11-11T10:06:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a27c064428c9e3b601be69876ef7e7299a3e0b7f'/>
<id>a27c064428c9e3b601be69876ef7e7299a3e0b7f</id>
<content type='text'>
empty compile-time PYTHONPATH components.  This fixes some tests in -S or -I
modes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
empty compile-time PYTHONPATH components.  This fixes some tests in -S or -I
modes.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #19398: Extra slash no longer added to sys.path components in case of</title>
<updated>2016-11-11T10:05:01+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-11-11T10:05:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=62e32d6352e318ed03eb519aedbc975b772114b5'/>
<id>62e32d6352e318ed03eb519aedbc975b772114b5</id>
<content type='text'>
empty compile-time PYTHONPATH components.  This fixes some tests in -S or -I
modes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
empty compile-time PYTHONPATH components.  This fixes some tests in -S or -I
modes.
</pre>
</div>
</content>
</entry>
<entry>
<title>merge 3.5</title>
<updated>2016-06-02T19:42:40+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2016-06-02T19:42:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=59ae8ec75fbfce4c76620639245318548b772edd'/>
<id>59ae8ec75fbfce4c76620639245318548b772edd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>remove (hilarious) defaults for various constants getpath.c needs</title>
<updated>2016-06-02T19:41:35+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2016-06-02T19:41:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=f5854148138280c69fdc9d350636dc2140d57753'/>
<id>f5854148138280c69fdc9d350636dc2140d57753</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #25923: Added the const qualifier to static constant arrays.</title>
<updated>2015-12-25T17:53:18+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2015-12-25T17:53:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=2d06e8445587d9b4d0bf79bdb08ab4743b780249'/>
<id>2d06e8445587d9b4d0bf79bdb08ab4743b780249</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #23731: Implement PEP 488.</title>
<updated>2015-04-13T18:21:02+00:00</updated>
<author>
<name>Brett Cannon</name>
<email>brett@python.org</email>
</author>
<published>2015-04-13T18:21:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=f299abdafa0f2b6eb7abae274861b19b361c96bc'/>
<id>f299abdafa0f2b6eb7abae274861b19b361c96bc</id>
<content type='text'>
The concept of .pyo files no longer exists. Now .pyc files have an
optional `opt-` tag which specifies if any extra optimizations beyond
the peepholer were applied.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The concept of .pyo files no longer exists. Now .pyc files have an
optional `opt-` tag which specifies if any extra optimizations beyond
the peepholer were applied.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #23753: Move _Py_wstat() from Python/fileutils.c to Modules/getpath.c</title>
<updated>2015-03-24T11:16:28+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2015-03-24T11:16:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=91afbb60885d5904dc6cb4d063ae33454507bf71'/>
<id>91afbb60885d5904dc6cb4d063ae33454507bf71</id>
<content type='text'>
I expected more users of _Py_wstat(), but in practice it's only used by
Modules/getpath.c. Move the function because it's not needed on Windows.
Windows uses PC/getpathp.c which uses the Win32 API (ex: GetFileAttributesW())
not the POSIX API.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I expected more users of _Py_wstat(), but in practice it's only used by
Modules/getpath.c. Move the function because it's not needed on Windows.
Windows uses PC/getpathp.c which uses the Win32 API (ex: GetFileAttributesW())
not the POSIX API.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integer</title>
<updated>2015-02-16T11:33:32+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2015-02-16T11:33:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=4d0d9829851915e97ae392dd803976be6c95c8d1'/>
<id>4d0d9829851915e97ae392dd803976be6c95c8d1</id>
<content type='text'>
overflows.  Added few missed PyErr_NoMemory().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
overflows.  Added few missed PyErr_NoMemory().
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integer</title>
<updated>2015-02-16T11:28:22+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2015-02-16T11:28:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=1a1ff29659f068659dea07f1bd67b8fd4331071c'/>
<id>1a1ff29659f068659dea07f1bd67b8fd4331071c</id>
<content type='text'>
overflows.  Added few missed PyErr_NoMemory().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
overflows.  Added few missed PyErr_NoMemory().
</pre>
</div>
</content>
</entry>
</feed>
