[issue10313] Reassure user: test_os BytesWarning is OK

2010-11-05 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> out of date stage: -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue10313] Reassure user: test_os BytesWarning is OK

2010-11-05 Thread Hallvard B Furuseth
Hallvard B Furuseth added the comment: Antoine Pitrou writes: > Hallvard, if you update your py3k working copy, do these warnings disappear? Yes, switching to the svn version shuts them up. -- ___ Python tracker

[issue10313] Reassure user: test_os BytesWarning is OK

2010-11-04 Thread R. David Murray
R. David Murray added the comment: Ah, then this report is probably out of date. I just realized that I ran my 3.2a3 test incorrectly, so my report that I didn't see them there is invalid. -- ___ Python tracker

[issue10313] Reassure user: test_os BytesWarning is OK

2010-11-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: I guess you're not seeing them because Victor silenced them a couple of days ago in r85902. Hallvard, if you update your py3k working copy, do these warnings disappear? -- nosy: +pitrou ___ Python tracker

[issue10313] Reassure user: test_os BytesWarning is OK

2010-11-04 Thread R. David Murray
R. David Murray added the comment: Running it with -E and seeing if that changes the behavior would also be useful. -- ___ Python tracker ___ ___

[issue10313] Reassure user: test_os BytesWarning is OK

2010-11-04 Thread R. David Murray
R. David Murray added the comment: Can you give the exact command line you are using to run it, and the OS and version, and perhaps a printenv? I can't reproduce it in 3.1 or 3.2a3. -- ___ Python tracker ___

[issue10313] Reassure user: test_os BytesWarning is OK

2010-11-04 Thread Hallvard B Furuseth
Hallvard B Furuseth added the comment: R. David Murray writes: > I don't see any bytes warnings when I run test_os with -b or -bb on > linux on py3k trunk. (If there were such a warning and it was expected, > the fix would be to capture the warning and ignore it.) > > Under what circumstances

[issue10313] Reassure user: test_os BytesWarning is OK

2010-11-04 Thread R. David Murray
R. David Murray added the comment: I don't see any bytes warnings when I run test_os with -b or -bb on linux on py3k trunk. (If there were such a warning and it was expected, the fix would be to capture the warning and ignore it.) Under what circumstances do you see this warning? --

[issue10313] Reassure user: test_os BytesWarning is OK

2010-11-04 Thread Hallvard B Furuseth
New submission from Hallvard B Furuseth : A test giving a strange warning can make a poor user nervous. Here's a minimal patch to calm his nerves. It would be better to only give the message if python -b (not -bb) is active, but I do not know how. diff -prU2 Lib/test/test_os.py Lib/test/test_o