Repository navigation
Ask for origin of issues and PRs #10717
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,96 @@ | ||
| name: Issue report | ||
| description: Create a report to help us improve Pillow | ||
| body: | ||
| - type: dropdown | ||
| id: origin | ||
| attributes: | ||
| label: Origin | ||
| description: Why are you reporting this? | ||
| options: | ||
| - AI found this because I asked it to find issues | ||
| - AI found this while I was using Pillow | ||
| - I found it myself (without AI) while looking at source code or docs | ||
| - I found it myself (without AI) while using Pillow | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| id: description | ||
| attributes: | ||
| label: Add a description | ||
| value: | | ||
| <!-- | ||
| Thank you for reporting an issue. | ||
|
|
||
| Follow these guidelines to ensure your issue is handled properly. | ||
|
|
||
| If you have a ... | ||
|
|
||
| 1. General question: consider asking the question on Stack Overflow | ||
| with the python-imaging-library tag: | ||
|
|
||
| * https://stackoverflow.com/questions/tagged/python-imaging-library | ||
|
|
||
| Do not ask a question in both places. | ||
|
|
||
| If you think you have found a bug or have an unexplained exception | ||
| then file a bug report here. | ||
|
|
||
| 2. Bug report: include a self-contained, copy-pastable example that | ||
| generates the issue if possible. Be concise with code posted. | ||
| Guidelines on how to provide a good bug report: | ||
|
|
||
| * https://stackoverflow.com/help/mcve | ||
|
|
||
| Bug reports which follow these guidelines are easier to diagnose, | ||
| and are often handled much more quickly. | ||
|
|
||
| 3. Feature request: do a quick search of existing issues | ||
| to make sure this has not been asked before. | ||
|
|
||
| We know asking good questions takes effort, and we appreciate your time. | ||
| Thank you. | ||
| --> | ||
|
|
||
| ### What did you do? | ||
|
|
||
| ### What did you expect to happen? | ||
|
|
||
| ### What actually happened? | ||
|
|
||
| ### What are your OS, Python and Pillow versions? | ||
|
|
||
| * OS: | ||
| * Python: | ||
| * Pillow: | ||
|
|
||
| <!-- Remove if this issue was not initiated by AI --> | ||
| ### AI-generated | ||
| My issue was generated by AI, as disclosed below: | ||
| - AI Tools: `[e.g. GitHub CoPilot, ChatGPT, JetBrains Junie etc.]` | ||
| - LLMs and versions: `[e.g. GPT-4.1, Claude Haiku 4.5, Gemini 2.5 Pro etc.]` | ||
| - Prompts: `[Summarize the key prompts or instructions given to the AI tools]` | ||
|
|
||
| ```text | ||
| Please paste here the output of running: | ||
|
|
||
| python3 -m PIL.report | ||
| or | ||
| python3 -m PIL --report | ||
|
|
||
| Or the output of the following Python code: | ||
|
|
||
| from PIL import report | ||
| # or | ||
| from PIL import features | ||
| features.pilinfo(supported_formats=False) | ||
| ``` | ||
|
|
||
| <!-- | ||
| Please include **code** that reproduces the issue and whenever possible, an **image** that demonstrates the issue. Please upload images to GitHub, not to third-party file hosting sites. If necessary, add the image to a zip or tar archive. | ||
|
|
||
| The best reproductions are self-contained scripts with minimal dependencies. If you are using a framework such as Plone, Django, or Buildout, try to replicate the issue just using Pillow. | ||
| --> | ||
|
|
||
| ```python | ||
| code goes here | ||
| ``` | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree, although I'd suggest something like:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting. You're suggesting that AI might be working on a project, and decide that based on the needs of the project, that Pillow should be modified? I wouldn't have imagined that AI had the long-term perspective one needs to desire an improvement after the next Pillow release.
I've updated the options, although a bit more concisely.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The AI user has the long term perspective when using AI to process images and happens to find a bug (just like without AI) but the user using AI just to use AI will likely not have any long term perspective beyond "my AI found this because I told it to look for bugs." So it's the same case you've been referencing: we want to fix things people actually encounter during normal usage and if they happen to be using AI to do that, fine. If they set out to find problems with AI for the sake of using AI, no thanks: we don't need 500 issues and PRs full of random correctness fixes every day for the next two years.