<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Doc/data, branch 3.6</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Doc/data?h=3.6</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Doc/data?h=3.6'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2018-12-20T20:50:00Z</updated>
<entry>
<title>bpo-35475: Add more PyImport* functions in refcounts.dat. (GH-11142) (GH-11199)</title>
<updated>2018-12-20T20:50:00Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-12-20T20:50:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=75f187478603de33c15f501a947207bfe8ba833f'/>
<id>urn:sha1:75f187478603de33c15f501a947207bfe8ba833f</id>
<content type='text'>
(cherry picked from commit bdabb0737c631835b246c9823852d20331243315)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</content>
</entry>
<entry>
<title>Issue #27186: Document PyOS_FSPath().</title>
<updated>2016-06-09T23:58:38Z</updated>
<author>
<name>Brett Cannon</name>
<email>brett@python.org</email>
</author>
<published>2016-06-09T23:58:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=746102bd238f414ba65b336d600eade06b99c440'/>
<id>urn:sha1:746102bd238f414ba65b336d600eade06b99c440</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #24400: Introduce a distinct type for 'async def' coroutines.</title>
<updated>2015-06-22T16:19:30Z</updated>
<author>
<name>Yury Selivanov</name>
<email>yselivanov@sprymix.com</email>
</author>
<published>2015-06-22T16:19:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5376ba9630e45ad177150ae68c9712640330a2fc'/>
<id>urn:sha1:5376ba9630e45ad177150ae68c9712640330a2fc</id>
<content type='text'>
Summary of changes:

1. Coroutines now have a distinct, separate from generators
   type at the C level: PyGen_Type, and a new typedef PyCoroObject.
   PyCoroObject shares the initial segment of struct layout with
   PyGenObject, making it possible to reuse existing generators
   machinery.  The new type is exposed as 'types.CoroutineType'.

   As a consequence of having a new type, CO_GENERATOR flag is
   no longer applied to coroutines.

2. Having a separate type for coroutines made it possible to add
   an __await__ method to the type.  Although it is not used by the
   interpreter (see details on that below), it makes coroutines
   naturally (without using __instancecheck__) conform to
   collections.abc.Coroutine and collections.abc.Awaitable ABCs.

   [The __instancecheck__ is still used for generator-based
   coroutines, as we don't want to add __await__ for generators.]

3. Add new opcode: GET_YIELD_FROM_ITER.  The opcode is needed to
   allow passing native coroutines to the YIELD_FROM opcode.

   Before this change, 'yield from o' expression was compiled to:

      (o)
      GET_ITER
      LOAD_CONST
      YIELD_FROM

   Now, we use GET_YIELD_FROM_ITER instead of GET_ITER.

   The reason for adding a new opcode is that GET_ITER is used
   in some contexts (such as 'for .. in' loops) where passing
   a coroutine object is invalid.

4. Add two new introspection functions to the inspec module:
   getcoroutinestate(c) and getcoroutinelocals(c).

5. inspect.iscoroutine(o) is updated to test if 'o' is a native
   coroutine object.  Before this commit it used abc.Coroutine,
   and it was requested to update inspect.isgenerator(o) to use
   abc.Generator; it was decided, however, that inspect functions
   should really be tailored for checking for native types.

6. sys.set_coroutine_wrapper(w) API is updated to work with only
   native coroutines.  Since types.coroutine decorator supports
   any type of callables now, it would be confusing that it does
   not work for all types of coroutines.

7. Exceptions logic in generators C implementation was updated
   to raise clearer messages for coroutines:

   Before: TypeError("generator raised StopIteration")
   After: TypeError("coroutine raised StopIteration")
</content>
</entry>
<entry>
<title>Issue #18711: Add a new `PyErr_FormatV` function, similar to `PyErr_Format` but accepting a `va_list` argument.</title>
<updated>2014-09-30T19:16:27Z</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2014-09-30T19:16:27Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0676a406bf9435a59eaca1a54fa582b0b6b79b9f'/>
<id>urn:sha1:0676a406bf9435a59eaca1a54fa582b0b6b79b9f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #20517: Removed unnecessary new (short-lived) functions from PyErr.</title>
<updated>2014-02-10T11:43:57Z</updated>
<author>
<name>Larry Hastings</name>
<email>larry@hastings.org</email>
</author>
<published>2014-02-10T11:43:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8f9f0f12e845034080525c6a80d52215533cb2a4'/>
<id>urn:sha1:8f9f0f12e845034080525c6a80d52215533cb2a4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #20517: Functions in the os module that accept two filenames</title>
<updated>2014-02-10T06:05:19Z</updated>
<author>
<name>Larry Hastings</name>
<email>larry@hastings.org</email>
</author>
<published>2014-02-10T06:05:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b082731fbb413a7ff2412a447698fdd65015fd24'/>
<id>urn:sha1:b082731fbb413a7ff2412a447698fdd65015fd24</id>
<content type='text'>
now register both filenames in the exception on failure.
This required adding new C API functions allowing OSError exceptions
to reference two filenames instead of one.
</content>
</entry>
<entry>
<title>Issue #1772673: The type of `char*` arguments now changed to `const char*`.</title>
<updated>2013-10-19T18:03:34Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2013-10-19T18:03:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c679227e31245b0e8dec74a1f7cc77710541d985'/>
<id>urn:sha1:c679227e31245b0e8dec74a1f7cc77710541d985</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #18085: Add missed const modifier for some entries in refcounts.dat.</title>
<updated>2013-07-11T19:00:57Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2013-07-11T19:00:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4fcf1b2bb74b1e1ea736951b710a6a69cbcd2963'/>
<id>urn:sha1:4fcf1b2bb74b1e1ea736951b710a6a69cbcd2963</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #18085: Add missed const modifier for some entries in refcounts.dat.</title>
<updated>2013-07-11T18:57:34Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2013-07-11T18:57:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=244d6252f2ed17b61c476926faf5c15ba5328ff0'/>
<id>urn:sha1:244d6252f2ed17b61c476926faf5c15ba5328ff0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #18085: Fix PyObject_CallMethodObjArgs()'s entry in refcounts.dat.</title>
<updated>2013-05-28T19:46:15Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2013-05-28T19:46:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=dce05500a16db7563eda12d1c31e59b472150799'/>
<id>urn:sha1:dce05500a16db7563eda12d1c31e59b472150799</id>
<content type='text'>
</content>
</entry>
</feed>
