• Guido van Rossum's avatar
    Fix two bugs in socket_getaddr(): · 9ce8e380
    Guido van Rossum yazdı
    (a) 'single' shouldn't be DECREF'ed in the cleanup code;
    (b) the fallback case in makesockaddr() should use y# instead of s#
        in the format, since the data is bytes, not UTF-8 text.
    9ce8e380
socketmodule.c 125 KB