<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python/bltinmodule.c, branch v3.7.13</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>Adjust builtins.zip() docstring to better communicate its signature (GH-14833)</title>
<updated>2019-07-19T18:27:13+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-07-19T18:27:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=843fd85cf7e7e139fd1cbaf0dc89cd8771609ec9'/>
<id>843fd85cf7e7e139fd1cbaf0dc89cd8771609ec9</id>
<content type='text'>
(cherry picked from commit af2f5b1723b95e45e1f15b5bd52102b7de560f7c)

Co-authored-by: Sergey Fedoseev &lt;fedoseev.sergey@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit af2f5b1723b95e45e1f15b5bd52102b7de560f7c)

Co-authored-by: Sergey Fedoseev &lt;fedoseev.sergey@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36791: Safer detection of integer overflow in sum(). (GH-13080)</title>
<updated>2019-05-12T09:37:15+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-05-12T09:37:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=b7e483b6d07081d5f81860258e95785975a7cbf8'/>
<id>b7e483b6d07081d5f81860258e95785975a7cbf8</id>
<content type='text'>
(cherry picked from commit 29500737d45cbca9604d9ce845fb2acc3f531401)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 29500737d45cbca9604d9ce845fb2acc3f531401)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>closes bpo-34474: Python/bltinmodule.c: Add missing NULL check in builtin_sum_impl() (GH-8872)</title>
<updated>2018-08-24T04:59:16+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-08-24T04:59:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a59036365b304d43bba0f050fa9a7d76100e0ae1'/>
<id>a59036365b304d43bba0f050fa9a7d76100e0ae1</id>
<content type='text'>
Reported by Svace static analyzer.
(cherry picked from commit 2b824b2538c4a5f9f520c5de8a1eae5a0c181a94)

Co-authored-by: Alexey Izbyshev &lt;izbyshev@ispras.ru&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reported by Svace static analyzer.
(cherry picked from commit 2b824b2538c4a5f9f520c5de8a1eae5a0c181a94)

Co-authored-by: Alexey Izbyshev &lt;izbyshev@ispras.ru&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-32674: Improve the docstring for __import__ (GH-5339) (GH-5488)</title>
<updated>2018-02-02T04:51:36+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-02-02T04:51:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=e985afc38dac3ee5b44d80c638e45ca738a03a23'/>
<id>e985afc38dac3ee5b44d80c638e45ca738a03a23</id>
<content type='text'>
Clarify that the level argument is used to determine whether to
perform absolute or relative imports: 0 is absolute, while a positive number
is the number of parent directories to search relative to the current module.
(cherry picked from commit 461d225b195eec5269f317323b41115516144c41)

Co-authored-by: oldk &lt;oldk1331@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Clarify that the level argument is used to determine whether to
perform absolute or relative imports: 0 is absolute, while a positive number
is the number of parent directories to search relative to the current module.
(cherry picked from commit 461d225b195eec5269f317323b41115516144c41)

