• Alexey Izbyshev's avatar
    bpo-32236: open() emits RuntimeWarning if buffering=1 for binary mode (GH-4842) · a2670565
    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.
    a2670565
Adı
Son kayıt (commit)
Son güncelleme
..
clinic Loading commit data...
_iomodule.c Loading commit data...
_iomodule.h Loading commit data...
bufferedio.c Loading commit data...
bytesio.c Loading commit data...
fileio.c Loading commit data...
iobase.c Loading commit data...
stringio.c Loading commit data...
textio.c Loading commit data...
winconsoleio.c Loading commit data...