• R. David Murray's avatar
    #9124: mailbox now accepts binary input and uses binary internally · b7deff1d
    R. David Murray yazdı
    Although this patch contains API changes and is rather weighty for an
    RC phase, the mailbox module was essentially unusable without the patch
    since it would produce UnicodeErrors when handling non-ascii input
    at arbitrary and somewhat mysterious places, and any non-trivial amount
    of email processing will encounter messages with non-ascii bytes.
    The release manager approved the patch application.
    
    The changes allow binary input, and reject non-ASCII string input early
    with a useful message instead of failing mysteriously later.  Binary
    is used internally for reading and writing the mailbox files.  StringIO
    and Text file input are deprecated.
    
    Initial patch by Victor Stinner, validated and expanded by R. David Murray.
    b7deff1d
Adı
Son kayıt (commit)
Son güncelleme
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
Tools Loading commit data...
.bzrignore Loading commit data...
.gitignore Loading commit data...
.hgeol Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
setup.py Loading commit data...