<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cpython.git/Include/code.h, branch v3.7.4rc2</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>String annotations [PEP 563] (#4390)</title>
<updated>2018-01-26T16:20:18Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2018-01-26T16:20:18Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=95e4d589137260530e18ef98a2ed84ee3ec57e12'/>
<id>95e4d589137260530e18ef98a2ed84ee3ec57e12</id>
<content type='text'>
* Document `from __future__ import annotations`
* Provide plumbing and tests for `from __future__ import annotations`
* Implement unparsing the AST back to string form

This is required for PEP 563 and as such only implements a part of the
unparsing process that covers expressions.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Document `from __future__ import annotations`
* Provide plumbing and tests for `from __future__ import annotations`
* Implement unparsing the AST back to string form

This is required for PEP 563 and as such only implements a part of the
unparsing process that covers expressions.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-32150: Expand tabs to spaces in C files. (#4583)</title>
<updated>2017-11-28T15:56:10Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-11-28T15:56:10Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=598ceae876ff4a23072e59945597e945583de4ab'/>
<id>598ceae876ff4a23072e59945597e945583de4ab</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #18896: Python function can now have more than 255 parameters.</title>
<updated>2016-12-16T17:19:02Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-12-16T17:19:02Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=5bb8b9134b0bb35a73c76657f41cafa3e4361fcd'/>
<id>5bb8b9134b0bb35a73c76657f41cafa3e4361fcd</id>
<content type='text'>
collections.namedtuple() now supports tuples with more than 255 elements.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
collections.namedtuple() now supports tuples with more than 255 elements.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue 28751: Fix comments in code.h.  (Contributed by Ned Batchelder).</title>
<updated>2016-11-21T22:24:32Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2016-11-21T22:24:32Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=f89854f89c7d4f625ad8d35783a30b7a48bd0e76'/>
<id>f89854f89c7d4f625ad8d35783a30b7a48bd0e76</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #27129: Replaced wordcode related magic constants with macros.</title>
<updated>2016-09-11T10:48:15Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-09-11T10:48:15Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=ab8740058a7f76f1438dc18a2ffd918da4f8118d'/>
<id>ab8740058a7f76f1438dc18a2ffd918da4f8118d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #28003: Implement PEP 525 -- Asynchronous Generators.</title>
<updated>2016-09-09T05:01:51Z</updated>
<author>
<name>Yury Selivanov</name>
<email>yury@magic.io</email>
</author>
<published>2016-09-09T05:01:51Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=eb6364557f9bc4e6be29bb8a8f43308a0e080aba'/>
<id>eb6364557f9bc4e6be29bb8a8f43308a0e080aba</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make PyCodeObject.co_extra even more private to force users through the proper API.</title>
<updated>2016-09-07T21:30:39Z</updated>
<author>
<name>Brett Cannon</name>
<email>brett@python.org</email>
</author>
<published>2016-09-07T21:30:39Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=d0600ed524acb8b05b78d7399e8de136090703a0'/>
<id>d0600ed524acb8b05b78d7399e8de136090703a0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add the co_extra field and accompanying APIs to code objects.</title>
<updated>2016-09-07T18:16:41Z</updated>
<author>
<name>Brett Cannon</name>
<email>brett@python.org</email>
</author>
<published>2016-09-07T18:16:41Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=5c4de2863b217338deb9a0fcd20b202b8647b366'/>
<id>5c4de2863b217338deb9a0fcd20b202b8647b366</id>
<content type='text'>
This completes PEP 523.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This completes PEP 523.
</pre>
</div>
</content>
</entry>
<entry>
<title>code_richcompare() now uses the constants types</title>
<updated>2016-01-22T11:33:12Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2016-01-22T11:33:12Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=efb2413ce82acaa5dec43a8cb14aa7cdf2352fb1'/>
<id>efb2413ce82acaa5dec43a8cb14aa7cdf2352fb1</id>
<content type='text'>
Issue #25843: When compiling code, don't merge constants if they are equal but
have a different types. For example, "f1, f2 = lambda: 1, lambda: 1.0" is now
correctly compiled to two different functions: f1() returns 1 (int) and f2()
returns 1.0 (int), even if 1 and 1.0 are equal.

Add a new _PyCode_ConstantKey() private function.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Issue #25843: When compiling code, don't merge constants if they are equal but
have a different types. For example, "f1, f2 = lambda: 1, lambda: 1.0" is now
correctly compiled to two different functions: f1() returns 1 (int) and f2()
returns 1.0 (int), even if 1 and 1.0 are equal.

Add a new _PyCode_ConstantKey() private function.
</pre>
</div>
</content>
</entry>
<entry>
<title>co_lnotab supports negative line number delta</title>
<updated>2016-01-20T11:16:21Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2016-01-20T11:16:21Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=f3914eb16d28ad9eb20fe5133d9aa83658bcc27f'/>
<id>f3914eb16d28ad9eb20fe5133d9aa83658bcc27f</id>
<content type='text'>
Issue #26107: The format of the co_lnotab attribute of code objects changes to
support negative line number delta.

Changes:

* assemble_lnotab(): if line number delta is less than -128 or greater than
  127, emit multiple (offset_delta, lineno_delta) in co_lnotab
* update functions decoding co_lnotab to use signed 8-bit integers

  - dis.findlinestarts()
  - PyCode_Addr2Line()
  - _PyCode_CheckLineNumber()
  - frame_setlineno()

* update lnotab_notes.txt
* increase importlib MAGIC_NUMBER to 3361
* document the change in What's New in Python 3.6
* cleanup also PyCode_Optimize() to use better variable names
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Issue #26107: The format of the co_lnotab attribute of code objects changes to
support negative line number delta.

Changes:

* assemble_lnotab(): if line number delta is less than -128 or greater than
  127, emit multiple (offset_delta, lineno_delta) in co_lnotab
* update functions decoding co_lnotab to use signed 8-bit integers

  - dis.findlinestarts()
  - PyCode_Addr2Line()
  - _PyCode_CheckLineNumber()
  - frame_setlineno()

* update lnotab_notes.txt
* increase importlib MAGIC_NUMBER to 3361
* document the change in What's New in Python 3.6
* cleanup also PyCode_Optimize() to use better variable names
</pre>
</div>
</content>
</entry>
</feed>
