Commit Graph

9547 Commits

Author SHA1 Message Date
Jon Dufresne
64032061c0 Move several imports to the top-level of the file
This better follows PEP 8 style guide:

https://www.python.org/dev/peps/pep-0008/#imports

> Imports are always put at the top of the file, just after any module
> comments and docstrings, and before module globals and constants.

This also avoids duplicate import code within the same file.
2019-10-07 06:28:36 -07:00
Hugo
4382413bb4 Remove redundant bytearray 2019-10-07 16:23:43 +03:00
Hugo
865b17d5cf Remove Python 2-compatibility code 2019-10-07 16:23:22 +03:00
Andrew Murray
7e3156eb17 Updated IFDRational operators 2019-10-07 14:30:59 +03:00
Hugo
810b61e78f Reinstate and simplify parallel auto-detection 2019-10-07 14:30:59 +03:00
Hugo
74d2767c57 Remove duplicate line 2019-10-07 14:30:59 +03:00
Hugo
538d9e2e5d Upgrade Python syntax with pyupgrade --py3-plus 2019-10-07 14:30:59 +03:00
Hugo
af770a6c55 Drop support for EOL Python 2.7 2019-10-07 14:30:59 +03:00
Hugo van Kemenade
127b322194
Test Qt5 (#4120)
Test Qt5
2019-10-07 14:27:48 +03:00
Hugo van Kemenade
fe855ab999
Merge pull request #4121 from jdufresne/bytes
Use bytes literals instead of bytes(str)
2019-10-07 08:38:39 +03:00
Jon Dufresne
922f55c265 Use bytes literals instead of bytes(str)
Bytes literals are available on all supported Python versions. Rather
than convert strings literals to bytes at runtime, simply use a bytes
literal.
2019-10-06 19:26:55 -07:00
Andrew Murray
bbfa8bc1ca Updated CHANGES.rst [ci skip] 2019-10-07 13:07:36 +11:00
Andrew Murray
c3822de70d Test Qt5 2019-10-07 12:41:33 +11:00
Andrew Murray
e8cf9a6bc1
Merge pull request #4108 from hugovk/rm-deprecated-qt
Drop support for EOL PyQt4 and PySide
2019-10-07 12:35:56 +11:00
Hugo van Kemenade
bb4656928c
Remove duplicate cleanup in test_decompression_bomb.py (#4119)
Remove duplicate cleanup in test_decompression_bomb.py
2019-10-06 22:16:35 +03:00
Jon Dufresne
c50a309a10 Remove duplicate cleanup in test_decompression_bomb.py
The same cleanup is done in the teardDown() method. There is no need to
do it a 2nd time.
2019-10-06 10:24:48 -07:00
Hugo van Kemenade
ac563f77ad
Merge pull request #4118 from radarhere/backticks
Use double backticks
2019-10-06 12:03:49 +03:00
Hugo van Kemenade
068fd7b6f4
Merge pull request #4117 from radarhere/formats
Clarified image format documentation
2019-10-06 09:02:52 +03:00
Hugo van Kemenade
3ec2fbd572
Merge pull request #37 from radarhere/rm-deprecated-qt
Do not install qt4
2019-10-06 08:57:00 +03:00
Andrew Murray
6fe2df01cd Do not install qt4 2019-10-06 15:38:56 +11:00
Andrew Murray
e0d67a1f9f Use double backticks [ci skip] 2019-10-06 14:39:10 +11:00
Andrew Murray
ecb3a30487 Clarified documentation [ci skip] 2019-10-06 13:52:58 +11:00
Andrew Murray
732eb7223f
Merge branch 'master' into rm-deprecated-qt 2019-10-06 13:35:38 +11:00
Andrew Murray
6a83d5b239
Merge pull request #4114 from radarhere/tiff_size
Removed deprecated setting of TIFF image sizes
2019-10-05 02:33:08 +10:00
Hugo van Kemenade
0a8f029971
Merge pull request #4113 from radarhere/version
Removed outdated VERSION comment
2019-10-03 22:56:12 +03:00
Hugo van Kemenade
d479572158
Changed condition to use DEBUG as a boolean (#4112)
Changed condition to use DEBUG as a boolean
2019-10-03 15:38:46 +03:00
Andrew Murray
d6ae0a99a7 Removed deprecated setting of TIFF image sizes 2019-10-03 22:12:28 +10:00
Hugo van Kemenade
7821b34924
Merge branch 'master' into rm-deprecated-qt 2019-10-03 14:14:00 +03:00
Andrew Murray
3cd7d9e4a2 Removed outdated VERSION comment 2019-10-03 20:54:55 +10:00
Andrew Murray
6238f07d8c Updated CHANGES.rst [ci skip] 2019-10-03 20:53:54 +10:00
Andrew Murray
f61af2fed0
Merge pull request #4107 from hugovk/rm-deprecated-PILLOW_VERSION
Remove deprecated PILLOW_VERSION
2019-10-03 20:52:48 +10:00
Andrew Murray
1e6eac40fc Changed condition to use DEBUG as a boolean 2019-10-03 20:23:49 +10:00
Andrew Murray
59153f5e12 Updated CHANGES.rst [ci skip] 2019-10-03 19:37:00 +10:00
Hugo van Kemenade
40f29ab60e
Removed deprecation test (#36)
Removed deprecation test
2019-10-02 16:26:34 +03:00
Andrew Murray
e487ed7fef Removed deprecation test 2019-10-02 22:01:31 +10:00
Andrew Murray
f92f429317
Merge pull request #1730 from radarhere/frombuffer_args
Changed default frombuffer raw decoder args
2019-10-02 19:25:46 +10:00
Andrew Murray
91306dfac5
Merge pull request #4009 from radarhere/tifftags
Corrected tag types
2019-10-02 19:18:56 +10:00
Andrew Murray
94a64ea09c 7.0.0.dev0 version bump 2019-10-02 06:42:14 +10:00
nulano
7fb70695bd fix distutils not finding vcredist, use /MD 2019-10-01 22:23:42 +02:00
nulano
ae8fd7446f test-windows.yml raqm 2019-10-01 18:46:28 +02:00
Hugo
f898ccbaf8 Remove deprecated PILLOW_VERSION 2019-10-01 14:43:15 +03:00
Hugo van Kemenade
211a1daa95
Merge pull request #4106 from radarhere/releasing
Do not download dev wheels
2019-10-01 13:44:56 +03:00
Andrew Murray
490852915e Do not download dev wheels [ci skip] 2019-10-01 20:27:20 +10:00
Andrew Murray
8a30d13537 Updated CHANGES.rst [ci skip] 2019-10-01 19:24:57 +10:00
Andrew Murray
75602d12e1 6.2.0 version bump 2019-10-01 19:23:32 +10:00
Andrew Murray
4756af9c10 Updated CHANGES.rst [ci skip] 2019-10-01 06:54:31 +10:00
Hugo
485ea4ee8f Drop support for EOL PyQt4 2019-09-30 17:58:31 +03:00
Hugo
f0a87e25a4 Drop support for EOL PyQt4 and PySide 2019-09-30 17:58:31 +03:00
Andrew Murray
cc16025e23
Merge pull request #4104 from radarhere/overrun
Catch buffer overruns
2019-09-30 23:33:28 +10:00
Andrew Murray
fb8470187a
Merge pull request #4034 from cgohlke/patch-1
Initialize rows_per_strip when RowsPerStrip tag is missing
2019-09-30 22:32:34 +10:00