hugovk
d002e5f690
Move diff-cover commands to diffcover.sh
2014-07-01 00:22:44 +03:00
hugovk
c261674980
Remove obsolete Animated Raster Graphics support
2014-06-27 15:58:12 +03:00
hugovk
1633ffa878
Merge branch 'cleanup' of https://github.com/wiredfool/Pillow into wiredfool-cleanup
...
Conflicts:
Tests/test_file_jpeg2k.py
Tests/test_image_transform.py
Tests/test_imagesequence.py
2014-06-23 13:39:27 +03:00
Alex Clark
4470b07c3f
Rename and rst-i-fy
2014-06-22 20:10:55 -04:00
wiredfool
54173d2c67
Cherry-pick of portions of patch a500ca1393
, many shortcut ops added, no functional changes
2014-05-09 21:36:15 -07:00
Alex Clark
e43e06b80e
More WS cleanup courtesy of @Arfrever
2013-06-30 18:46:03 -04:00
Michał Górny
1a977c859a
Add proper shebangs to all Python scripts.
2013-04-21 08:38:36 +02:00
Fabio M. Costa
f0f405ac92
makes sure this script is executed with systems python
...
Also removed some unused imports
2013-04-10 18:39:44 -04:00
Christoph Gohlke
03b8960db2
Fix pildriver script
2013-02-13 19:43:17 -08:00
Brian Crowell
31c454b925
py3k: 2to3's "idiom" filter
...
This is, I guess, a few things the Python devs were just fed up with.
* "while 1" is now "while True"
* Types are compared with isinstance instead of ==
* Sort a list in one go with sorted()
My own twist is to also replace type('') with str, type(()) with tuple,
type([]) with list, type(1) with int, and type(5000.0) with float.
2013-01-10 08:46:53 -06:00
Brian Crowell
48cf699fe6
py3k: Change apply() to unpacking syntax
...
apply() is no longer available in py3k.
2013-01-10 08:46:52 -06:00
Brian Crowell
dda0e9a3ed
py3k: Tkinter module is now tkinter
2013-01-10 08:46:51 -06:00
Brian Crowell
f6fa0941fd
py3k: Convert backticks to repr()
...
Backticks are no longer valid syntax for repr().
2013-01-10 08:46:49 -06:00
Brian Crowell
a453007651
py3k: sys.maxint renamed to sys.maxsize
2013-01-10 08:46:48 -06:00
Brian Crowell
5076c35cc5
py3k: print is a function
...
Seriously, if you didn't know that, you've been in a freaking cave, man.
2013-01-10 08:46:46 -06:00
Brian Crowell
09f1081c95
py3k: Fix up uses of dictionary views, ranges, and has_key()
...
y.has_key(x) is gone (use x in y), and keys(), values(), items(), and
range() all return views.
Some iterables needed to be packed into lists, either because the code
expected a list (such as "range(256) * 3") or because the original
collection was being modified (automatic global declarations).
The Tiff ImageFileDictionary is a special case and will be dealt with in
another commit.
2013-01-10 08:46:42 -06:00
Brian Crowell
78575798d7
py3k: Update exception usage to modern syntax
2013-01-10 08:46:33 -06:00
Brian Crowell
37f22ebfcd
py3k: Use string methods instead of string module
...
First, we go for the obvious stuff. The string module methods are gone in
3.0, so we translate them to the appropriate methods on the string class.
2013-01-10 08:42:49 -06:00
Alex Clark
9a640e3157
Forking PIL
2010-07-30 22:52:47 -04:00