Skip to content

Commit

Permalink
remove some magic
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Doris committed Mar 14, 2024
1 parent 79b173f commit 6975f7c
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/Core/stdlib.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,7 @@ function init_stdlib()
# if Python is interactive, ensure Julia is too
if pyhasattr(pysysmodule, "ps1")
Base.eval(:(is_interactive = true))
REPL = Base.require(Base.PkgId(Base.UUID("3fa0cd96-eef1-5676-8a61-b3b8758bbffb"), "REPL"))
# adapted from run_main_repl() in julia/base/client.jl
Base.load_InteractiveUtils()
term_env = get(ENV, "TERM", Sys.iswindows() ? "" : "dumb")
term = REPL.Terminals.TTYTerminal(term_env, stdin, stdout, stderr)
if term.term_type == "dumb"
repl = REPL.BasicREPL(term)
else
repl = REPL.LineEditREPL(term, get(stdout, :color, false), true)
repl.history_file = false
end
pushdisplay(REPL.REPLDisplay(repl))
end

else
Expand Down

4 comments on commit 6975f7c

@cjdoris
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/102885

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.9.16 -m "<description of version>" 6975f7c5d1f08fc4db785e40d1041492346a21c1
git push origin v0.9.16

@cjdoris
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register

Release notes:

  • Big internal refactor.
  • New unexported functions: python_executable_path, python_library_path, python_library_handle and python_version.
  • Py is now treated as a scalar when broadcasting.
  • PyArray is now serializable.
  • Removed compatibility with Julia 1.10.1 and 1.10.2 (to be fixed in 1.10.3 and 1.11.0) due to an upstream bug.
  • Bug fixes.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request updated: JuliaRegistries/General/102885

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.9.16 -m "<description of version>" 6975f7c5d1f08fc4db785e40d1041492346a21c1
git push origin v0.9.16

Please sign in to comment.