About that, Carlos, this is not really a regression. Let me explain. The fact is that the QProcess objects do not behave exactly the same way on Windows and on Linux. On Windows, they are handling smoothly the separate channels (pipes) for stdout and stderr without any interferences. On Linux they don't: in some situations, the stderr channel is lost or closed (consequence: see for example Issue #859). The solution was to merge the channels (stdout and stderr) and colorize the stderr output with ANSI escape codes thanks to a proxy installed in the sitecustomize script. This proxy acting on sys.stderr, the prompts are not colorized anymore because they must be handled in a C extension by Python (they are not handled by the sys.stderr file). So that is a side effect of this workaround and, from a certain point of view, it is not a regression but an improvement :)
See these revisions for more details: http://code.google.com/p/spyderlib/source/detail?r=c4812a0daca5a9d9fc6c2d6288ce6ac352692415 http://code.google.com/p/spyderlib/source/detail?r=754c1c3d8eae02ad95163e24e2630f4ec26bb67a Cheers, Pierre 2011/12/8 Carlos Córdoba <[email protected]>: > Perhaps a minor thing, but nevertheless a regression: I'm not seeing the > prompt (>>>) colorized in the Python console on Linux. > > I have a couple of fixes too. Please give me until this afternoon to push > them. > > Cheers, > Carlos > > El 08/12/11 02:16, Pierre Raybaut escribió: > >> Hi all, >> >> Following recent major bug fixes added to the development version, and >> after testing it the whole week, I'm about to release v2.1.5. >> >> If you have any doubt on development version's stability, it's now or >> never (...later I mean!). >> >> Cheers >> Pierre >> > > -- > You received this message because you are subscribed to the Google Groups > "spyder" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/spyderlib?hl=en. > -- You received this message because you are subscribed to the Google Groups "spyder" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/spyderlib?hl=en.
