• Marc-André Lemburg's avatar
    Special case the "s#" PyArg_Parse() token for Unicode objects: · 0afff388
    Marc-André Lemburg yazdı
    "s#" will now return a pointer to the default encoded string data
    of the Unicode object instead of a pointer to the raw UTF-16
    data.
    
    The latter is still available via PyObject_AsReadBuffer().
    
    The patch also adds an optimization for string objects which is
    based on the fact that string objects return the raw character data
    for getreadbuffer access and are always single-segment.
    0afff388
Adı
Son kayıt (commit)
Son güncelleme
BeOS Loading commit data...
Demo Loading commit data...
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...
.cvsignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
acconfig.h Loading commit data...
config.h.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...