• Victor Stinner's avatar
    Issue #9542: Create PyUnicode_FSDecoder() function · 47fcb5b4
    Victor Stinner yazdı
    It's a ParseTuple converter: decode bytes objects to unicode using
    PyUnicode_DecodeFSDefaultAndSize(); str objects are output as-is.
    
     * Don't specify surrogateescape error handler in the comments nor the
       documentation, but PyUnicode_DecodeFSDefaultAndSize() and
       PyUnicode_EncodeFSDefault() because these functions use strict error handler
       for the mbcs encoding (on Windows).
     * Remove PyUnicode_FSConverter() comment in unicodeobject.c to avoid
       inconsistency with unicodeobject.h.
    47fcb5b4
Adı
Son kayıt (commit)
Son güncelleme
..
abstract.rst Loading commit data...
allocation.rst Loading commit data...
arg.rst Loading commit data...
bool.rst Loading commit data...
buffer.rst Loading commit data...
bytearray.rst Loading commit data...
bytes.rst Loading commit data...
capsule.rst Loading commit data...
cell.rst Loading commit data...
code.rst Loading commit data...
complex.rst Loading commit data...
concrete.rst Loading commit data...
conversion.rst Loading commit data...
datetime.rst Loading commit data...
descriptor.rst Loading commit data...
dict.rst Loading commit data...
exceptions.rst Loading commit data...
file.rst Loading commit data...
float.rst Loading commit data...
function.rst Loading commit data...
gcsupport.rst Loading commit data...
gen.rst Loading commit data...
import.rst Loading commit data...
index.rst Loading commit data...
init.rst Loading commit data...
intro.rst Loading commit data...
iter.rst Loading commit data...
iterator.rst Loading commit data...
list.rst Loading commit data...
long.rst Loading commit data...
mapping.rst Loading commit data...
marshal.rst Loading commit data...
memory.rst Loading commit data...
method.rst Loading commit data...
module.rst Loading commit data...
none.rst Loading commit data...
number.rst Loading commit data...
objbuffer.rst Loading commit data...
object.rst Loading commit data...
objimpl.rst Loading commit data...
refcounting.rst Loading commit data...
reflection.rst Loading commit data...
sequence.rst Loading commit data...
set.rst Loading commit data...
slice.rst Loading commit data...
structures.rst Loading commit data...
sys.rst Loading commit data...
tuple.rst Loading commit data...
type.rst Loading commit data...
typeobj.rst Loading commit data...
unicode.rst Loading commit data...
utilities.rst Loading commit data...
veryhigh.rst Loading commit data...
weakref.rst Loading commit data...