[issue17797] Visual C++ 11.0 reports fileno(stdin) == 0 for non-console program

2013-07-07 Thread V.E.O
V.E.O added the comment: Hi Christian, The latest runtime Microsoft provided is buggy. Tried fix the PyVerify_fd with more GetFileType verification. But a lot more problems came for isatty returns true in non-console program. The fix in Python side shall be large. Details is reported

[issue17797] Visual C++ 11.0 reports fileno(stdin) == 0 for non-console program

2013-07-06 Thread V.E.O
V.E.O added the comment: Tested on MSVCRT110.DLL (11.0.51106.1 released in 2012/11/05). Previous one 11.0.50727.1 released in 2012/07/26 does not have this problem. This problem better be fixed in Python for MS does not have clear document. -- nosy: +V.E.O

[issue18340] float related test has problem with Denormal Flush to Zero compiler options

2013-07-02 Thread V.E.O
V.E.O added the comment: Hi All, From my test, GCC will not enforce DFZ/FTZ only by compiler options. It needs code modify register flag. I think it's a problem with Intel Compiler. Maybe from platform.python_compiler(), these tests can identify the compiler and be skipped

[issue18340] float related test has problem with Denormal Flush to Zero compiler options

2013-07-02 Thread V.E.O
V.E.O added the comment: Hi Mark, If these flag is opened by code running in Python, DAZ FTZ flags should be opened. With Intel Compiler, in default, they add code opening the flag for you. -- ___ Python tracker rep...@bugs.python.org http

[issue18340] float related test has problem with Denormal Flush to Zero compiler options

2013-07-01 Thread V.E.O
New submission from V.E.O: With Intel Compiler's default options or GCC with -mfpmath=sse, the built Python failed at float related test. For failures in test_strtod: Traceback (most recent call last): File .\test_strtod.py, line 190, in test_boundaries self.check_strtod(s) File

[issue18340] float related test has problem with Denormal Flush to Zero compiler options

2013-07-01 Thread V.E.O
V.E.O added the comment: Hi Mark, Sorry for unclear DFZ abbreviation, that is when compiler opened with FTZ and DAZ feature. My operating system is Linux X64, I only tried Intel Compiler. In default optimization mode, the FTZ option is opened. Don't known why Intel make it the default option

[issue16183] ZipExtFile object close without file handle closed

2012-10-10 Thread V.E.O
New submission from V.E.O: Hi, I tried to open file-like object ZipExtFile in one zip file, after operations, I close it and after all, close ZipFile. But I still can not remove the zip file immediately. This problem happens on Windows, error msg: WindowsError: [Error 32] The process cannot

[issue16183] ZipExtFile object close without file handle closed

2012-10-10 Thread V.E.O
Changes by V.E.O v@tom.com: -- type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16183 ___ ___ Python-bugs-list mailing list

[issue15813] Python function decorator scope losing variable

2012-08-29 Thread V.E.O
New submission from V.E.O: I just learned python @ decorator, it's cool, but soon I found my modified code coming out weird problems. def with_wrapper(param1): def dummy_wrapper(fn): print param1 param1 = 'new' fn(param1) return dummy_wrapper def dummy