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

flush standard output in flint_memory_error #585

Merged
merged 1 commit into from
Oct 10, 2019
Merged

Conversation

jhpalmieri
Copy link
Contributor

See https://trac.sagemath.org/ticket/28334: when FLINT is used in Sage, without flushing stdout, the printed error message can sometimes appear at pseudo-random times.

@wbhart
Copy link
Collaborator

wbhart commented Oct 10, 2019

Yeah, good idea. Thanks.

@wbhart wbhart merged commit 0725f58 into flintlib:trunk Oct 10, 2019
@nbruin
Copy link

nbruin commented Oct 24, 2019

Shouldn't such messages be printed on stderr? Added possible benefit: stderr is more likely to be set to line buffering, so may not need the flush.

@wbhart
Copy link
Collaborator

wbhart commented Oct 24, 2019

You could be right. I'll have to look into whether that will work for us.

@slel slel mentioned this pull request Oct 27, 2019
26 tasks
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

Successfully merging this pull request may close these issues.

3 participants