Commit Graph

19 Commits

Author SHA1 Message Date
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
Matthew Brett
f3565f3300 BUG: fix C90 compilation error for new Tk method
New Tk code that picks up libraries at run-time causes complaints and errors;
fix.

See: https://github.com/python-pillow/Pillow/issues/2017
2016-07-17 17:58:53 +00:00
homm
7bd341fecb change function declaration to match Tcl_CmdProc type 2016-06-21 04:12:05 -07:00
Andrew Murray
3eb7eb4788 Fixed typo [ci skip] 2016-06-15 20:50:26 +10:00
Matthew Brett
4bc75e4088 RF: try finding tkinter in Python rather than C
Use imported module to find tkinter.  Should find tkinter module for all
available versions of PyPy that have tkinter compiled, as well as
CPython.
2016-05-30 12:51:28 -07:00
Matthew Brett
6968c0c712 BF: make sure tkinter loaded for check
Make sure that tkinter package is loaded before checking for symbols in
process (Windows).
2016-05-27 19:42:21 -04:00
Matthew Brett
659e294676 RF: run-time loading of Tcl / Tk functions
Discover Tcl / Tk functions at run-time by looking in libs loaded by
Tkinter Python module.

Use header excerpts from Tcl / Tk so we don't need an installed Tcl / Tk
to build.
2016-05-27 16:51:08 -04:00
Christoph Gohlke
8fd37070af Fix crash in ImageTk.PhotoImage on win-amd64 2015-11-23 16:42:40 -08:00
Andrew Murray
0da6943472 Removed outdated Last Updated notes [ci skip] 2015-10-26 19:38:46 +11:00
Andrew Murray
68ca91f32c Removed support for Tk versions earlier than 8.4 2015-06-19 19:24:21 +10:00
Alex Clark
0cbf318004 Update 2014-06-22 20:49:42 -04:00
Alex Clark
4b2bc94b19 Clean up 2014-06-22 20:48:49 -04:00
Alex Clark
d1130b4d09 Clean up 2014-06-22 20:48:00 -04:00
Alex Clark
409ada8505 Clean up 2014-06-22 20:44:53 -04:00
Alex Clark
5ebe01fd2d Combine *.txt -> README.rst; rst-i-fy 2014-06-22 20:38:55 -04:00
Alex Clark
bb1b3a532c Cleanup WS, courtesy of @Arfrever
find * -type f "-(" -name "*.bdf" -o -name "*.c" -o -name "*.h" -o -name "*.py" -o -name "*.rst" -o -name "*.txt" "-)" -exec sed -e "s/[[:space:]]*$//" -i {} \;
2013-06-30 18:42:19 -04:00
Sandro Mani
3b6392bbda Fix warnings: _POSIX_C_SOURCE, _XOPEN_SOURCE redefined (caused by indirectly including system headers before Python.h) 2013-04-12 17:54:21 +02:00
Christoph Gohlke
007a4405de Use Py_ssize_t instead of long 2013-02-13 18:48:46 -08:00
Alex Clark
9a640e3157 Forking PIL 2010-07-30 22:52:47 -04:00