<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python/bltinmodule.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>closes bpo-34474: Python/bltinmodule.c: Add missing NULL check in builtin_sum_impl() (GH-8872)</title>
<updated>2018-08-24T05:10:58+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-08-24T05:10:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=7d470f3f24d0c091cf1da4f13695c6bb3200a713'/>
<id>7d470f3f24d0c091cf1da4f13695c6bb3200a713</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-5489)</title>
<updated>2018-02-02T13:32:19+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-02-02T13:32:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=f61951b10cc08d3926a3ebaacc154d4149150ef4'/>
<id>f61951b10cc08d3926a3ebaacc154d4149150ef4</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>[3.6] bpo-31588: Validate return value of __prepare__() methods (GH-3790)</title>
<updated>2017-09-27T16:21:33+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2017-09-27T16:21:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=084f80b82c564c8a3cef26fc6e56da188a379be2'/>
<id>084f80b82c564c8a3cef26fc6e56da188a379be2</id>
<content type='text'>
Class execution requires that __prepare__() methods return
a proper execution namespace. Check for that immediately
after calling __prepare__(), rather than passing it through
to the code execution machinery and potentially triggering
SystemError (in debug builds) or a cryptic TypeError
(in release builds).

Patch by Oren Milman.
(cherry picked from commit 5837d0418f47933b2e3c139bdee8a79c248a943c)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Class execution requires that __prepare__() methods return
a proper execution namespace. Check for that immediately
after calling __prepare__(), rather than passing it through
to the code execution machinery and potentially triggering
SystemError (in debug builds) or a cryptic TypeError
(in release builds).

Patch by Oren Milman.
(cherry picked from commit 5837d0418f47933b2e3c139bdee8a79c248a943c)</pre>
</div>
</content>
</entry>
<entry>
<title>[3.6] bpo-29526: Add reference to help('FORMATTING') in format() builtin (GH-166). (#3491)</title>
<updated>2017-09-11T06:26:15+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-09-11T06:26:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=c67838da2cde6fa3f1bef11f08719237983e6990'/>
<id>c67838da2cde6fa3f1bef11f08719237983e6990</id>
<content type='text'>
(cherry picked from commit 2e6bb4484ee1b0da67d1dfcf0816c58602daa5a0)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 2e6bb4484ee1b0da67d1dfcf0816c58602daa5a0)</pre>
</div>
</content>
</entry>
<entry>
<title>[3.6] bpo-8256: Fixed possible failing or crashing input() (#641)</title>
<updated>2017-03-12T19:52:17+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-03-12T19:52:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=aac875fa2f03cab61ceeaa2621c4c5534c7bcfc2'/>
<id>aac875fa2f03cab61ceeaa2621c4c5534c7bcfc2</id>
<content type='text'>
if attributes "encoding" or "errors" of sys.stdin or sys.stdout are not set or are not strings.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
if attributes "encoding" or "errors" of sys.stdin or sys.stdout are not set or are not strings.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #26729: Fixed __text_signature__ for sorted().</title>
<updated>2017-01-23T10:30:35+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-01-23T10:30:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=ad9422559fc9845d043009f136ee5019a09bbb7e'/>
<id>ad9422559fc9845d043009f136ee5019a09bbb7e</id>
<content type='text'>
Patch by Erik Welch.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Patch by Erik Welch.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #26729: Fixed __text_signature__ for sorted().</title>
<updated>2017-01-23T10:29:47+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-01-23T10:29:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=3a1042567c887b7a995a8f921f50acba2761310c'/>
<id>3a1042567c887b7a995a8f921f50acba2761310c</id>
<content type='text'>
Patch by Erik Welch.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Patch by Erik Welch.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #29327: Fixed a crash when pass the iterable keyword argument to sorted().</title>
<updated>2017-01-20T06:33:06+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-01-20T06:33:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=398ef5c08feabfdbf7d0b1e10817139f0e98eefd'/>
<id>398ef5c08feabfdbf7d0b1e10817139f0e98eefd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #23722: improve __classcell__ compatibility</title>
<updated>2016-12-05T06:47:55+00:00</updated>
<author>
<name>Nick Coghlan</name>
<email>ncoghlan@gmail.com</email>
</author>
<published>2016-12-05T06:47:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=19d246745d9d013c12e9560dd020d778381780fb'/>
<id>19d246745d9d013c12e9560dd020d778381780fb</id>
<content type='text'>
Handling zero-argument super() in __init_subclass__ and
__set_name__ involved moving __class__ initialisation to
type.__new__. This requires cooperation from custom
metaclasses to ensure that the new __classcell__ entry
is passed along appropriately.

The initial implementation of that change resulted in abruptly
broken zero-argument super() support in metaclasses that didn't
adhere to the new requirements (such as Django's metaclass for
Model definitions).

The updated approach adopted here instead emits a deprecation
warning for those cases, and makes them work the same way they
did in Python 3.5.

This patch also improves the related class machinery documentation
to cover these details and to include more reader-friendly
cross-references and index entries.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Handling zero-argument super() in __init_subclass__ and
__set_name__ involved moving __class__ initialisation to
type.__new__. This requires cooperation from custom
metaclasses to ensure that the new __classcell__ entry
is passed along appropriately.

The initial implementation of that change resulted in abruptly
broken zero-argument super() support in metaclasses that didn't
adhere to the new requirements (such as Django's metaclass for
Model definitions).

The updated approach adopted here instead emits a deprecation
warning for those cases, and makes them work the same way they
did in Python 3.5.

This patch also improves the related class machinery documentation
to cover these details and to include more reader-friendly
cross-references and index entries.
</pre>
</div>
</content>
</entry>
<entry>
<title>Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize</title>
<updated>2016-11-20T07:13:07+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-11-20T07:13:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=06515833fef7b8b5c7968edf72367d94ff7eb1e0'/>
<id>06515833fef7b8b5c7968edf72367d94ff7eb1e0</id>
<content type='text'>
with PyUnicode_AsUTF8 and PyUnicode_AsUTF8AndSize.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
with PyUnicode_AsUTF8 and PyUnicode_AsUTF8AndSize.
</pre>
</div>
</content>
</entry>
</feed>
