Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extra "true" in printfmt output #81

Closed
chris-b1 opened this issue Mar 22, 2024 · 3 comments
Closed

Extra "true" in printfmt output #81

chris-b1 opened this issue Mar 22, 2024 · 3 comments

Comments

@chris-b1
Copy link

E.g.

julia> printfmt("{:d}", 1000)
1000true

Doesn't occur in printfmtln or pyfmt

Version info

(jl_atRSS9) pkg> st
Status `/tmp/jl_atRSS9/Project.toml`
  [1fa38f19] Format v1.3.6

julia> versioninfo()
Julia Version 1.10.0
Commit 3120989f39b (2023-12-25 18:01 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 16 × 12th Gen Intel(R) Core(TM) i7-1270P
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, alderlake)
  Threads: 1 on 16 virtual cores
@ScottPJones
Copy link
Member

The "extra" true is not being actually being output by the print (as you'd see if it happened in a function), it just is an artifact of the REPL displaying whatever a function returns (unless it is nothing)
Still, it's an annoyance, and I'll fix this!

@ScottPJones
Copy link
Member

Fixed by #83

@chris-b1
Copy link
Author

Great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants