- Create Economist SubmissionTracking package correctly: * mainArticle = full blog post content * coverLetter = 216-word SIR— letter * Links to blog post via blogPostId - Archive 'Letter to The Economist' from blog posts (it's the cover letter) - Fix date display on article cards (use published_at) - Target publication already displaying via blue badge Database changes: - Make blogPostId optional in SubmissionTracking model - Economist package ID: 68fa85ae49d4900e7f2ecd83 - Le Monde package ID: 68fa2abd2e6acd5691932150 Next: Enhanced modal with tabs, validation, export 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
87 lines
2 KiB
Python
87 lines
2 KiB
Python
"""Pillow (Fork of the Python Imaging Library)
|
|
|
|
Pillow is the friendly PIL fork by Jeffrey A. Clark and contributors.
|
|
https://github.com/python-pillow/Pillow/
|
|
|
|
Pillow is forked from PIL 1.1.7.
|
|
|
|
PIL is the Python Imaging Library by Fredrik Lundh and contributors.
|
|
Copyright (c) 1999 by Secret Labs AB.
|
|
|
|
Use PIL.__version__ for this Pillow version.
|
|
|
|
;-)
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
from . import _version
|
|
|
|
# VERSION was removed in Pillow 6.0.0.
|
|
# PILLOW_VERSION was removed in Pillow 9.0.0.
|
|
# Use __version__ instead.
|
|
__version__ = _version.__version__
|
|
del _version
|
|
|
|
|
|
_plugins = [
|
|
"AvifImagePlugin",
|
|
"BlpImagePlugin",
|
|
"BmpImagePlugin",
|
|
"BufrStubImagePlugin",
|
|
"CurImagePlugin",
|
|
"DcxImagePlugin",
|
|
"DdsImagePlugin",
|
|
"EpsImagePlugin",
|
|
"FitsImagePlugin",
|
|
"FliImagePlugin",
|
|
"FpxImagePlugin",
|
|
"FtexImagePlugin",
|
|
"GbrImagePlugin",
|
|
"GifImagePlugin",
|
|
"GribStubImagePlugin",
|
|
"Hdf5StubImagePlugin",
|
|
"IcnsImagePlugin",
|
|
"IcoImagePlugin",
|
|
"ImImagePlugin",
|
|
"ImtImagePlugin",
|
|
"IptcImagePlugin",
|
|
"JpegImagePlugin",
|
|
"Jpeg2KImagePlugin",
|
|
"McIdasImagePlugin",
|
|
"MicImagePlugin",
|
|
"MpegImagePlugin",
|
|
"MpoImagePlugin",
|
|
"MspImagePlugin",
|
|
"PalmImagePlugin",
|
|
"PcdImagePlugin",
|
|
"PcxImagePlugin",
|
|
"PdfImagePlugin",
|
|
"PixarImagePlugin",
|
|
"PngImagePlugin",
|
|
"PpmImagePlugin",
|
|
"PsdImagePlugin",
|
|
"QoiImagePlugin",
|
|
"SgiImagePlugin",
|
|
"SpiderImagePlugin",
|
|
"SunImagePlugin",
|
|
"TgaImagePlugin",
|
|
"TiffImagePlugin",
|
|
"WebPImagePlugin",
|
|
"WmfImagePlugin",
|
|
"XbmImagePlugin",
|
|
"XpmImagePlugin",
|
|
"XVThumbImagePlugin",
|
|
]
|
|
|
|
|
|
class UnidentifiedImageError(OSError):
|
|
"""
|
|
Raised in :py:meth:`PIL.Image.open` if an image cannot be opened and identified.
|
|
|
|
If a PNG image raises this error, setting :data:`.ImageFile.LOAD_TRUNCATED_IMAGES`
|
|
to true may allow the image to be opened after all. The setting will ignore missing
|
|
data and checksum failures.
|
|
"""
|
|
|
|
pass
|