<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Modules/_io/_iomodule.c, branch fix-misc-acks</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/'/>
<entry>
<title>bpo-2091: Fix typo in exception message (GH-12987)</title>
<updated>2019-04-27T20:39:06+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-04-27T20:39:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=f5972cc0c9a8e3315207e2d67534f330d619af4e'/>
<id>f5972cc0c9a8e3315207e2d67534f330d619af4e</id>
<content type='text'>
(cherry picked from commit 21a9ba1992775b5a833da28bfa0a9f028d1b6761)

Co-authored-by: Berker Peksag &lt;berker.peksag@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 21a9ba1992775b5a833da28bfa0a9f028d1b6761)

Co-authored-by: Berker Peksag &lt;berker.peksag@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34217: Use lowercase for windows headers (GH-8472)</title>
<updated>2018-08-16T07:29:20+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-08-16T07:29:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=bf8e9d18dd75f58ce3b9761763ae10c0800b43d8'/>
<id>bf8e9d18dd75f58ce3b9761763ae10c0800b43d8</id>
<content type='text'>
(cherry picked from commit e6a4755e6793942b950c1595e0c34bd66a0ee13e)

Co-authored-by: Erik Janssens &lt;erik.janssens@conceptive.be&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit e6a4755e6793942b950c1595e0c34bd66a0ee13e)

Co-authored-by: Erik Janssens &lt;erik.janssens@conceptive.be&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Fix Windows build of Python for latest WinSDK. (GH-6874) (GH-6952)</title>
<updated>2018-05-17T19:35:27+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-05-17T19:35:27+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=df4852cbe4b757e8b79506d73a09ec8a1b595970'/>
<id>df4852cbe4b757e8b79506d73a09ec8a1b595970</id>
<content type='text'>
(cherry picked from commit c0ee341b29bd7d978b49272a2c0e2dcfa77404d5)

Co-authored-by: Carl Meyer &lt;carl@oddbird.net&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit c0ee341b29bd7d978b49272a2c0e2dcfa77404d5)

