mojo
mojo copied to clipboard
[stdlib] Support print to stderr
Add keyword argument to print
function to support stream to stderr.
Fix #2453
Signed-off-by: Yun Ding [email protected]
Thanks for working on this @GeauxEric!🙂
I left a couple of small suggestions, but I noticed this PR is still in 'Draft' mode, so I'll hold off on leaving any more feedback until you indicate you're ready :)
@GeauxEric could I suggest that you rebase this PR on top of #2463 ? This should make this pull request quite a bit smaller in the end, as there will be less code to change.
rebased https://github.com/modularml/mojo/pull/2463
✅🟣 This contribution has been merged 🟣✅
Your pull request has been merged to the internal upstream Mojo sources. It will be reflected here in the Mojo repository on the nightly branch during the next Mojo nightly release, typically within the next 24-48 hours.
We use Copybara to merge external contributions, click here to learn more.
Landed in today's nightly: https://github.com/modularml/mojo/pull/2615. Thanks for the contribution! @modocache is eager to start using this.
Absolutely! Thanks a ton, @GeauxEric!