Source

releasing/2.7.3 / Lib / imghdr.py

Author Commit Message Labels Comments Date
Benjamin Peterson
Merged revisions 65713 via svnmerge from
Georg Brandl
Merged revisions 65012,65035,65037-65040,65048,65057,65077,65091-65095,65097-65099,65127-65128,65131,65133-65136,65139,65149-65151,65155,65158-65159,65176-65178,65183-65184,65187-65190,65192,65194 via svnmerge from
Benjamin Peterson
#3424 rearrange the order of tests in imghdr to place more common types first
Branches
legacy-trunk
Benjamin Peterson
use isinstance
Branches
legacy-trunk
Guido van Rossum
Improved patches for sndhdr and imghdr by Victor Stinner, who writes:
Barry Warsaw
Compare what's read from files against proper byte literals. Neither of these
Guido van Rossum
Fix most trivially-findable print statements.
Raymond Hettinger
SF #75103: imghdr -- identify JPEGs in EXIF format
Branches
legacy-trunk
smontanaro
a few more modules get __all__
Branches
legacy-trunk
Tim Peters
Whitespace normalization.
Branches
legacy-trunk
Guido van Rossum
More trivial comment -> docstring transformations by Ka-Ping Yee,
Branches
legacy-trunk
Guido van Rossum
Allow open file as parameter (must be seekable) (Jack)
Branches
legacy-trunk
Guido van Rossum
(Jack:) Recognize PNG files.
Branches
legacy-trunk
Guido van Rossum
imghdr.what(): check for not h'. This lets
Branches
legacy-trunk
Guido van Rossum
Added optional second arg to what(), giving the data read from the file
Branches
legacy-trunk
Guido van Rossum
* calendar.py: all libC functionality now moved to built-in time module
Branches
legacy-trunk
Guido van Rossum
Misc changes and new modules. whrandom is "objectified". SOCKET.py
Branches
legacy-trunk
Guido van Rossum
Fix pnm test for short files and add X bitmap as recognized type
Branches
legacy-trunk
Guido van Rossum
Initial revision
Branches
legacy-trunk