Co-authored-by: Carl Meyer &lt;carl@oddbird.net&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31572: Get rid of PyObject_HasAttr() and _PyObject_HasAttrId() in the _io module. (#3726)</title>
<updated>2018-01-16T16:34:21+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-01-16T16:34:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=4d9aec022063dcfc4cf40ae46b1c4a968297e664'/>
<id>4d9aec022063dcfc4cf40ae46b1c4a968297e664</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>closes bpo-32460: ensure all non-static globals have initializers (#5061)</title>
<updated>2017-12-31T18:04:13+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2017-12-31T18:04:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=0a37a30037073a4a9ba45e560c8445048e5f2ba2'/>
<id>0a37a30037073a4a9ba45e560c8445048e5f2ba2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-17852: Revert incorrect fix based on misunderstanding of _Py_PyAtExit() semantics (#4826)</title>
<updated>2017-12-13T00:39:26+00:00</updated>
<author>
<name>Antoine Pitrou</name>
<email>pitrou@free.fr</email>
</author>
<published>2017-12-13T00:39:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=317def9fdb29893df1ab380d396fcdd2eafe0588'/>
<id>317def9fdb29893df1ab380d396fcdd2eafe0588</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-17852: Maintain a list of BufferedWriter objects.  Flush them on exit. (#3372)</title>
<updated>2017-09-22T17:17:30+00:00</updated>
<author>
<name>Neil Schemenauer</name>
<email>nas-github@arctrix.com</email>
</author>
<published>2017-09-22T17:17:30+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=0a1ff24acfc15d8c7f2dc41000a6f3d9a31e7480'/>
<id>0a1ff24acfc15d8c7f2dc41000a6f3d9a31e7480</id>
<content type='text'>
* Maintain a list of BufferedWriter objects.  Flush them on exit.

In Python 3, the buffer and the underlying file object are separate
and so the order in which objects are finalized matters.  This is
unlike Python 2 where the file and buffer were a single object and
finalization was done for both at the same time.  In Python 3, if
the file is finalized and closed before the buffer then the data in
the buffer is lost.

This change adds a doubly linked list of open file buffers.  An atexit
hook ensures they are flushed before proceeding with interpreter
shutdown.  This is addition does not remove the need to properly close
files as there are other reasons why buffered data could get lost during
finalization.

Initial patch by Armin Rigo.

* Use weakref.WeakSet instead of WeakKeyDictionary.

* Simplify buffered double-linked list types.

* In _flush_all_writers(), suppress errors from flush().

* Remove NEWS entry, use blurb.

* Take more care when flushing file buffers from atexit.

The previous implementation was not careful enough to avoid
causing issues in multi-threaded cases.  Check for buf-&gt;ok
and buf-&gt;finalizing before actually doing the flush.  Also,
increase the refcnt to ensure the object does not disappear.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Maintain a list of BufferedWriter objects.  Flush them on exit.

In Python 3, the buffer and the underlying file object are separate
and so the order in which objects are finalized matters.  This is
unlike Python 2 where the file and buffer were a single object and
finalization was done for both at the same time.  In Python 3, if
the file is finalized and closed before the buffer then the data in
the buffer is lost.

This change adds a doubly linked list of open file buffers.  An atexit
hook ensures they are flushed before proceeding with interpreter
shutdown.  This is addition does not remove the need to properly close
files as there are other reasons why buffered data could get lost during
finalization.

Initial patch by Armin Rigo.

* Use weakref.WeakSet instead of WeakKeyDictionary.

* Simplify buffered double-linked list types.

* In _flush_all_writers(), suppress errors from flush().

* Remove NEWS entry, use blurb.

* Take more care when flushing file buffers from atexit.

The previous implementation was not careful enough to avoid
causing issues in multi-threaded cases.  Check for buf-&gt;ok
and buf-&gt;finalizing before actually doing the flush.  Also,
increase the refcnt to ensure the object does not disappear.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "bpo-17852: Maintain a list of BufferedWriter objects.  Flush them on exit. (#1908)" (#3337)</title>
<updated>2017-09-05T05:13:17+00:00</updated>
<author>
<name>Neil Schemenauer</name>
<email>nas-github@arctrix.com</email>
</author>
<published>2017-09-05T05:13:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=db564238db440d4a2d8eb9d60ffb94ef291f6d30'/>
<id>db564238db440d4a2d8eb9d60ffb94ef291f6d30</id>
<content type='text'>
This reverts commit e38d12ed34870c140016bef1e0ff10c8c3d3f213.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit e38d12ed34870c140016bef1e0ff10c8c3d3f213.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-17852: Maintain a list of BufferedWriter objects.  Flush them on exit. (#1908)</title>
<updated>2017-09-05T03:18:38+00:00</updated>
<author>
<name>Neil Schemenauer</name>
<email>nas-github@arctrix.com</email>
</author>
<published>2017-09-05T03:18:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=e38d12ed34870c140016bef1e0ff10c8c3d3f213'/>
<id>e38d12ed34870c140016bef1e0ff10c8c3d3f213</id>
<content type='text'>
* Maintain a list of BufferedWriter objects.  Flush them on exit.

In Python 3, the buffer and the underlying file object are separate
and so the order in which objects are finalized matters.  This is
unlike Python 2 where the file and buffer were a single object and
finalization was done for both at the same time.  In Python 3, if
the file is finalized and closed before the buffer then the data in
the buffer is lost.

This change adds a doubly linked list of open file buffers.  An atexit
hook ensures they are flushed before proceeding with interpreter
shutdown.  This is addition does not remove the need to properly close
files as there are other reasons why buffered data could get lost during
finalization.

Initial patch by Armin Rigo.

* Use weakref.WeakSet instead of WeakKeyDictionary.

* Simplify buffered double-linked list types.

* In _flush_all_writers(), suppress errors from flush().

* Remove NEWS entry, use blurb.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Maintain a list of BufferedWriter objects.  Flush them on exit.

In Python 3, the buffer and the underlying file object are separate
and so the order in which objects are finalized matters.  This is
unlike Python 2 where the file and buffer were a single object and
finalization was done for both at the same time.  In Python 3, if
the file is finalized and closed before the buffer then the data in
the buffer is lost.

This change adds a doubly linked list of open file buffers.  An atexit
hook ensures they are flushed before proceeding with interpreter
shutdown.  This is addition does not remove the need to properly close
files as there are other reasons why buffered data could get lost during
finalization.

Initial patch by Armin Rigo.

* Use weakref.WeakSet instead of WeakKeyDictionary.

* Simplify buffered double-linked list types.

* In _flush_all_writers(), suppress errors from flush().

* Remove NEWS entry, use blurb.
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-30022: Get rid of using EnvironmentError and IOError (except test… (#1051)</title>
<updated>2017-04-16T07:46:38+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-04-16T07:46:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=55fe1ae9708d81b902b6fe8f6590e2a24b1bd4b0'/>
<id>55fe1ae9708d81b902b6fe8f6590e2a24b1bd4b0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
