| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Sorry, something went wrong.
|
FWIW: I am a FreeBSD committer as well. |
Sorry, something went wrong.
|
LGTM. Hopefully there's not too much fallout. |
Sorry, something went wrong.
Me as well, but this should stay on 3.14 and not be backported, even if I'd like to see that. |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
|
IMO this change is backward compatible since it was recommended to use sys.platform.startswith('freebsd') to check if Python is running on FreeBSD. This code remains correct is sys.platform becomes "freebsd". |
Sorry, something went wrong.
|
We did the same change on Linux when Linux was upgrade from Linux 2.x to Linux 3.x, and it went fine. |
Sorry, something went wrong.
Oh great, I'd love to see this backported! |
Sorry, something went wrong.
That would be backward incompatible, it's a bad idea. This change can only land into Python 3.14. |
Sorry, something went wrong.
I am confused, doesn't this contract your previous statement: #129394 (comment)? |
Sorry, something went wrong.
|
Code "should" be checking startswith but I'd wager there are there cases that use the full string; they shouldn't be broken in an existing release. |
Sorry, something went wrong.
That's correct and this is what I have noticed with pyproject.toml. |
Sorry, something went wrong.
|
Is there anything required from me to merge this one? |
Sorry, something went wrong.
… without major version
Thank you very much for the quick turnaround. Always a pleasure to work with pros! |
Sorry, something went wrong.
…python#129394) Make 'sys.platform' return "freebsd" only on FreeBSD without major version.
| Back | FazBrowse Home | New Git URL |
…ut major version
Result:
📚 Documentation preview 📚: https://cpython-previews--129394.org.readthedocs.build/