Pillow/docs
Brian Crowell a7e3b2e47b py3k: The big push
There are two main issues fixed with this commit:

* bytes vs. str: All file, image, and palette data are now handled as
  bytes. A new _binary module consolidates the hacks needed to do this
  across Python versions. tostring/fromstring methods have been renamed to
  tobytes/frombytes, but the Python 2.6/2.7 versions alias them to the old
  names for compatibility. Users should move to tobytes/frombytes.

  One other potentially-breaking change is that text data in image files
  (such as tags, comments) are now explicitly handled with a specific
  character encoding in mind. This works well with the Unicode str in
  Python 3, but may trip up old code expecting a straight byte-for-byte
  translation to a Python string. This also required a change to Gohlke's
  tags tests (in Tests/test_file_png.py) to expect Unicode strings from
  the code.

* True div vs. floor div: Many division operations used the "/" operator
  to do floor division, which is now the "//" operator in Python 3. These
  were fixed.

As of this commit, on the first pass, I have one failing test (improper
handling of a slice object in a C module, test_imagepath.py) in Python 3,
and three that that I haven't tried running yet (test_imagegl,
test_imagegrab, and test_imageqt). I also haven't tested anything on
Windows. All but the three skipped tests run flawlessly against Pythons
2.6 and 2.7.
2013-01-10 08:46:56 -06:00
..
BUILDME Prep 1.6 2010-12-01 14:39:00 -05:00
CHANGES Prep 1.6 2010-12-01 14:39:00 -05:00
conf.py Add sphinx docs 2012-02-16 20:10:57 -05:00
CONTENTS Prep 1.6 2010-12-01 14:39:00 -05:00
effbot.css Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
HISTORY.txt Release 1.7.8 2012-11-01 17:09:46 -04:00
index.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
index.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
INSTALL.txt Update docs 2010-11-28 15:59:33 -05:00
make.bat Add sphinx docs 2012-02-16 20:10:57 -05:00
Makefile Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.ArgImagePlugin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.ArgImagePlugin.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.BdfFontFile.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.BdfFontFile.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.BmpImagePlugin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.BmpImagePlugin.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.BufrStubImagePlugin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.BufrStubImagePlugin.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.ContainerIO.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.ContainerIO.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.CurImagePlugin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.CurImagePlugin.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.DcxImagePlugin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.DcxImagePlugin.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.EpsImagePlugin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.EpsImagePlugin.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.ExifTags.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.ExifTags.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.FitsStubImagePlugin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.FitsStubImagePlugin.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.FliImagePlugin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.FliImagePlugin.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.FontFile.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.FontFile.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.FpxImagePlugin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.FpxImagePlugin.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.GbrImagePlugin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.GbrImagePlugin.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.GdImageFile.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.GdImageFile.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.GifImagePlugin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.GifImagePlugin.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.GimpGradientFile.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.GimpGradientFile.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.GimpPaletteFile.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.GimpPaletteFile.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.GribStubImagePlugin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.GribStubImagePlugin.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.Hdf5StubImagePlugin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.Hdf5StubImagePlugin.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.IcnsImagePlugin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.IcnsImagePlugin.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.IcoImagePlugin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.IcoImagePlugin.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.Image.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.Image.rst py3k: The big push 2013-01-10 08:46:56 -06:00
pythondoc-PIL.ImageChops.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.ImageChops.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.ImageColor.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.ImageColor.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.ImageDraw.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.ImageDraw.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.ImageEnhance.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.ImageEnhance.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.ImageFile.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.ImageFile.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.ImageFileIO.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.ImageFileIO.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.ImageFilter.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.ImageFilter.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.ImageFont.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.ImageFont.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.ImageGL.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.ImageGL.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.ImageGrab.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.ImageGrab.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.ImageOps.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.ImageOps.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.ImagePalette.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.ImagePalette.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.ImagePath.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.ImagePath.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.ImageSequence.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.ImageSequence.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.ImageStat.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.ImageStat.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.ImageTk.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.ImageTk.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.ImageTransform.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.ImageTransform.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.ImageWin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.ImageWin.rst py3k: The big push 2013-01-10 08:46:56 -06:00
pythondoc-PIL.ImImagePlugin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.ImImagePlugin.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.ImtImagePlugin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.ImtImagePlugin.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.IptcImagePlugin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.IptcImagePlugin.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.JpegImagePlugin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.JpegImagePlugin.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.McIdasImagePlugin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.McIdasImagePlugin.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.MicImagePlugin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.MicImagePlugin.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.MpegImagePlugin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.MpegImagePlugin.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.MspImagePlugin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.MspImagePlugin.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.OleFileIO.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.OleFileIO.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.PaletteFile.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.PaletteFile.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.PalmImagePlugin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.PalmImagePlugin.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.PcdImagePlugin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.PcdImagePlugin.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.PcfFontFile.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.PcfFontFile.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.PcxImagePlugin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.PcxImagePlugin.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.PdfImagePlugin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.PdfImagePlugin.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.PixarImagePlugin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.PixarImagePlugin.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.PngImagePlugin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.PngImagePlugin.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.PpmImagePlugin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.PpmImagePlugin.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.PsdImagePlugin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.PsdImagePlugin.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.PSDraw.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.PSDraw.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.SgiImagePlugin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.SgiImagePlugin.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.SpiderImagePlugin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.SpiderImagePlugin.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.SunImagePlugin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.SunImagePlugin.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.TarIO.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.TarIO.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.TgaImagePlugin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.TgaImagePlugin.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.TiffImagePlugin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.TiffImagePlugin.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.TiffTags.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.TiffTags.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.WalImageFile.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.WalImageFile.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.WmfImagePlugin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.WmfImagePlugin.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.XbmImagePlugin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.XbmImagePlugin.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.XpmImagePlugin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.XpmImagePlugin.rst Add sphinx docs 2012-02-16 20:10:57 -05:00
pythondoc-PIL.XVThumbImagePlugin.html Move back to (lower case) docs dir 2010-07-31 19:56:56 -04:00
pythondoc-PIL.XVThumbImagePlugin.rst Add sphinx docs 2012-02-16 20:10:57 -05:00