Skip to content

Rename ipython_mode to numbered_prompt#49314

Merged
KristofferC merged 4 commits intoJuliaLang:masterfrom
hyrodium:fix/rename_ipython_mode_to_numbered_mode
Apr 14, 2023
Merged

Rename ipython_mode to numbered_prompt#49314
KristofferC merged 4 commits intoJuliaLang:masterfrom
hyrodium:fix/rename_ipython_mode_to_numbered_mode

Conversation

@hyrodium
Copy link
Copy Markdown
Contributor

I love the feature of ipython_mode, but I disagree with its name because:

  • The feature is less related to IPython.
  • I feel like there's not enough respect for our ancestors who developed Mathematica.

Fortunately, it's before the release of Julia v1.9, and I think it's a good opportunity to reconsider the name.
#46474 (comment)

@hyrodium
Copy link
Copy Markdown
Contributor Author

Reactions to my proposal for the renaming seem positive on Slack.

image

https://julialang.slack.com/archives/C67TK21LJ/p1681139172800279

@KristofferC
Copy link
Copy Markdown
Member

KristofferC commented Apr 10, 2023

If IPython mode is too strong, then softening it to e.h. ipython_prompt feels ok (since this is clearly not emulating the full IPyhton REPL experience). The suggested numbered_mode feels very bland.

@p-zubieta
Copy link
Copy Markdown
Contributor

Why not notebook_mode?

@KristofferC
Copy link
Copy Markdown
Member

KristofferC commented Apr 10, 2023

Because that makes it sounds like it provides some notebook functionality. As I said before, I do think the mode term is a bit too broad. notebook_prompt miiight be ok.

@IanButterworth
Copy link
Copy Markdown
Member

IanButterworth commented Apr 10, 2023

What about numbered_prompt?

@hyrodium
Copy link
Copy Markdown
Contributor Author

I think numbered_prompt is the current best choice, so I have updated this PR.

@hyrodium hyrodium changed the title Rename ipython_mode to numbered_mode Rename ipython_mode to numbered_prompt Apr 11, 2023
@JeffBezanson JeffBezanson added the backport 1.9 Change should be backported to release-1.9 label Apr 12, 2023
@JeffBezanson
Copy link
Copy Markdown
Member

💯 This is much better; the current name makes it sound like there is some kind of full IPython emulation, or that it will actually run IPython, or something. And IPython is not even called that anymore 😉

@JeffBezanson JeffBezanson added the REPL Julia's REPL (Read Eval Print Loop) label Apr 12, 2023
hyrodium and others added 2 commits April 13, 2023 08:54
@KristofferC KristofferC mentioned this pull request Apr 13, 2023
26 tasks
@KristofferC KristofferC merged commit 99c0dad into JuliaLang:master Apr 14, 2023
KristofferC added a commit that referenced this pull request Apr 14, 2023
Co-authored-by: Jeff Bezanson <jeff.bezanson@gmail.com>
Co-authored-by: Kristoffer Carlsson <kcarlsson89@gmail.com>
(cherry picked from commit 99c0dad)
@KristofferC KristofferC removed the backport 1.9 Change should be backported to release-1.9 label Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

REPL Julia's REPL (Read Eval Print Loop)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants