Python Imaging Library (Fork)
Go to file
Matthew Brett 92272f8195 FIX: search for tkinter first in builtins
Python compiled from Python.org source builds the tkinter module as a
built-in module, not an external module, as is the case for the packaged
builds of Debian etc:

    >>> Tkinter.tkinter
    <module '_tkinter' (built-in)>

This breaks the current algorithm for searching for tkinter symbols,
which loaded the external module .so file to get the symbols.

Try searching in the main program namespace for the tkinter symbols,
before looking for the extermal module .so file.

Thanks to github user ettaka for reporting : see
https://github.com/matplotlib/matplotlib/issues/7428
2016-11-09 09:00:26 -08:00
.github Updated Issue Template [skip ci] 2016-09-22 09:02:32 +01:00
depends Removed whitespace from blank lines 2016-09-03 12:23:42 +10:00
docs Fixed typo [ci skip] 2016-10-28 19:59:40 +11:00
libImaging Fix coefficients calculation (#2162) 2016-10-17 01:31:45 -07:00
PIL Merge pull request #2184 from jdufresne/isinstance 2016-11-01 19:07:06 +02:00
Scripts remove end of file banner from all files 2016-07-10 14:11:28 +03:00
Tests Replace try/except/fail pattern with TestCase.assertRaises() 2016-11-06 13:43:09 -08:00
Tk FIX: search for tkinter first in builtins 2016-11-09 09:00:26 -08:00
winbuild Reinstate URLs as minimal documentation for where files came from 2016-09-15 11:15:23 +03:00
_imaging.c 3.5.0.dev0 Dev Version bump 2016-10-04 00:18:33 -07:00
_imagingcms.c Check type of items passed into to ImageCms.ImageCmsProfile, fixes #2037 2016-09-26 14:56:00 -07:00
_imagingft.c Removed whitespace from blank lines 2016-09-03 12:23:42 +10:00
_imagingmath.c Removed powf support for older Python versions 2016-03-28 19:06:06 +11:00
_imagingmorph.c Removed whitespace from blank lines 2016-09-03 12:23:42 +10:00
_imagingtk.c RF: run-time loading of Tcl / Tk functions 2016-05-27 16:51:08 -04:00
_webp.c webp: better error checking when using Mux API 2015-02-23 11:10:37 +01:00
.coveragerc Don't exclude Windows code 2014-07-05 21:32:09 +03:00
.editorconfig Remove duplicate line [CI skip] 2016-09-03 12:37:47 +03:00
.gitattributes Add git attributes file for *.ppm, fixes #92 2013-03-10 08:28:15 -04:00
.gitignore Activated MPO detection. 2014-07-17 12:30:45 -04:00
.landscape.yaml Set landscape max-line-length 2015-07-21 18:23:55 +10:00
.travis.yml Revert "Work around pycparser issue failing our builds" 2016-10-03 18:17:20 +03:00
appveyor.yml 3.5.0.dev0 Dev Version bump 2016-10-04 00:18:33 -07:00
build_children.sh Fix repo name in curl 2015-01-04 21:30:50 +02:00
CHANGES.rst Update CHANGES.rst [CI skip] 2016-11-07 09:42:09 +02:00
decode.c Move DDS decoders to C 2016-08-25 19:27:48 -05:00
display.c Don't use int to handle type 2015-10-01 14:54:32 +01:00
encode.c Removed whitespace from blank lines 2016-09-03 12:23:42 +10:00
LICENSE Added Pillow to LICENSE [ci skip] 2016-04-02 10:41:10 +11:00
Makefile Fixed typo 2016-09-24 11:49:32 +10:00
MANIFEST.in Exclude more build detritus from package 2016-03-23 17:30:55 -04:00
map.c Map.c check should be against PY_SSIZE_T_MAX (#2151) 2016-10-04 07:16:17 -07:00
mp_compile.py Flake8 fixes 2016-09-03 12:17:22 +10:00
outline.c py3k: Remove ancient Python hacks 2013-01-10 08:46:57 -06:00
path.c Malloc check, realloc, #1715 2016-06-08 06:21:38 -07:00
profile-installed.py Removed unused import 2016-05-10 23:10:44 +10:00
py3.h py2.6 support 2016-06-27 00:58:06 -07:00
README.rst Renamed reference to OS X to macOS 2016-09-26 19:04:11 +10:00
RELEASING.md Renamed references to OS X to macOS 2016-09-23 21:12:03 +10:00
requirements.txt Add note about reqs [ci skip] 2016-03-23 17:23:08 -04:00
selftest.py Replaced del with pop 2016-06-18 11:25:39 +10:00
setup.py Replace type() equality checks with isinstance 2016-10-31 06:41:43 -07:00
test-installed.py Add more detail to the appveyor test runs 2016-05-12 05:52:29 -07:00
tox.ini Added py35 to tox envlist 2016-02-10 12:41:45 +11:00

Pillow
======

Python Imaging Library (Fork)
-----------------------------

Pillow is the friendly PIL fork by `Alex Clark and Contributors <https://github.com/python-pillow/Pillow/graphs/contributors>`_. PIL is the Python Imaging Library by Fredrik Lundh and Contributors.

.. start-badges

.. list-table::
    :stub-columns: 1

    * - docs
      - |docs|
    * - tests
      - | |linux| |macos| |windows| |coverage| |health|
    * - package
      - |zenodo| |version| |downloads|

.. |docs| image:: https://readthedocs.org/projects/pillow/badge/?version=latest
   :target: https://pillow.readthedocs.io/?badge=latest
   :alt: Documentation Status

.. |linux| image:: https://img.shields.io/travis/python-pillow/Pillow/master.svg?label=Linux%20build
   :target: https://travis-ci.org/python-pillow/Pillow
   :alt: Travis CI build status (Linux)

.. |macos| image:: https://img.shields.io/travis/python-pillow/pillow-wheels/latest.svg?label=macOS%20build
   :target: https://travis-ci.org/python-pillow/pillow-wheels
   :alt: Travis CI build status (macOS)

.. |windows| image:: https://img.shields.io/appveyor/ci/python-pillow/Pillow/master.svg?label=Windows%20build
   :target: https://ci.appveyor.com/project/python-pillow/Pillow
   :alt: AppVeyor CI build status (Windows)

.. |coverage| image:: https://coveralls.io/repos/python-pillow/Pillow/badge.svg?branch=master&service=github
   :target: https://coveralls.io/github/python-pillow/Pillow?branch=master
   :alt: Code coverage

.. |health| image:: https://landscape.io/github/python-pillow/Pillow/master/landscape.svg
   :target: https://landscape.io/github/python-pillow/Pillow/master
   :alt: Code health

.. |zenodo| image:: https://zenodo.org/badge/17549/python-pillow/Pillow.svg
   :target: https://zenodo.org/badge/latestdoi/17549/python-pillow/Pillow

.. |version| image:: https://img.shields.io/pypi/v/pillow.svg
   :target: https://pypi.python.org/pypi/Pillow/
   :alt: Latest PyPI version

.. |downloads| image:: https://img.shields.io/pypi/dm/pillow.svg
   :target: https://pypi.python.org/pypi/Pillow/
   :alt: Number of PyPI downloads

.. end-badges



More Information
----------------

- `Documentation <https://pillow.readthedocs.io/>`_

  - `Installation <https://pillow.readthedocs.io/en/latest/installation.html>`_
  - `Handbook <https://pillow.readthedocs.io/en/latest/handbook/index.html>`_

- `Contribute <https://github.com/python-pillow/Pillow/blob/master/.github/CONTRIBUTING.md>`_

  - `Issues <https://github.com/python-pillow/Pillow/issues>`_
  - `Pull requests <https://github.com/python-pillow/Pillow/pulls>`_

- `Changelog <https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst>`_

  - `Pre-fork <https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst#pre-fork>`_