gh-119535: Support 𝜋thon in Python 3.14 venvs#125035
gh-119535: Support 𝜋thon in Python 3.14 venvs#125035hugovk merged 1 commit intopython:mainfrom foreignmeloman:main
Conversation
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
|
I would guess, it's already too late;) And sounds wrongly: "Pi", not "Py". |
|
Also doesn't reveal the easter egg to terminal autocomplete (as far as i know autocomplete goes) |
Was it intended to show during the tab completion? |
| suffixes = ['python', 'python3', f'python3.{sys.version_info[1]}'] | ||
| if sys.version_info[:2] == (3, 14): | ||
| suffixes.append('python𝜋') | ||
| suffixes.append('𝜋thon') |
There was a problem hiding this comment.
Why can't we have both of them? 😄
There was a problem hiding this comment.
I think we should decide on one option. An easter egg should be unique, otherwise it'll loose its punch.
There was a problem hiding this comment.
(I suggest creating the concept of an easter omlet)
There was a problem hiding this comment.
Both would be better. 𝜋thon is the best of course, but python𝜋 is discoverable via tab-completion.
There was a problem hiding this comment.
An easter egg should be also hidden
Both would be better.
𝜋thonis the best of course, butpython𝜋is discoverable via tab-completion.
There was a problem hiding this comment.
Hugo asked me if I have an opinion on this. I don't have a strong opinion, but for whatever it's worth I chose python𝜋 in the original PR because:
- I think it's much easier to use, since your tab completion is narrowed to like four options. Especially so after the switch from U+03c0 to U+1d70b (I can type U+03c0 on my keyboard pretty easily but not U+1d70b)
- Subjective, but to me some of the joke comes from the substitution of 3.14 in the "python3.14" file that venv creates. It's clearer that it's specific to this specific version of Python
|
Okay, let's go for this one :) Remember, everyone: shhh! |
𝜋thon looks and sounds way cooler* Revert "pythongh-119535: Support 𝜋thon in Python 3.14 venvs (python#125035)" This reverts commit fcef3fc. * Revert "pythongh-119535: python𝜋 (python#119536)" This reverts commit 3fc673e.
* Revert "pythongh-119535: Support 𝜋thon in Python 3.14 venvs (python#125035)" This reverts commit fcef3fc. * Revert "pythongh-119535: python𝜋 (python#119536)" This reverts commit 3fc673e.
|
I'm having oooh such a blast with this easter egg : |
pythonπin Python 3.14 venv's #119535