• Barry Warsaw's avatar
    Applying proposed patch for bug #474583, optional support for · 107771a2
    Barry Warsaw yazdı
    non-standard but common types.  Including Martin's suggestion to add
    rejected non-standard types from patch #438790.  Specifically,
    
    guess_type(), guess_extension(): Both the functions and the methods
    grow an optional "strict" flag, defaulting to true, which determines
    whether to recognize non-standard, but commonly found types or not.
    
    Also, I sorted, reformatted, and culled duplicates from the big
    types_map dictionary.  Note that there are a few non-equivalent
    duplicates (e.g. .cdf and .xls) for which the first will just get
    thrown away.  I didn't remove those though.
    
    Finally, use of the module as a script as grown the -l and -e options
    to toggle strictness and to do guess_extension(), respectively.
    
    Doc and unittest updates too.
    107771a2
Adı
Son kayıt (commit)
Son güncelleme
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...
RISCOS Loading commit data...
Tools Loading commit data...
.cvsignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
PLAN.txt Loading commit data...
README Loading commit data...
acconfig.h 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...