Co-authored-by: oldk &lt;oldk1331@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title> bpo-32571: Avoid raising unneeded AttributeError and silencing it in C code (GH-5222)</title>
<updated>2018-01-25T08:49:40+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-01-25T08:49:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=f320be77ffb73e3b9e7fc98c37b8df3975d84b40'/>
<id>f320be77ffb73e3b9e7fc98c37b8df3975d84b40</id>
<content type='text'>
Add two new private APIs: _PyObject_LookupAttr() and _PyObject_LookupAttrId()</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add two new private APIs: _PyObject_LookupAttr() and _PyObject_LookupAttrId()</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-9566: Fix size_t=&gt;int downcast warnings (#5230)</title>
<updated>2018-01-18T10:15:25+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2018-01-18T10:15:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=05d68a8bd84cb141be9f9335f5b3540f15a989c4'/>
<id>05d68a8bd84cb141be9f9335f5b3540f15a989c4</id>
<content type='text'>
* Use wider types (int =&gt; Py_ssize_t) to avoid integer overflows.
* Fix gc.get_freeze_count(): use Py_ssize_t type rather than int, since gc_list_size() returns a Py_ssize_t.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Use wider types (int =&gt; Py_ssize_t) to avoid integer overflows.
* Fix gc.get_freeze_count(): use Py_ssize_t type rather than int, since gc_list_size() returns a Py_ssize_t.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-32544: Speed up hasattr() and getattr() (GH-5173)</title>
<updated>2018-01-16T11:52:41+00:00</updated>
<author>
<name>INADA Naoki</name>
<email>methane@users.noreply.github.com</email>
</author>
<published>2018-01-16T11:52:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=378edee0a3b913d60653dc17dfe61d83405a8135'/>
<id>378edee0a3b913d60653dc17dfe61d83405a8135</id>
<content type='text'>
AttributeError was raised always when attribute is not found.
This commit skip raising AttributeError when `tp_getattro` is `PyObject_GenericGetAttr`.
It makes hasattr() and getattr() about 4x faster when attribute is not found.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
AttributeError was raised always when attribute is not found.
This commit skip raising AttributeError when `tp_getattro` is `PyObject_GenericGetAttr`.
It makes hasattr() and getattr() about 4x faster when attribute is not found.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-29240, bpo-32030: Py_Main() re-reads config if encoding changes (#4899)</title>
<updated>2017-12-16T03:54:22+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-12-16T03:54:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=9454060e84a669dde63824d9e2fcaf295e34f687'/>
<id>9454060e84a669dde63824d9e2fcaf295e34f687</id>
<content type='text'>
bpo-29240, bpo-32030: If the encoding change (C locale coerced or
UTF-8 Mode changed), Py_Main() now reads again the configuration with
the new encoding.

Changes:

* Add _Py_UnixMain() called by main().
* Rename pymain_free_pymain() to pymain_clear_pymain(), it can now be
  called multipled times.
* Rename pymain_parse_cmdline_envvars() to pymain_read_conf().
* Py_Main() now clears orig_argc and orig_argv at exit.
* Remove argv_copy2, Py_Main() doesn't modify argv anymore. There is
  no need anymore to get two copies of the wchar_t** argv.
* _PyCoreConfig: add coerce_c_locale and coerce_c_locale_warn.
* Py_UTF8Mode is now initialized to -1.
* Locale coercion (PEP 538) now respects -I and -E options.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bpo-29240, bpo-32030: If the encoding change (C locale coerced or
UTF-8 Mode changed), Py_Main() now reads again the configuration with
the new encoding.

Changes:

* Add _Py_UnixMain() called by main().
* Rename pymain_free_pymain() to pymain_clear_pymain(), it can now be
  called multipled times.
* Rename pymain_parse_cmdline_envvars() to pymain_read_conf().
* Py_Main() now clears orig_argc and orig_argv at exit.
* Remove argv_copy2, Py_Main() doesn't modify argv anymore. There is
  no need anymore to get two copies of the wchar_t** argv.
* _PyCoreConfig: add coerce_c_locale and coerce_c_locale_warn.
* Py_UTF8Mode is now initialized to -1.
* Locale coercion (PEP 538) now respects -I and -E options.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-32240: Add the const qualifier to declarations of PyObject* array arguments. (#4746)</title>
<updated>2017-12-15T11:11:11+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-12-15T11:11:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a5552f023e1d8cbafee1e51d316cc581deb2295f'/>
<id>a5552f023e1d8cbafee1e51d316cc581deb2295f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-32226: Implementation of PEP 560 (core components) (#4732)</title>
<updated>2017-12-14T22:32:56+00:00</updated>
<author>
<name>Ivan Levkivskyi</name>
<email>levkivskyi@gmail.com</email>
</author>
<published>2017-12-14T22:32:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=2b5fd1e9ca9318673989e6ccac2c8acadc3809cd'/>
<id>2b5fd1e9ca9318673989e6ccac2c8acadc3809cd</id>
<content type='text'>
This part of the PEP implementation adds support for
__mro_entries__ and __class_getitem__ by updating
__build_class__ and PyObject_GetItem.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This part of the PEP implementation adds support for
__mro_entries__ and __class_getitem__ by updating
__build_class__ and PyObject_GetItem.</pre>
</div>
</content>
</entry>
</feed>
