Pillow/src/PIL
Jon Dufresne 1ba14783d2 Avoid deprecated 'U' mode when opening files
Instead, use PSFile() wrapper to handle all newline in the EPS spec.

Update line ending tests to handle all combinations of '\n' and '\r'.

Fixes warning "DeprecationWarning: 'U' mode is deprecated" in tests.
2018-07-01 08:07:59 -07:00
..
__init__.py update package and version module docstrings 2018-07-01 10:45:08 +03:00
_binary.py unpack_from is faster than unpack of slice 2018-06-24 18:00:22 +01:00
_tkinter_finder.py Use named version attributes and simplify version checks 2018-03-12 10:35:29 +02:00
_util.py Added py3 variable to _util 2018-04-20 09:19:13 +10:00
_version.py Rename PIL.version to PIL._version and remove it from module 2018-04-09 16:09:36 +03:00
BdfFontFile.py source layout reorg 2017-12-28 14:49:47 +00:00
BlpImagePlugin.py unpack_from is faster than unpack of slice 2018-06-24 18:00:22 +01:00
BmpImagePlugin.py Flake8 blank line fixes 2018-03-04 21:36:33 +11:00
BufrStubImagePlugin.py source layout reorg 2017-12-28 14:49:47 +00:00
ContainerIO.py source layout reorg 2017-12-28 14:49:47 +00:00
CurImagePlugin.py source layout reorg 2017-12-28 14:49:47 +00:00
DcxImagePlugin.py Trim trailing whitespace src dir 2018-01-27 00:02:56 -06:00
DdsImagePlugin.py Replaced broken URLs with archive URLs 2018-04-30 11:01:09 +10:00
EpsImagePlugin.py Avoid deprecated 'U' mode when opening files 2018-07-01 08:07:59 -07:00
ExifTags.py source layout reorg 2017-12-28 14:49:47 +00:00
features.py Removed redundant backslashes 2018-04-18 16:00:18 +10:00
FitsStubImagePlugin.py source layout reorg 2017-12-28 14:49:47 +00:00
FliImagePlugin.py source layout reorg 2017-12-28 14:49:47 +00:00
FontFile.py source layout reorg 2017-12-28 14:49:47 +00:00
FpxImagePlugin.py Flake8 blank line fixes 2018-03-04 21:36:33 +11:00
FtexImagePlugin.py source layout reorg 2017-12-28 14:49:47 +00:00
GbrImagePlugin.py Flake8 blank line fixes 2018-03-04 21:36:33 +11:00
GdImageFile.py Added GD tests 2017-12-30 19:31:33 +11:00
GifImagePlugin.py Changed encoderinfo to have priority over info when saving GIF images 2018-04-11 08:57:31 +10:00
GimpGradientFile.py Flake8 blank line fixes 2018-03-04 21:36:33 +11:00
GimpPaletteFile.py source layout reorg 2017-12-28 14:49:47 +00:00
GribStubImagePlugin.py source layout reorg 2017-12-28 14:49:47 +00:00
Hdf5StubImagePlugin.py source layout reorg 2017-12-28 14:49:47 +00:00
IcnsImagePlugin.py Changed dictionary comprehension style 2018-04-18 16:00:57 +10:00
IcoImagePlugin.py source layout reorg 2017-12-28 14:49:47 +00:00
Image.py Simplified dictionary pop 2018-07-01 14:47:48 +10:00
ImageChops.py source layout reorg 2017-12-28 14:49:47 +00:00
ImageCms.py Keep Image.VERSION here 2018-04-25 11:21:38 +03:00
ImageColor.py Added getrgb hsb color string 2018-05-31 06:14:29 +10:00
ImageDraw.py Added coordinate system links in documentation 2018-06-24 14:34:01 +10:00
ImageDraw2.py Not in this version, not in any version 2018-05-31 15:11:50 +03:00
ImageEnhance.py source layout reorg 2017-12-28 14:49:47 +00:00
ImageFile.py Merge pull request #3023 from kkopachev/issue-3022 2018-03-21 07:55:17 +00:00
ImageFilter.py versionadded 2018-04-14 18:48:06 +03:00
ImageFont.py Added py3 variable to _util 2018-04-20 09:19:13 +10:00
ImageGrab.py source layout reorg 2017-12-28 14:49:47 +00:00
ImageMath.py Added py3 variable to _util 2018-04-20 09:19:13 +10:00
ImageMode.py source layout reorg 2017-12-28 14:49:47 +00:00
ImageMorph.py Added coordinate system links in documentation 2018-06-24 14:34:01 +10:00
ImageOps.py source layout reorg 2017-12-28 14:49:47 +00:00
ImagePalette.py source layout reorg 2017-12-28 14:49:47 +00:00
ImagePath.py Remove unused Python class, Path 2018-04-03 20:57:30 -07:00
ImageQt.py Added py3 variable to _util 2018-04-20 09:19:13 +10:00
ImageSequence.py source layout reorg 2017-12-28 14:49:47 +00:00
ImageShow.py Use named version attributes and simplify version checks 2018-03-12 10:35:29 +02:00
ImageStat.py Flake8 blank line fixes 2018-03-04 21:36:33 +11:00
ImageTk.py Added coordinate system links in documentation 2018-06-24 14:34:01 +10:00
ImageTransform.py Added coordinate system links in documentation 2018-06-24 14:34:01 +10:00
ImageWin.py Added coordinate system links in documentation 2018-06-24 14:34:01 +10:00
ImImagePlugin.py Flake8 blank line fixes 2018-03-04 21:36:33 +11:00
ImtImagePlugin.py source layout reorg 2017-12-28 14:49:47 +00:00
IptcImagePlugin.py source layout reorg 2017-12-28 14:49:47 +00:00
Jpeg2KImagePlugin.py unpack_from is faster than unpack of slice 2018-06-24 18:00:22 +01:00
JpegImagePlugin.py Merge pull request #2946 from hugovk/2944-exif 2018-07-01 07:53:17 +03:00
JpegPresets.py source layout reorg 2017-12-28 14:49:47 +00:00
McIdasImagePlugin.py source layout reorg 2017-12-28 14:49:47 +00:00
MicImagePlugin.py source layout reorg 2017-12-28 14:49:47 +00:00
MpegImagePlugin.py source layout reorg 2017-12-28 14:49:47 +00:00
MpoImagePlugin.py Trim trailing whitespace src dir 2018-01-27 00:02:56 -06:00
MspImagePlugin.py unpack_from is faster than unpack of slice 2018-06-24 18:00:22 +01:00
OleFileIO.py source layout reorg 2017-12-28 14:49:47 +00:00
PaletteFile.py source layout reorg 2017-12-28 14:49:47 +00:00
PalmImagePlugin.py Flake8 blank line fixes 2018-03-04 21:36:33 +11:00
PcdImagePlugin.py source layout reorg 2017-12-28 14:49:47 +00:00
PcfFontFile.py source layout reorg 2017-12-28 14:49:47 +00:00
PcxImagePlugin.py Flake8 blank line fixes 2018-03-04 21:36:33 +11:00
PdfImagePlugin.py Merge pull request #2965 from vashek/master 2018-03-13 11:30:25 +02:00
PdfParser.py Removed unnecessary init method 2018-06-03 16:43:30 +10:00
PixarImagePlugin.py source layout reorg 2017-12-28 14:49:47 +00:00
PngImagePlugin.py Merge pull request #3105 from radarhere/py3 2018-04-22 18:37:33 +03:00
PpmImagePlugin.py Flake8 blank line fixes 2018-03-04 21:36:33 +11:00
PsdImagePlugin.py Flake8 blank line fixes 2018-03-04 21:36:33 +11:00
PSDraw.py Corrected argument name in documentation 2018-06-01 20:18:41 +10:00
PyAccess.py Added coordinate system links in documentation 2018-06-24 14:34:01 +10:00
SgiImagePlugin.py Added py3 variable to _util 2018-04-20 09:19:13 +10:00
SpiderImagePlugin.py Fixed docstrings 2018-04-18 16:00:17 +10:00
SunImagePlugin.py Flake8 blank line fixes 2018-03-04 21:36:33 +11:00
TarIO.py source layout reorg 2017-12-28 14:49:47 +00:00
TgaImagePlugin.py Flake8 blank line fixes 2018-03-04 21:36:33 +11:00
TiffImagePlugin.py Fix DeprecationWarning in Python 3.7 2018-05-06 15:31:43 +03:00
TiffTags.py At least two spaces before inline comment 2018-03-04 21:36:33 +11:00
WalImageFile.py Flake8 blank line fixes 2018-03-04 21:36:33 +11:00
WebPImagePlugin.py source layout reorg 2017-12-28 14:49:47 +00:00
WmfImagePlugin.py Added py3 variable to _util 2018-04-20 09:19:13 +10:00
XbmImagePlugin.py source layout reorg 2017-12-28 14:49:47 +00:00
XpmImagePlugin.py Flake8 blank line fixes 2018-03-04 21:36:33 +11:00
XVThumbImagePlugin.py source layout reorg 2017-12-28 14:49:47 +00:00