[issue1531415] parsetok.c emits warnings by writing to stderr

2020-01-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Closed by https://github.com/python/cpython/pull/17365 -- resolution: -> fixed stage: test needed -> resolved status: open -> closed ___ Python tracker ___

[issue1531415] parsetok.c emits warnings by writing to stderr

2020-01-12 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: https://github.com/python/cpython/pull/17971 -- ___ Python tracker ___ ___ Python-bugs-l

[issue1531415] parsetok.c emits warnings by writing to stderr

2020-01-12 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: The C version of pgen is gone so the circular dependency should not be a problem as as far as I can tell, Parser/parsetok.c does not emit warnings anymore (the functions are unused). Maybe we should just clean that code instead. -- _

[issue1531415] parsetok.c emits warnings by writing to stderr

2020-01-10 Thread Brett Cannon
Brett Cannon added the comment: Pablo, is this still a thing to care about? -- nosy: +pablogsal ___ Python tracker ___ ___ Python

[issue1531415] parsetok.c emits warnings by writing to stderr

2012-03-12 Thread Sean Reifschneider
Sean Reifschneider added the comment: Michele: Do you know what needs to be done to determine the resolution to the _warnings/pgen question? If not, maybe asking the question on python-dev could get some advice. -- nosy: +jafo ___ Python tracker

[issue1531415] parsetok.c emits warnings by writing to stderr

2012-03-12 Thread Michele Orrù
Michele Orrù added the comment: > This is not the proper workflow for bug tracking. "No one is working > on this right now" is not the same as "This bug is invalid". No one > worked on this ticket almost *seven years* after I filed it. You are right. Sorry for that. --

[issue1531415] parsetok.c emits warnings by writing to stderr

2012-03-11 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: > May somebody check for this? Otherwise the bug could be considered invalid. This is not the proper workflow for bug tracking. "No one is working on this right now" is not the same as "This bug is invalid". No one worked on this ticket almost *seven y

[issue1531415] parsetok.c emits warnings by writing to stderr

2012-03-11 Thread Michele Orrù
Michele Orrù added the comment: May somebody check for this? Otherwise the bug could be considered invalid. -- ___ Python tracker ___ _

[issue1531415] parsetok.c emits warnings by writing to stderr

2012-03-07 Thread Brett Cannon
Brett Cannon added the comment: It's quite possible you are right, Michele. I don't know if anyone has looked at what exactly is required for _warnings.c compared to pgen. -- ___ Python tracker

[issue1531415] parsetok.c emits warnings by writing to stderr

2012-03-05 Thread Michele Orrù
Michele Orrù added the comment: For what I saw these days, Parser/tokenizer.c should import warnings.h (in order to use PyErr_WarnEx()), but Python/_warnings.c imports Python.h, that requires pgen ready. This leads to a circular dependency. Am I wrong / missing something? -- ___

[issue1531415] parsetok.c emits warnings by writing to stderr

2012-02-27 Thread Brett Cannon
Brett Cannon added the comment: Not quite, Michele. So this bug is about taking the stuff that is printed to stdout/stderr explicitly in parsetok.c and instead using the warnings functions, e.g. PyErr_Warn(), since _warnings is a built-in module (now) and thus is available to the tokenizer to

[issue1531415] parsetok.c emits warnings by writing to stderr

2012-02-27 Thread Michele Orrù
Michele Orrù added the comment: I am interested in solving this bug. If I understood correctly, that should be just a matter of spitting over sys.stdout whenever the user imports warnings.py, sys.stderr otherwise. Rewriting the code in C for python3.x would still be appreciated? -- n

[issue1531415] parsetok.c emits warnings by writing to stderr

2012-02-25 Thread Éric Araujo
Changes by Éric Araujo : -- versions: -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue1531415] parsetok.c emits warnings by writing to stderr

2012-02-24 Thread Ezio Melotti
Changes by Ezio Melotti : -- versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue1531415] parsetok.c emits warnings by writing to stderr

2010-08-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: warning.py it still is in 3.1 -- nosy: +terry.reedy versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker ___

[issue1531415] parsetok.c emits warnings by writing to stderr

2009-03-29 Thread Daniel Diniz
Changes by Daniel Diniz : -- nosy: +brett.cannon stage: -> test needed type: -> feature request versions: +Python 2.7, Python 3.1 -Python 2.5 ___ Python tracker ___ _