[issue12084] os.stat() on windows doesn't consider relative symlink

2011-06-14 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I tried issue12084_XP.diff, but os.stat()/os.lstat() always failed with following message because it raises exception on top of it when running on XP. Python 3.2.1rc1+ (default, Jun 14 2011, 16:26:11) [MSC v.1200 32 bit (Intel

[issue12084] os.stat() on windows doesn't consider relative symlink

2011-06-14 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I created several patches. quick1.patch: os.stat() traverses junction on Vista/7, and raises error on XP. quick2.patch: os.stat() never traverse junction on all windows. quick3.patch: os.stat() should traverse junction os Vista/7

[issue12084] os.stat() on windows doesn't consider relative symlink

2011-06-14 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: Added file: http://bugs.python.org/file22362/quick2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12084

[issue12084] os.stat() on windows doesn't consider relative symlink

2011-06-14 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: Added file: http://bugs.python.org/file22363/quick3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12084

[issue2122] mmap.flush does not check for errors on windows

2011-06-12 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: This issue seems to be reproduced in following way. 1. Attach USB flash drive. (On my machine, it was attached as E drive) 2. Run python interactive shell and run following commands. (Confirmed on Python2.6) import mmap

[issue12084] os.stat() on windows doesn't consider relative symlink

2011-05-29 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: Added file: http://bugs.python.org/file22182/patch_v2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12084

[issue12084] os.stat() on windows doesn't consider relative symlink

2011-05-29 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: Added file: http://bugs.python.org/file22183/patch_v2.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12084

[issue12084] os.stat() on windows doesn't consider relative symlink

2011-05-29 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: Removed file: http://bugs.python.org/file22006/patches_v2.tar.gz ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12084

[issue12084] os.stat() on windows doesn't consider relative symlink

2011-05-15 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: Hello. I noticed os.stat() on windows may traverse wrong path on relative symbolic when current working directory != the directory where symbolic link is in. This is because the relative path DeviceIoControl() returns is just

[issue9927] Leak around GetFinalPathNameByHandle (Windows)

2011-05-15 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I'll close this entry because #12084 contains this fix. -- status: open - closed superseder: - os.stat() on windows doesn't consider relative symlink ___ Python tracker rep

[issue10657] os.lstat/os.stat/os.fstat don't set st_dev (st_rdev) on Windows

2010-12-09 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: I noticed st_dev is not set yet. Attached patch fill this value, but sometimes it becomes negative value because dwVolumeSerialNumber is large enough. Maybe st_dev should be declared as unsigned int. # I think this is not new

[issue9927] Leak around GetFinalPathNameByHandle (Windows)

2010-12-09 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: This is updated version. Can you test this? (I only fixed leak, deferred other fixes to future) -- Added file: http://bugs.python.org/file19985/py3k_fix_leak_around_GetFinalPathNameByHandle_v2.patch

[issue9927] Leak around GetFinalPathNameByHandle (Windows)

2010-12-09 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: Removed file: http://bugs.python.org/file18979/py3k_fix_leak_around_GetFinalPathNameByHandle.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9927

[issue10653] test_time test_strptime fails on windows

2010-12-09 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: 1. Decoding the output of wcsftime(). Python expects mbcs (which I believe is an UTF16-like wide char encoding) while Windows apparently puts cp932 there in your locale. I don't have expertise to address this issue. No, mbcs

[issue8533] regrtest: use backslashreplace error handler for stdout

2010-12-08 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Well, can this go into Python3.2? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8533

[issue10652] test___all_ + test_tcl fails (Windows installed binary)

2010-12-08 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: On official Python3.2 beta1 windows binary, I noticed following command fails. (test_tcl alone won't fail) I couldn't reproduce this on binary built from source without installation

[issue10653] test_time test_strptime fails on windows

2010-12-08 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: Following tests fails on official Python3.2 Windows binary. I cannot reproduce this on VC6. / C:\Python32.\python -m test.regrtest -v test_time test_strptime [1/2] test_time

[issue10652] test___all_ + test_tcl fails (Windows installed binary)

2010-12-08 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: test___all__ imports a lot of modules, but I found one of following modules can bring same error. # just import one of these in test_main(test___all__) #import idlelib.AutoComplete #import tkinter.scrolledtext #import

[issue10652] test___all_ + test_tcl fails (Windows installed binary)

2010-12-08 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I think this happens because 1. test___all__.py imports tkinter module, and it imports tkinter/_fix.py 2. _fix.py sets TCL_LIBRARY etc as top level routine 3. regrtest.py resets os.environ after test___all__.py ends. so

[issue10652] test___all_ + test_tcl fails (Windows installed binary)

2010-12-08 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: How about this patch? Is this kind of *fix* acceptable? # I hope this works. -- keywords: +patch Added file: http://bugs.python.org/file19977/py3k_restore_sys_modules_in_regrtest.patch

[issue10654] test_datetime fails on Python3.2 windows binary

2010-12-08 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: I'm not sure why this happens, I can see this on official python3.2 beta1 windows binary. C:\Python32.\python -m test.regrtest test_datetime [1/1] test_datetime test test_datetime failed -- Traceback (most recent call last

[issue10653] test_time test_strptime fails on windows

2010-12-08 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I think this is locale problem. With C locale on windows, wcsftime doesn't return UTF16. (when non ascii characters are contained) It is just like char cbuf[] = ; /* contains non ascii chars in MBCS */ wchar_t wbuf[sizeof

[issue10653] test_time test_strptime fails on windows

2010-12-08 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I'll attach workaround. I used to confirm this works on VS8, but I don't have VS8 now. I hope this still works. -- keywords: +patch Added file: http://bugs.python.org/file19978/py3k_workaround_for_wcsftime.patch

[issue10653] test_time test_strptime fails on windows

2010-12-08 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Here you are. import time time.strftime('%Z') '\x93\x8c\x8b\x9e (\x95W\x8f\x80\x8e\x9e)' -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10653

[issue10654] test_datetime fails on Python3.2 windows binary

2010-12-08 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: == FAIL: test_computations (test.datetimetester.TestSubclassDateTime_Fast) -- Traceback (most

[issue10653] test_time test_strptime fails on windows

2010-12-08 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I got readable result. ;-) import time time.tzname ('東京 (標準時)', '東京 (標準時)') -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10653

[issue10654] test_datetime fails on Python3.2 windows binary

2010-12-08 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: This is shortest code to reproduce. But strange, I can see TypeError on VC6(both Debug and Release) E:\e:\python-dev\py3k\pc\VC6\python.exe x.py Traceback (most recent call last): File x.py, line 10, in module a+i TypeError

[issue10654] test_datetime fails on Python3.2 windows binary

2010-12-08 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: By changing from datetime import datetime to from _datetime import datetime I can see same behavior. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10654

[issue10654] test_datetime fails on Python3.2 windows binary

2010-12-08 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: NotImplementedError was printed. This happened when subclass of date or subclass of datetime. (plain classes and subclass of time didn't print this) // Code from _datetime import date, datetime

[issue10654] test_datetime fails on Python3.2 windows binary

2010-12-08 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Sorry, - NotImplementedError was printed + NotImplemented was printed -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10654

[issue10641] kill_python sometimes fails to kill processes on buildbots

2010-12-07 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: To kill python_d.exe, you should use kill_python_d.exe instead of kill_python.exe. On the XP and Win7 buildbots, kill_python sometimes fails to kill hung processes. Could you post the buildbot log url? -- nosy: +ocean

[issue10641] kill_python sometimes fails to kill processes on buildbots

2010-12-07 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I think #9973 is rather related. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10641

[issue9973] Sometimes buildbot fails to cleanup working copy

2010-12-07 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: Added file: http://bugs.python.org/file19968/py3k_buildbot_error_in_clean_faze_v2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9973

[issue9973] Sometimes buildbot fails to cleanup working copy

2010-12-07 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: Removed file: http://bugs.python.org/file19047/py3k_buildbot_error_in_clean_faze.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9973

[issue10637] Calling CloseHandle twice (Modules/posixmodule.c)

2010-12-07 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Committed in r87117(py3k). -- priority: release blocker - resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10637

[issue9558] build_ext fails on VS8.0

2010-12-07 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Won't this go into python3.2? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9558

[issue10631] ZipFile and current directory change

2010-12-05 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: Is this intended behavior? Creating zipfile.ZipFile with relative path and changing current directory, relative path is resolved from new directory not from the directory object was created. F:\py3k Python 3.2a4+ (py3k, Dec 3

[issue10637] Calling CloseHandle twice (Modules/posixmodule.c)

2010-12-05 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: Very sorry, I created the bug calling CloseHandle twice in Modules/posixmodule.c. I think this should be fixed before beta1 released. Can I commit it? -- components: None files: posixmodule.diff keywords: needs review

[issue10637] Calling CloseHandle twice (Modules/posixmodule.c)

2010-12-05 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Well, I'm not sure. I didn't realize it while running python_d.exe. I just realized it while re-reading source code. MSDN says, (http://msdn.microsoft.com/en-us/library/ms724211%28VS.85%29.aspx) If the application is running

[issue10637] Calling CloseHandle twice (Modules/posixmodule.c)

2010-12-05 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: -- Removed message: http://bugs.python.org/msg123461 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10637

[issue10614] ZipFile and CP932 encoding

2010-12-04 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I'm not sure why, but I got BadZipFile error now. Anyway, here is cp932 zip file to be created with python2.7. -- Added file: http://bugs.python.org/file19935/non-ascii-cp932.zip

[issue10614] ZipFile and CP932 encoding

2010-12-02 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: Currently, ZipFile only accepts ascii or utf8 as file name encodings. On Windows (Japanese), usually CP932 is used for it. So currently, when we melt ZipFile via py3k, non-ascii file name becomes strange. Can we handle this issue

[issue8879] Implement os.link on Windows

2010-11-25 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Umm, I'm not sure how to fix this yet, but if we create the function like os._stat_with_open_handle() which returns stat struct and open handle on windows, I think we can set/use st_ino. (Because FileID won't change while file

[issue8879] Implement os.link on Windows

2010-11-25 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Or, use GetFileInformationByHandleEx on Vista or above, and NtQueryInformationFile under Vista. NtQueryInformationFile is windows internal function and MS may change its behavior, but probably we can think it won't happen on WinXP

[issue8879] Implement os.link on Windows

2010-11-25 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: -- Removed message: http://bugs.python.org/msg122421 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8879

[issue10027] os.lstat/os.stat don't set st_nlink on Windows

2010-11-24 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Thank you for commit! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10027

[issue10402] sporadic test_bsddb3 failures

2010-11-24 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: This should be duplicate of #3892. I suppose timeout in this test might be very short. Refers to http://www.systomath.eu/doc/BerkeleyDb-4.7/html/api_c/rep_timeout.html timeout is in microseconds, so

[issue8879] Implement os.link on Windows

2010-11-24 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: r86733 introduces st_ino setup in attribute_data_to_stat(), but Fild ID is not guaranteed to be same when file is not opened. So I think it's meaningful only for os.fstat(). Please see http://msdn.microsoft.com/en-us/library

[issue10027] os.lstat/os.stat don't set st_nlink on Windows

2010-11-21 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Thank you for reply. Could you commit my last patch instead of me? I cannot commit files for a while. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10027

[issue6317] winsound.PlaySound doesn't accept non-unicode string

2010-11-07 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I've committed in r86283(py3k). I'll merge this into release31-maint and release27-maint. -- resolution: - fixed stage: - committed/rejected status: open - closed versions: -Python 2.6, Python 3.0

[issue6317] winsound.PlaySound doesn't accept non-unicode string

2010-11-07 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: As for back-porting: I'm not sure this is a bug in 2.7. It just doesn't support Unicode filenames, but that's not (inherently) a bug. In 3.1, I can agree that it's a bug - but we need to preserve the bytes support

[issue10336] test_xmlrpc fails if gzip is not supported by client

2010-11-07 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Sorry, I cannot. I don't know HTTP. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10336

[issue6317] winsound.PlaySound doesn't accept non-unicode string

2010-11-07 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I've committed in r86291(release31-maint). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6317

[issue10027] os.lstat/os.stat don't set st_nlink on Windows

2010-11-07 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I found Win32 FileID API. With this library, it seems we can use GetFileInformationByHandleEx before Vista. We can get real file name and hard link count from handle. http://www.microsoft.com/downloads/en/details.aspx?FamilyID

[issue10336] test_xmlrpc fails if gzip is not supported by client

2010-11-06 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: In test_xmlrpc.py, def test_gsip_response(self): # (sniP) self.assertTrue(ab) last line can fail if gzip is not supported by client. (gzip is not set in HTTP header's Accept-Encoding

[issue10336] test_xmlrpc fails if gzip is not supported by client

2010-11-06 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: -- Removed message: http://bugs.python.org/msg120602 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10336

[issue10336] test_xmlrpc fails if gzip is not supported by client

2010-11-06 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: In test_xmlrpc.py, def test_gsip_response(self): # (sniP) self.assertTrue(ab) last line can fail if gzip is not supported by client. (gzip is not set in HTTP header's Accept-Encoding

[issue6317] winsound.PlaySound doesn't accept non-unicode string

2010-11-06 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I updated the patch. (I hope we can remove ANSI version of Win32 API, though) -- Added file: http://bugs.python.org/file19528/py3k_winsound_v2.patch ___ Python tracker rep

[issue10053] Don’t close fd when FileIO.__ini t__ fails

2010-11-05 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Recently, the patch to close fd when FileIO#__init__ failed and closefd = True was checked in. Is this mean this issue is invalid? -- ___ Python tracker rep...@bugs.python.org http

[issue10232] Tkinter issues with Scrollbar and custom widget list

2010-11-05 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I think issue4 happens because all frames are grid-forgotten in redisp(), sometimes widget becomes empty. I think we can close this issue as invalid. P.S. Try this change in redisp() yy = 0 for xx in self.frms

[issue5391] mmap: read_byte/write_byte and object type

2010-11-04 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Thank for pointing this out. I've looked at bytearray and bytes implementations, they actually return unsigned value. I fixed this in r86159(py3k) and r86160(release31-maint

[issue9931] test_ttk_guionly hangs on XP5

2010-11-04 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I've created the patch to fix this. (This patch comes from #9055) -- keywords: +patch Added file: http://bugs.python.org/file19492/py3k_check_if_gui_is_really_available.patch ___ Python

[issue9931] test_ttk_guionly hangs on XP5

2010-11-04 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: -- dependencies: -test_issue_8959_b fails when run from a service ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9931

[issue10267] test_ttk_guionly leaks many references

2010-11-02 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: It seems this issue can be fixed by attached patch. -- keywords: +patch nosy: +ocean-city Added file: http://bugs.python.org/file19465/py3k_fix_test_ttk_guionly_refleak.patch ___ Python

[issue10157] Refleaks in pythonrun.c

2010-10-30 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Thank you, I committed your patch in r85980(py3k) and r85981(release31-maint). -- assignee: ocean-city - resolution: - fixed stage: patch review - committed/rejected status: open - closed versions: +Python 3.1

[issue10157] Refleaks in pythonrun.c

2010-10-25 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I think your patch looks good. -- assignee: - ocean-city ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10157

[issue10179] os.stat fails on mapped network drive

2010-10-23 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Can you try my patch in #10027? Does this also fail? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10179

[issue4032] distutils cannot recognize .dll.a as library on cygwin

2010-10-22 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I used to create the patch http://bugs.python.org/file11597/experimental_distutils.patch in #1706863, but cygwin guys wanted this code implemented in CCygwinCompiler class (See #2445). I think #2445 should be resolved before

[issue4032] distutils cannot recognize .dll.a as library on cygwin

2010-10-22 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Can you port that patch? I don't have cygwin installed now. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4032

[issue10027] os.lstat/os.stat don't set st_nlink on Windows

2010-10-22 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I created test branch branches/py3k-stat-on-windows and committed the new patch in r85789. This achieves msg119108. I tested this on Windows7 buildbot where symlink support exists, it seems working correct. http://www.python.org/dev

[issue9289] test_long_key(test_winreg) fails on win2k + py2.x

2010-10-22 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I committed in r85790(release27-maint). -- resolution: - fixed stage: patch review - committed/rejected status: open - closed title: Skip test_long_key(test_winreg) on win2k + py2.x - test_long_key(test_winreg) fails

[issue10157] Memory leak (r70152)

2010-10-21 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Hello. Does this patch fix the problem? -- keywords: +patch nosy: +ocean-city Added file: http://bugs.python.org/file19321/py3k_issue10157.patch ___ Python tracker rep...@bugs.python.org

[issue10027] os.lstat/os.stat don't set st_nlink on Windows

2010-10-19 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I noticed stat() won't set S_IEXEC in stat() with my patch (py3k_posixpath_v1.patch). :-( -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10027

[issue9929] subprocess.Popen unbuffered not work

2010-10-19 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I implemented msg117279 with v2 patch. Can I commit it? # If your are already working on this issue, please ignore # my patch. -- Added file: http://bugs.python.org/file19280/py3k_fix_unbuffered_in_subprocess_v2.patch

[issue9929] subprocess.Popen unbuffered not work

2010-10-19 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Umm, v2 patch broke test_subprocess. I'll repost v3 patch after removing bufsize=0 universal_newlines check. == ERROR: test_universal_newlines (__main__

[issue10027] os.lstat/os.stat don't set st_nlink on Windows

2010-10-19 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: Added file: http://bugs.python.org/file19290/py3k_posixpath_v1.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10027

[issue10027] os.lstat/os.stat don't set st_nlink on Windows

2010-10-19 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: Removed file: http://bugs.python.org/file19278/py3k_posixpath_v1.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10027

[issue10027] os.lstat/os.stat don't set st_nlink on Windows

2010-10-19 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I replaced my patch (almost reverted stat() part) I think st_nlink will be set via stat()/lstat(), at least. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue10136] kill_python doesn't work with short path

2010-10-18 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: When kill_python[,d].exe was called via short path, no python processes won't be killed. This happens because, directory path is compared via simple wcsnicmp. If one is short path and another is long path, wcsnicmp determines

[issue5117] os.path.relpath problem with root directory

2010-10-18 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Committed fixes in r85689(py3k), r85693(release31-maint), r85694(release27-maint). (This should work because I simply ported already working fix in ntpath.relpath) -- resolution: - fixed stage: commit review - committed

[issue5117] os.path.relpath problem with root directory

2010-10-18 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Sorry, I've commit the fix in r85717(release27-maint). I'll sit and watch buildbot. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5117

[issue5117] os.path.relpath problem with root directory

2010-10-18 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I confirmed test runs fine on x86 Snow Leopard 2.7. So I'm closing this issue -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http

[issue10027] os.lstat/os.stat don't set st_nlink on Windows

2010-10-18 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: How about this patch? * st_nlink support for stat()/lstat(). * lstat() for junction read attributes of junction not target. * stat() for symlink of system locked file (ie: c:/pagefile.sys) should read attributes from target

[issue10027] os.lstat/os.stat don't set st_nlink on Windows

2010-10-18 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: ... I noticed I can test this via buildbot... Probably I'll try this. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10027

[issue10098] intermittent failure in test_os

2010-10-16 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Sorry about this. And thank you for fix. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10098

[issue10071] Should not release GIL while running RegEnumValue

2010-10-13 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Well, I couldn't reproduce it on WinXP. Probably Win2K's bug. One thread is exactly on RegEnumValue or RegQueryValue, and another thread is a bit after RegSetValue (the place varies case by case). Type is SEGV

[issue10071] Should not release GIL while running RegEnumValue

2010-10-13 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: -- Removed message: http://bugs.python.org/msg118507 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10071

[issue10071] Should not release GIL while running RegEnumValue

2010-10-13 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: One thread is exactly on RegEnumValue or RegQueryValue, and another thread is a bit after RegSetValue (the place varies case by case). Type is SEGV. -- ___ Python tracker rep

[issue10071] Should not release GIL while running RegEnumValue

2010-10-12 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: Currently, PC/winreg.c releases GIL while calling registry API, but I found this in Remarks section of RegEnumValue. http://msdn.microsoft.com/en-us/library/ms724865%28VS.85%29.aspx While using RegEnumValue, an application

[issue10071] Should not release GIL while running RegEnumValue

2010-10-12 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: -- Removed message: http://bugs.python.org/msg118413 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10071

[issue10071] Should not release GIL while running RegEnumValue

2010-10-12 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: Currently, PC/winreg.c releases GIL while calling registry API, but I found this in Remarks section of RegEnumValue. http://msdn.microsoft.com/en-us/library/ms724865%28VS.85%29.aspx While using RegEnumValue, an application

[issue10071] Should not release GIL while running RegEnumValue

2010-10-12 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: Removed file: http://bugs.python.org/file19198/py27_test_winreg_crash_stack_trace.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10071

[issue10071] Should not release GIL while running RegEnumValue

2010-10-12 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: -- Removed message: http://bugs.python.org/msg118414 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10071

[issue10071] Should not release GIL while running RegEnumValue

2010-10-12 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10071

[issue10071] Should not release GIL while running RegEnumValue

2010-10-12 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: Currently, PC/winreg.c releases GIL while calling registry API, but I found this in Remarks section of RegEnumValue. http://msdn.microsoft.com/en-us/library/ms724865%28VS.85%29.aspx While using RegEnumValue, an application

[issue9055] test_issue_8959_b fails when run from a service

2010-10-11 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Hello. I've been finding the way to determine whether the process is running as service or not. Does this way work? On my environment, True is returned. I hope False will be returned in service environment. http

[issue9055] test_issue_8959_b fails when run from a service

2010-10-11 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Oh, I forgot to mention this. I think it can be possible to disable gui resource on regrtest.py when this function returns False. (I hope #9931 also can be fixed by this) -- ___ Python

[issue9055] test_issue_8959_b fails when run from a service

2010-10-11 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I'm planning to try it on buildbot XP-5. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9055

[issue9931] test_ttk_guionly hangs on XP5

2010-10-11 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: -- dependencies: +test_issue_8959_b fails when run from a service ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9931

[issue9055] test_issue_8959_b fails when run from a service

2010-10-11 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I confirmed window_station_has_display_surfaces() returned False on XP-5 which is running as service. See http://www.python.org/dev/buildbot/builders/x86%20XP-5%203.x/builds/1453/steps/test/logs/stdio (It ran r85362

  1   2   3   4   5   6   7   8   9   >