• Marc-André Lemburg's avatar
    Slightly revised version of patch #1538956: · 040f76b7
    Marc-André Lemburg yazdı
    Replace UnicodeDecodeErrors raised during == and !=
    compares of Unicode and other objects with a new
    UnicodeWarning.
    
    All other comparisons continue to raise exceptions.
    Exceptions other than UnicodeDecodeErrors are also left
    untouched.
    040f76b7
unicodeobject.h 43.8 KB