<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cpython.git/Python, branch v2.7.16rc1</title>
<subtitle>https://github.com/python/cpython.git</subtitle>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/'/>
<entry>
<title>[2.7] Bump copyright years to 2019. (GH-11408)</title>
<updated>2019-01-02T16:43:32Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2019-01-02T16:43:32Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=5a89c71580529549e71567abf557c812eb470b2b'/>
<id>5a89c71580529549e71567abf557c812eb470b2b</id>
<content type='text'>
(cherry picked from commit 9a69ae8a78785105ded02b083b2e5cd2dd939307)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 9a69ae8a78785105ded02b083b2e5cd2dd939307)</pre>
</div>
</content>
</entry>
<entry>
<title>[2.7] bpo-35441: Remove dead and buggy code related to PyList_SetItem(). (GH-11033) (GH-11234)</title>
<updated>2018-12-19T15:11:02Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-12-19T15:11:02Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=89b5ea297d67f5efeb8fca0b63fa3d9f7030b2f0'/>
<id>89b5ea297d67f5efeb8fca0b63fa3d9f7030b2f0</id>
<content type='text'>
In _localemodule.c and selectmodule.c, remove dead code that would
cause double decrefs if run.

In addition, replace PyList_SetItem() with PyList_SET_ITEM() in cases
where a new list is populated and there is no possibility of an error.

In addition, check if the list changed size in the loop in array_array_fromlist().
(cherry picked from commit 99d56b53560b3867844472ae381fb3f858760621)

Co-authored-by: Zackery Spytz &lt;zspytz@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In _localemodule.c and selectmodule.c, remove dead code that would
cause double decrefs if run.

In addition, replace PyList_SetItem() with PyList_SET_ITEM() in cases
where a new list is populated and there is no possibility of an error.

In addition, check if the list changed size in the loop in array_array_fromlist().
(cherry picked from commit 99d56b53560b3867844472ae381fb3f858760621)

Co-authored-by: Zackery Spytz &lt;zspytz@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>ceval.c: mark debug 'filename' variable as unused (GH-11074)</title>
<updated>2018-12-10T12:53:38Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-12-10T12:53:38Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=1fd93ff18cf5cc324c743564ea2347bef06c0de0'/>
<id>1fd93ff18cf5cc324c743564ea2347bef06c0de0</id>
<content type='text'>
Use GCC __attribute__((unused)) to mark the debug variable 'filename'
as unused in Python/ceval.c.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use GCC __attribute__((unused)) to mark the debug variable 'filename'
as unused in Python/ceval.c.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33015: Use malloc() in PyThread_start_new_thread() (GH-10829)</title>
<updated>2018-11-30T17:08:02Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-11-30T17:08:02Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=bc9f53f69e8207027bf2b18e3d01b30401e76ace'/>
<id>bc9f53f69e8207027bf2b18e3d01b30401e76ace</id>
<content type='text'>
The pthread implementation of PyThread_start_new_thread() now uses
malloc/free rather than PyMem_Malloc/PyMem_Free, since the latters
are not thread-safe.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The pthread implementation of PyThread_start_new_thread() now uses
malloc/free rather than PyMem_Malloc/PyMem_Free, since the latters
are not thread-safe.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33015: Fix UB in pthread PyThread_start_new_thread (GH-6008) (GH-10823)</title>
<updated>2018-11-30T16:04:35Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-11-30T16:04:35Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=8f83c2fb19c45350c2161d9e75dab4cd2bcaee28'/>
<id>8f83c2fb19c45350c2161d9e75dab4cd2bcaee28</id>
<content type='text'>
Fix an undefined behaviour in the pthread implementation of
PyThread_start_new_thread(): add a function wrapper to always return
NULL.

Add pythread_callback struct and pythread_wrapper() to thread_pthread.h.

(cherry picked from commit 9eea6eaf23067880f4af3a130e3f67c9812e2f30)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix an undefined behaviour in the pthread implementation of
PyThread_start_new_thread(): add a function wrapper to always return
NULL.

Add pythread_callback struct and pythread_wrapper() to thread_pthread.h.

