- 10 Kas, 2017 1 kayıt (commit)
-
-
benfogle yazdı
-
- 22 Eyl, 2017 1 kayıt (commit)
-
-
Neil Schemenauer yazdı
* 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->ok and buf->finalizing before actually doing the flush. Also, increase the refcnt to ensure the object does not disappear.
-
- 07 Eyl, 2017 1 kayıt (commit)
-
-
Antoine Pitrou yazdı
* Remove Setup.config * Always define WITH_THREAD for compatibility.
-
- 05 Eyl, 2017 2 kayıt (commit)
-
-
Neil Schemenauer yazdı
This reverts commit e38d12ed.
-
Neil Schemenauer yazdı
* 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.
-
- 24 Agu, 2017 1 kayıt (commit)
-
-
Oren Milman yazdı
bpo-29741: Update some methods in the _pyio module to also accept integer types. Patch by Oren Milman. (#560)
-
- 03 Haz, 2017 1 kayıt (commit)
-
-
Antoine Pitrou yazdı
* Fix bpo-30526: Add TextIOWrapper.reconfigure() * Apply Nick's improved wording * Update Misc/NEWS
-
- 26 Mar, 2017 1 kayıt (commit)
-
-
Jim Fasarakis-Hilliard yazdı
-
- 07 Ara, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
This makes tests passing after changes by issue #5322.
-
- 20 Eki, 2016 1 kayıt (commit)
-
-
Martin Panter yazdı
-
- 12 Haz, 2016 1 kayıt (commit)
-
-
Martin Panter yazdı
-
- 04 Haz, 2016 1 kayıt (commit)
-
-
Ethan Furman yazdı
-
- 02 Haz, 2016 1 kayıt (commit)
-
-
Martin Panter yazdı
-
- 28 May, 2016 1 kayıt (commit)
-
-
Martin Panter yazdı
This matches the usage of ZipFile and BufferedWriter. This still requires return values to be bytes() objects. Also document and test that the write() methods should only access their argument before they return.
-
- 17 Nis, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 31 Mar, 2016 1 kayıt (commit)
-
-
Martin Panter yazdı
Also change BufferedReader.writable() and BufferedWriter.readable() to always return False.
-
- 22 Mar, 2016 1 kayıt (commit)
-
-
Victor Stinner yazdı
Issue #26604: * Add a new optional source parameter to _warnings.warn() and warnings.warn() * Modify asyncore, asyncio and _pyio modules to set the source parameter when logging a ResourceWarning warning
-
- 02 Kas, 2015 1 kayıt (commit)
-
-
Martin Panter yazdı
This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed or edited some other way to fix the grammar.
-
- 28 Agu, 2015 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
on Windows and Cygwin. Patch from Akira Li.
-
- 25 Tem, 2015 1 kayıt (commit)
-
-
Robert Collins yazdı
open() accepted a 'U' mode string containing '+', but 'U' can only be used with 'r'. Patch from Jeff Balogh and John O'Connor.
-
- 13 Nis, 2015 1 kayıt (commit)
-
-
Antoine Pitrou yazdı
-
- 24 Mar, 2015 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
writer failed in BufferedRWPair.close().
-
- 10 Nis, 2015 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 19 Mar, 2015 1 kayıt (commit)
-
-
Benjamin Peterson yazdı
-
- 07 Şub, 2015 1 kayıt (commit)
-
-
Charles-François Natali yazdı
-
- 03 Şub, 2015 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
prevent corrupting exported buffer.
-
- 22 Ara, 2014 1 kayıt (commit)
-
-
Benjamin Peterson yazdı
Patch by Martin Panter.
-
- 20 Kas, 2014 1 kayıt (commit)
-
-
Nick Coghlan yazdı
- interpreter startup and shutdown code moved to a new pylifecycle.c module - Py_OptimizeFlag moved into the new module with the other global flags
-
- 25 Tem, 2014 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
class name instead of hardcoded one.
-
- 22 Haz, 2014 1 kayıt (commit)
-
-
Benjamin Peterson yazdı
Patch by Nikolaus Rath.
-
- 09 Haz, 2014 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 08 Haz, 2014 2 kayıt (commit)
-
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
Patch by Nikolaus Rath.
-
- 02 Mar, 2014 1 kayıt (commit)
-
-
Georg Brandl yazdı
-
- 04 Şub, 2014 1 kayıt (commit)
-
-
Nick Coghlan yazdı
- io.TextIOWrapper (and hence the open() builtin) now use the internal codec marking system added for issue #19619 - also tweaked the C code to only look up the encoding once, rather than multiple times - the existing output type checks remain in place to deal with unmarked third party codecs.
-
- 02 Şub, 2014 1 kayıt (commit)
-
-
Antoine Pitrou yazdı
-
- 29 Ock, 2014 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 23 Kas, 2013 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 16 Eyl, 2013 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
practice.
-
- 27 Agu, 2013 1 kayıt (commit)
-
-
Victor Stinner yazdı
are now created non-inheritable; add functions os.get/set_inheritable(), os.get/set_handle_inheritable() and socket.socket.get/set_inheritable().
-