Pillow/src/PIL
Michael Constant 5c8aa277ce Avoid race condition when displaying images with eog
Image.show() expects its display command to run synchronously, but eog
is asynchronous if there's another instance already running -- it just
asks the other instance to open the file and then immediately exits.
This causes intermittent failures where the file gets deleted before
the running eog instance manages to open it.

Fix this by using the -n option, so eog starts a new instance each time
instead of trying to reuse an existing one.
2021-05-23 01:10:41 -07:00
..
__init__.py Document when deprecations will be removed [CI skip] 2020-12-10 14:32:43 +02:00
__main__.py Add __main__.py to output basic format and support information 2019-05-27 18:44:04 -07:00
_binary.py convert comments into docstrings in autodoc files 2020-06-14 14:15:43 +02:00
_tkinter_finder.py Deprecate Tk/Tcl 8.4, to be removed in Pillow 10 (2023-01-02) 2021-01-26 18:14:28 +11:00
_util.py Drop support for EOL Python 3.5 2020-08-11 22:29:44 +03:00
_version.py 8.3.0.dev0 version bump 2021-04-01 23:56:43 +03:00
BdfFontFile.py convert comments into docstrings in autodoc files 2020-06-14 14:15:43 +02:00
BlpImagePlugin.py Replaced register_open lambdas with _accept method for consistency 2021-04-03 21:51:28 +11:00
BmpImagePlugin.py Removed DPI rounding when BMP loading 2021-05-07 20:50:18 +10:00
BufrStubImagePlugin.py Upgrade Python syntax with pyupgrade --py3-plus 2019-10-07 14:30:59 +03:00
ContainerIO.py convert comments into docstrings in autodoc files 2020-06-14 14:15:43 +02:00
CurImagePlugin.py use offset for all binary input functions instead of slicing 2020-12-30 19:10:50 +11:00
DcxImagePlugin.py Call _accept instead of duplicating code 2020-06-23 17:41:13 +10:00
DdsImagePlugin.py Set mode of three channel uncompressed RGB data to RGB 2021-04-05 17:58:02 +10:00
EpsImagePlugin.py Simplified code by writing bytes instead of using wrapping to write strings 2021-04-29 21:35:57 +10:00
ExifTags.py Add EXIF tags which are part of the EXIF 2.32 specification 2021-04-20 11:01:46 +07:00
features.py Use python3 2021-05-08 12:37:06 +10:00
FitsStubImagePlugin.py Upgrade Python syntax with pyupgrade --py3-plus 2019-10-07 14:30:59 +03:00
FliImagePlugin.py use offset for all binary input functions instead of slicing 2020-12-30 19:10:50 +11:00
FontFile.py Upgrade Python syntax for 3.6+ 2020-07-30 10:09:18 +03:00
FpxImagePlugin.py remove extra i8 calls where input is proved bytes[] or int 2020-12-30 19:04:11 +11:00
FtexImagePlugin.py Renamed register_open accept methods for consistency 2021-04-03 21:51:23 +11:00
GbrImagePlugin.py use offset for all binary input functions instead of slicing 2020-12-30 19:10:50 +11:00
GdImageFile.py use offset for all binary input functions instead of slicing 2020-12-30 19:10:50 +11:00
GifImagePlugin.py Treat previous contents of first frame as transparent 2021-04-15 19:01:12 +10:00
GimpGradientFile.py convert comments into docstrings in autodoc files 2020-06-14 14:15:43 +02:00
GimpPaletteFile.py convert comments into docstrings in autodoc files 2020-06-14 14:15:43 +02:00
GribStubImagePlugin.py remove extra i8 calls where input is proved bytes[] or int 2020-12-30 19:04:11 +11:00
Hdf5StubImagePlugin.py Upgrade Python syntax with pyupgrade --py3-plus 2019-10-07 14:30:59 +03:00
IcnsImagePlugin.py Use python3 2021-05-08 12:37:06 +10:00
IcoImagePlugin.py Merge pull request #5429 from radarhere/ico 2021-04-25 12:07:38 +03:00
Image.py Merge pull request #5379 from radarhere/numpy 2021-05-20 15:09:02 +03:00
ImageChops.py Merge branch 'master' into rm-3.5 2020-09-01 20:16:46 +03:00
ImageCms.py Fixed loading profile with non-ASCII path on Windows 2020-09-13 13:53:58 +10:00
ImageColor.py Updated docstring 2021-02-09 19:14:57 +11:00
ImageDraw.py Round down the radius in rounded_rectangle 2021-04-05 08:54:06 +10:00
ImageDraw2.py fix some function references 2020-06-27 15:40:37 +02:00
ImageEnhance.py Upgrade Python syntax with pyupgrade --py3-plus 2019-10-07 14:30:59 +03:00
ImageFile.py Allow for sys.stdout.buffer to be missing 2021-05-03 18:07:05 +10:00
ImageFilter.py Only import numpy when necessary 2021-03-12 12:03:48 +11:00
ImageFont.py Fixed bug when checking FreeType2 version if it is not installed 2021-04-29 23:10:08 +10:00
ImageGrab.py Merge branch 'master' into rm-3.5 2020-09-01 20:16:46 +03:00
ImageMath.py Upgrade Python syntax for 3.6+ 2020-07-30 10:09:18 +03:00
ImageMode.py Removed Image._MODEINFO 2021-03-07 14:21:27 +11:00
ImageMorph.py Changed incorrect mode errors to ValueError 2021-04-18 14:47:05 +10:00
ImageOps.py Updated docstrings 2021-05-01 22:35:53 +10:00
ImagePalette.py Upgrade Python syntax for 3.6+ 2020-07-30 10:09:18 +03:00
ImagePath.py Introduce isort to automate import ordering and formatting 2019-07-06 16:11:35 -07:00
ImageQt.py Moved RGB fix inside ImageQt class 2021-03-10 13:17:19 +11:00
ImageSequence.py Fix exception causes all over the codebase 2020-06-21 13:21:25 +03:00
ImageShow.py Avoid race condition when displaying images with eog 2021-05-23 01:10:41 -07:00
ImageStat.py Upgrade Python syntax with pyupgrade --py3-plus 2019-10-07 14:30:59 +03:00
ImageTk.py Merge branch 'master' into rm-3.5 2020-09-01 20:16:46 +03:00
ImageTransform.py Format with Black 2019-06-10 18:22:46 +03:00
ImageWin.py Merge branch 'master' into rm-3.5 2020-09-01 20:16:46 +03:00
ImImagePlugin.py remove extra i8 calls where input is proved bytes[] or int 2020-12-30 19:04:11 +11:00
ImtImagePlugin.py Remove deprecated __version__ from plugins 2019-11-05 17:01:03 +02:00
IptcImagePlugin.py use offset for all binary input functions instead of slicing 2020-12-30 19:10:50 +11:00
Jpeg2KImagePlugin.py Do not reduce size if tile already loaded 2020-03-29 16:27:43 +11:00
JpegImagePlugin.py Removed DPI rounding from JPEG loading 2021-05-07 21:23:29 +10:00
JpegPresets.py Merge branch 'master' into rm-3.5 2020-09-01 20:16:46 +03:00
McIdasImagePlugin.py Remove deprecated __version__ from plugins 2019-11-05 17:01:03 +02:00
MicImagePlugin.py Added deprecation warnings 2021-03-28 15:51:28 +11:00
MpegImagePlugin.py Merge remote-tracking branch 'upstream/master' into rm-2.7 2019-11-18 13:56:42 +02:00
MpoImagePlugin.py Merge branch 'master' into exif 2021-03-15 12:41:45 +11:00
MspImagePlugin.py use offset for all binary input functions instead of slicing 2020-12-30 19:10:50 +11:00
PaletteFile.py convert comments into docstrings in autodoc files 2020-06-14 14:15:43 +02:00
PalmImagePlugin.py Merge branch 'master' into rm-3.5 2020-09-01 20:16:46 +03:00
PcdImagePlugin.py remove extra i8 calls where input is proved bytes[] or int 2020-12-30 19:04:11 +11:00
PcfFontFile.py Merge branch 'master' into rm-3.5 2020-09-01 20:16:46 +03:00
PcxImagePlugin.py Handle PCX images with an odd stride 2021-01-21 19:29:11 +11:00
PdfImagePlugin.py Do not round dimensions when saving PDF 2021-05-01 12:13:09 +10:00
PdfParser.py Do not round dimensions when saving PDF 2021-05-01 12:13:09 +10:00
PixarImagePlugin.py use offset for all binary input functions instead of slicing 2020-12-30 19:10:50 +11:00
PngImagePlugin.py Removed DPI rounding from PNG loading 2021-05-07 20:50:01 +10:00
PpmImagePlugin.py Upgrade Python syntax for 3.6+ 2020-07-30 10:09:18 +03:00
PsdImagePlugin.py Review, typos and lint 2021-04-01 17:41:46 +03:00
PSDraw.py Allow for sys.stdout.buffer to be missing 2021-05-03 18:07:05 +10:00
PyAccess.py fix PyAccess docs using deferred_error 2020-06-14 08:35:55 +02:00
SgiImagePlugin.py use offset for all binary input functions instead of slicing 2020-12-30 19:10:50 +11:00
SpiderImagePlugin.py Use python3 2021-05-08 12:37:06 +10:00
SunImagePlugin.py use offset for all binary input functions instead of slicing 2020-12-30 19:10:50 +11:00
TarIO.py convert comments into docstrings in autodoc files 2020-06-14 14:15:43 +02:00
TgaImagePlugin.py Merge pull request #5400 from radarhere/mapdepth_16 2021-04-18 13:00:29 +03:00
TiffImagePlugin.py Merge pull request #5452 from radarhere/missing_samplesperpixel 2021-05-14 16:17:34 +03:00
TiffTags.py Added CFAPattern, ExifVersion and FlashpixVersion UNDEFINED tags 2021-05-14 18:50:56 +10:00
WalImageFile.py convert comments into docstrings in autodoc files 2020-06-14 14:15:43 +02:00
WebPImagePlugin.py Changed default "method" value to 4 2021-04-28 18:20:44 +10:00
WmfImagePlugin.py Removed WMF DPI rounding 2021-05-06 20:08:54 +10:00
XbmImagePlugin.py Upgrade Python syntax for 3.6+ 2020-07-30 10:09:18 +03:00
XpmImagePlugin.py remove extra i8 calls where input is proved bytes[] or int 2020-12-30 19:04:11 +11:00
XVThumbImagePlugin.py remove extra i8 calls where input is proved bytes[] or int 2020-12-30 19:04:11 +11:00