(cherry picked from commit 9eea6eaf23067880f4af3a130e3f67c9812e2f30)</pre>
</div>
</content>
</entry>
<entry>
<title>Add a missed PyErr_NoMemory() in symtable_new(). (GH-10576)</title>
<updated>2018-11-16T16:32:07Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-11-16T16:32:07Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=e45fa7393b3e9eb3f1879305ad851f1db2809996'/>
<id>e45fa7393b3e9eb3f1879305ad851f1db2809996</id>
<content type='text'>
This missed PyErr_NoMemory() could cause a SystemError when calling
_symtable.symtable().
(cherry picked from commit ad65f15581173542f1d2a9968a63bee272510ce3)

Co-authored-by: Zackery Spytz &lt;zspytz@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This missed PyErr_NoMemory() could cause a SystemError when calling
_symtable.symtable().
(cherry picked from commit ad65f15581173542f1d2a9968a63bee272510ce3)

Co-authored-by: Zackery Spytz &lt;zspytz@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[2.7] bpo-35133: Fix mistakes when concatenate string literals on different lines. (GH-10284) (GH-10335) (GH-10336)</title>
<updated>2018-11-05T16:16:26Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-11-05T16:16:26Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=3e3e1a27f769b3385853fbcad6749e71ca7f3ce3'/>
<id>3e3e1a27f769b3385853fbcad6749e71ca7f3ce3</id>
<content type='text'>
Two kind of mistakes:

1. Missed space. After concatenating there is no space between words.

2. Missed comma. Causes unintentional concatenating in a list of strings.
(cherry picked from commit 34fd4c20198dea6ab2fe8dc6d32d744d9bde868d)
(cherry picked from commit 7054e5c80b6e98cd44e22d1bc2d7f0a94343089d)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Two kind of mistakes:

1. Missed space. After concatenating there is no space between words.

2. Missed comma. Causes unintentional concatenating in a list of strings.
(cherry picked from commit 34fd4c20198dea6ab2fe8dc6d32d744d9bde868d)
(cherry picked from commit 7054e5c80b6e98cd44e22d1bc2d7f0a94343089d)
</pre>
</div>
</content>
</entry>
<entry>
<title>Drop confusing commented out code in pystrtod.c (GH-6072) (GH-9588)</title>
<updated>2018-09-26T15:18:23Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-09-26T15:18:23Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=911231e70843fb255fc395473e668361532e00a6'/>
<id>911231e70843fb255fc395473e668361532e00a6</id>
<content type='text'>
Fix the following warning:

Python/pystrtod.c: In function 'format_float_short':
Python/pystrtod.c:1007:13: warning: 'strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation]
             strncpy(p, "ERR", 3);

(cherry picked from commit 9fb84157595a385f15799e5d0729c1e1b0ba9d38)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix the following warning:

Python/pystrtod.c: In function 'format_float_short':
Python/pystrtod.c:1007:13: warning: 'strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation]
             strncpy(p, "ERR", 3);

(cherry picked from commit 9fb84157595a385f15799e5d0729c1e1b0ba9d38)</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-25083: Python can sometimes create incorrect .pyc files (GH-8449)</title>
<updated>2018-09-10T18:46:14Z</updated>
<author>
<name>tzickel</name>
<email>tzickel@users.noreply.github.com</email>
</author>
<published>2018-09-10T18:46:14Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=f64c813de84011a84ca21d75a294861a9cc2dfdc'/>
<id>f64c813de84011a84ca21d75a294861a9cc2dfdc</id>
<content type='text'>
Python 2 never checked for I/O error when reading .py files and
thus could mistake an I/O error for EOF and create incorrect .pyc
files.
This adds an check for this and aborts on an error.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Python 2 never checked for I/O error when reading .py files and
thus could mistake an I/O error for EOF and create incorrect .pyc
files.
This adds an check for this and aborts on an error.</pre>
</div>
</content>
</entry>
<entry>
<title>[2.7] Issue GH-18560: Fix potential NULL pointer dereference in sum(). (GH-8892)</title>
<updated>2018-08-24T05:28:39Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2018-08-24T05:28:39Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=67dafd5c202cd529e209bf3f35e022ce766709eb'/>
<id>67dafd5c202cd529e209bf3f35e022ce766709eb</id>
<content type='text'>
(cherry picked from commit 704e2d374f88bca83339b95d559b0abce12dc6bd)

Co-authored-by: Christian Heimes &lt;christian@cheimes.de&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 704e2d374f88bca83339b95d559b0abce12dc6bd)

Co-authored-by: Christian Heimes &lt;christian@cheimes.de&gt;</pre>
</div>
</content>
</entry>
</feed>
