350 KiB limit excludes CPython repo's 9 large source files #143366
Replies: 2 comments
-
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
Thank you for the detailed feedback @JDLH. We know this limit can be frustrating especially in cases like this when it causes you to not trust the search results. The limit we have in place is to protect the availability of the system for everyone, so we have to be careful about changing it. That said, I will share this feedback with the rest of the team. |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Product Feedback
Body
Code search has a published limitation that "files over 350 KiB are excluded". I would like to report some more cases of important source files from important repos which are poorly served by this limit. See also #37569, #138767, #18624, #122801, #63353, #39043, #10990.
The official repo of the reference Python interpreter CPython includes 9 source files which exceed this limit:
(This output is just the file size in bytes and the relative file path; I elided the other columns since they are not relevant.)
There are a total of 65 files which exceed this limit in a clean CPython repo (with no build artifacts):
I am taking the time to give this feedback because I was just bitten by this limit. I was searching the CPython repo via GitHub, looking for the definition of a function
PyUnicode_DecodeUTF16Stateful
. GitHub code search did not find it for me. I had to download the code to my local machine and search with my local code editor instead.It would be nice if GitHub code search could have come through for me in this situation.
[Edited to include two
.py
source files in the first listing. Accordingly, changed "7" to "9" in the topic title and boy. Also added a missing.
to the relative paths in both listings.]Beta Was this translation helpful? Give feedback.
All reactions