We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
errorlog
ply spews some Warnings to stderr even if you have debug=False.
if you instantiate ply.lex.lex and ply.yacc.yacc with errorlog=ply.lex.NullLogger() you can suppress these warnings.
ply.lex.lex
ply.yacc.yacc
errorlog=ply.lex.NullLogger()
Optionally make this configurable.
The text was updated successfully, but these errors were encountered:
Having trouble figuring out how exactly you instantiate these things. Would you mind sharing the code?
Can this be done without recompiling the package? Really like this parser but can't use if it's spitting out all these warnings.
Sorry, something went wrong.
def quiet(*args, **kwargs): pass from ply import yacc, lex yacc.PlyLogger.warning = quiet lex.PlyLogger.warning = quiet
No branches or pull requests
ply spews some Warnings to stderr even if you have debug=False.
if you instantiate
ply.lex.lex
andply.yacc.yacc
witherrorlog=ply.lex.NullLogger()
you can suppress these warnings.Optionally make this configurable.
The text was updated successfully, but these errors were encountered: