- 22 Nis, 2019 1 kayıt (commit)
-
-
Marcin Niemira yazdı
-
- 09 Nis, 2019 1 kayıt (commit)
-
-
Steve Palmer yazdı
Move all documentation regarding the readinto method into either io.RawIOBase or io.BufferedIOBase. Corresponding changes to documentation in the _pyio.py module.
-
- 03 Mar, 2019 1 kayıt (commit)
-
-
ngie-eign yazdı
The previous code hardcoded `SEEK_SET`, etc. While it's very unlikely that these values will change, it's best to use the definitions to avoid there being mismatches in behavior with the code in the future. Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>
-
- 31 Eki, 2018 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 20 Eki, 2018 1 kayıt (commit)
-
-
Alexey Izbyshev yazdı
If buffering=1 is specified for open() in binary mode, it is silently treated as buffering=-1 (i.e., the default buffer size). Coupled with the fact that line buffering is always supported in Python 2, such behavior caused several issues (e.g., bpo-10344, bpo-21332). Warn that line buffering is not supported if open() is called with binary mode and buffering=1.
-
- 14 Eyl, 2018 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 29 Haz, 2018 1 kayıt (commit)
-
-
Zackery Spytz yazdı
-
- 21 Ara, 2017 1 kayıt (commit)
-
-
INADA Naoki yazdı
-
- 13 Ara, 2017 1 kayıt (commit)
-
-
Antoine Pitrou yazdı
-
- 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ı
-