Pillow/PIL
Brian Crowell af5228896a py3k: Add module initialization and unicode/bytes int/long thunks
This commit:

* Adds Python 3 module initialization functions. I split out the main init
  of each module into a static setup_module function.
* Adds a py3.h which unifies int/long in Python 3 and unicode/bytes in
  Python 2. _imagingft.c unfortunately looks a little kludgy after this
  because it was already using PyUnicode functions, and I had to mix and
  match there manually.

With this commit, the modules all build successfully under Python 3.

What this commit does NOT do is patch all of the uses of PyArg_ParseTuple
and Py_BuildValue, which all need to be checked for proper use of bytes
and unicode codes. It also does not let selftest.py run yet, because there
are probably hundreds of issues to fix in the Python code itself.
2013-01-10 08:46:37 -06:00
..
__init__.py Forking PIL 2010-07-30 22:52:47 -04:00
ArgImagePlugin.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
BdfFontFile.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
BmpImagePlugin.py py3k: Use string methods instead of string module 2013-01-10 08:42:49 -06:00
BufrStubImagePlugin.py Forking PIL 2010-07-30 22:52:47 -04:00
ContainerIO.py Forking PIL 2010-07-30 22:52:47 -04:00
CurImagePlugin.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
DcxImagePlugin.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
EpsImagePlugin.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
ExifTags.py Forking PIL 2010-07-30 22:52:47 -04:00
FitsStubImagePlugin.py Forking PIL 2010-07-30 22:52:47 -04:00
FliImagePlugin.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
FontFile.py Forking PIL 2010-07-30 22:52:47 -04:00
FpxImagePlugin.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
GbrImagePlugin.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
GdImageFile.py Forking PIL 2010-07-30 22:52:47 -04:00
GifImagePlugin.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
GimpGradientFile.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
GimpPaletteFile.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
GribStubImagePlugin.py Forking PIL 2010-07-30 22:52:47 -04:00
Hdf5StubImagePlugin.py Forking PIL 2010-07-30 22:52:47 -04:00
IcnsImagePlugin.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
IcoImagePlugin.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
Image.py py3k: Add module initialization and unicode/bytes int/long thunks 2013-01-10 08:46:37 -06:00
ImageChops.py Forking PIL 2010-07-30 22:52:47 -04:00
ImageCms.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
ImageColor.py py3k: Use string methods instead of string module 2013-01-10 08:42:49 -06:00
ImageDraw.py Forking PIL 2010-07-30 22:52:47 -04:00
ImageDraw2.py Forking PIL 2010-07-30 22:52:47 -04:00
ImageEnhance.py Forking PIL 2010-07-30 22:52:47 -04:00
ImageFile.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
ImageFileIO.py Forking PIL 2010-07-30 22:52:47 -04:00
ImageFilter.py Radius was hardcoded to 2. 2012-12-06 16:19:55 -08:00
ImageFont.py py3k: Use string methods instead of string module 2013-01-10 08:42:49 -06:00
ImageGL.py Forking PIL 2010-07-30 22:52:47 -04:00
ImageGrab.py Forking PIL 2010-07-30 22:52:47 -04:00
ImageMath.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
ImageMode.py Forking PIL 2010-07-30 22:52:47 -04:00
ImageOps.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
ImagePalette.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
ImagePath.py Forking PIL 2010-07-30 22:52:47 -04:00
ImageQt.py Forking PIL 2010-07-30 22:52:47 -04:00
ImageSequence.py Forking PIL 2010-07-30 22:52:47 -04:00
ImageShow.py Forking PIL 2010-07-30 22:52:47 -04:00
ImageStat.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
ImageTk.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
ImageTransform.py Forking PIL 2010-07-30 22:52:47 -04:00
ImageWin.py Forking PIL 2010-07-30 22:52:47 -04:00
ImImagePlugin.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
ImtImagePlugin.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
IptcImagePlugin.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
JpegImagePlugin.py py3k: Use string methods instead of string module 2013-01-10 08:42:49 -06:00
McIdasImagePlugin.py Forking PIL 2010-07-30 22:52:47 -04:00
MicImagePlugin.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
MpegImagePlugin.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
MspImagePlugin.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
OleFileIO.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
PaletteFile.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
PalmImagePlugin.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
PcdImagePlugin.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
PcfFontFile.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
PcxImagePlugin.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
PdfImagePlugin.py Forking PIL 2010-07-30 22:52:47 -04:00
PixarImagePlugin.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
PngImagePlugin.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
PpmImagePlugin.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
PsdImagePlugin.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
PSDraw.py py3k: Use string methods instead of string module 2013-01-10 08:42:49 -06:00
SgiImagePlugin.py Forking PIL 2010-07-30 22:52:47 -04:00
SpiderImagePlugin.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
SunImagePlugin.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
TarIO.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
TgaImagePlugin.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
TiffImagePlugin.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
TiffTags.py Forking PIL 2010-07-30 22:52:47 -04:00
WalImageFile.py Forking PIL 2010-07-30 22:52:47 -04:00
WmfImagePlugin.py Forking PIL 2010-07-30 22:52:47 -04:00
XbmImagePlugin.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
XpmImagePlugin.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00
XVThumbImagePlugin.py py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00