• Brett Cannon's avatar
    Make str/str8 comparisons return True/False for !=/==. · 4043001f
    Brett Cannon yazdı
    Code that has been returning str8 becomes much more apparent thanks to this
    (e.g., struct module returning str8 for all string-related formats or sqlite3
    passing in str8 instances when converting objects that had a __conform__
    method).  One also has to watch out in C code when making a key from char *
    using PyString in the C code but a str instance in Python code as that will not
    longer compare equal.
    
    Once str8 gains a constructor like the current bytes type then
    test_modulefinder needs a cleanup as the fix is a little messy in that file.
    
    Thanks goes to Thomas Lee for writing the patch for the change giving an
    initial run-down of why most of the tests were failing.
    4043001f
Adı
Son kayıt (commit)
Son güncelleme
..
RPM Loading commit data...
Vim Loading commit data...
ACKS Loading commit data...
AIX-NOTES Loading commit data...
HISTORY Loading commit data...
NEWS Loading commit data...
NEWS.help Loading commit data...
PURIFY.README Loading commit data...
Porting Loading commit data...
README Loading commit data...
README.OpenBSD Loading commit data...
README.coverity Loading commit data...
README.klocwork Loading commit data...
README.valgrind Loading commit data...
RFD Loading commit data...
SpecialBuilds.txt Loading commit data...
build.sh Loading commit data...
cheatsheet Loading commit data...
developers.txt Loading commit data...
find_recursionlimit.py Loading commit data...
gdbinit Loading commit data...
indent.pro Loading commit data...
pymemcompat.h Loading commit data...
python-config.in Loading commit data...
python-mode.el Loading commit data...
python.man Loading commit data...
setuid-prog.c Loading commit data...
valgrind-python.supp Loading commit data...
vgrindefs Loading commit data...