[issue9552] ssl build under Windows always rebuilds OpenSSL

2010-09-24 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : Added file: http://bugs.python.org/file18995/py3k_better_build_ssl.zip ___ Python tracker <http://bugs.python.org/issue9552> ___ ___ Pytho

[issue9937] _winreg.EnumValue causes MemoryError

2010-09-24 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: I can reproduce the issue on python2.x. I cannot on python3.x. -- nosy: +ocean-city ___ Python tracker <http://bugs.python.org/issue9

[issue9937] _winreg.EnumValue causes MemoryError

2010-09-24 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: This happens because RegQueryInfoKeyA returns maximum value name length in *Unicode* characters. Strange API. lpcMaxValueNameLen [out, optional] A pointer to a variable that receives the size of the key's longest value name, in Unicode characters

[issue9937] _winreg.EnumValue causes MemoryError

2010-09-24 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : -- Removed message: http://bugs.python.org/msg117293 ___ Python tracker <http://bugs.python.org/issue9937> ___ ___ Python-bug

[issue9552] ssl build under Windows always rebuilds OpenSSL

2010-09-24 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Thank you, I've committed in r84993(py3k) I'll close this issue after merging to other branches. -- ___ Python tracker <http://bugs.python.

[issue9937] _winreg.EnumValue causes MemoryError

2010-09-24 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: This happens because RegQueryInfoKeyA returns maximum value name length not in *Ansi* characters but in *Unicode" characters. I don't know clue why. http://msdn.microsoft.com/en-us/library/ms724902%28VS.85%29.aspx In multibyte environment, 2

[issue9937] _winreg.EnumValue causes MemoryError

2010-09-24 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Again, I'm not sure this is right fix. -- ___ Python tracker <http://bugs.python.org/issue9937> ___ ___ Python-bugs-l

[issue9815] assertRaises as a context manager keeps tracebacks and frames alive

2010-09-25 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: > Note that the original issue (test_tarfile failures on the Windows > buildbots) now seems fixed thanks to the various tarfile and > test_tarfile improvements. Yes, thanks. :-) -- ___ Python track

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

2010-09-25 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: I found workaround for this. (Probably self.deletetree is more handful, though) -- versions: -Python 2.6 Added file: http://bugs.python.org/file19020/py27_fix_test_winreg_long_key.patch ___ Python tracker <h

[issue9937] _winreg.EnumValue causes MemoryError

2010-09-25 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Sorry, my patch didn't pass test_dynamic_key(test_winreg). (Apologize for not testing on unit test) RegEnumValueA and RegQueryInfoKeyA always returned 0 for required data size if target is HKEY_PERFORMANCE_DATA. The possible fixes I can imagine are.

[issue9937] _winreg.EnumValue causes MemoryError

2010-09-25 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: I shall create unit test later. -- ___ Python tracker <http://bugs.python.org/issue9937> ___ ___ Python-bugs-list mailin

[issue9929] subprocess.Popen unbuffered not work

2010-09-25 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Antoine, can you create the patch? I'm not familiar with IO. -- ___ Python tracker <http://bugs.python.org/i

[issue9937] _winreg.EnumValue causes MemoryError

2010-09-27 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : Removed file: http://bugs.python.org/file18999/py27_winreg_EnumValue.patch ___ Python tracker <http://bugs.python.org/issue9937> ___ ___

[issue9937] _winreg.EnumValue causes MemoryError

2010-09-27 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : Removed file: http://bugs.python.org/file19021/py27_fix_winreg_EnumValue_op1.patch ___ Python tracker <http://bugs.python.org/issue9

[issue9937] _winreg.EnumValue causes MemoryError

2010-09-27 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: I've withdrew my patch... It has still problem, and I cannot fix it yet. I suppose option 2 is easy. ANSI API's limitation makes it harder to implement correctly. -- ___ Python tracker <http://bu

[issue9973] Sometimes buildbot fails to cleanup working copy

2010-09-28 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto : Sometimes, buildbot fails to clean working copy. / (snip) Clean started: Project: _hashlib, Configuration: Debug|Win32 Deleting intermediate and output files for project '_hashlib', configuration &#

[issue3674] test_dbm_ndbm skip is unexpected on win32?

2010-09-28 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : -- resolution: -> out of date status: open -> closed ___ Python tracker <http://bugs.python.org/issue3674> ___ ___ Pyth

[issue3612] Add some missing basic types in ctypes.wintypes

2010-09-28 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Sorry for too late. I've committed in r85073(py3k). -- ___ Python tracker <http://bugs.python.org/issue3612> ___ ___

[issue3612] Add some missing basic types in ctypes.wintypes

2010-09-28 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : -- resolution: accepted -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 3.2 -Python 2.6 ___ Python tracker <http://bugs.python.o

[issue9978] test_os failures on XP-4 buildbot

2010-09-29 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: I cannot reproduce this in my environment... E:\python-dev\py3k>py3k -m test.regrtest test_os [1/1] test_os [33503 refs] 1 test OK. [85140 refs] -- ___ Python tracker <http://bugs.python.org/iss

[issue9978] test_os failures on XP-4 buildbot

2010-09-29 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: I created the patch to fix this issue. WINFUNCTYPE is not member of ctypes.wintypes, but ctypes. -- keywords: +patch Added file: http://bugs.python.org/file19058/py3k_fix_test_os.patch ___ Python tracker <h

[issue9978] test_os failures on XP-4 buildbot

2010-09-29 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Other parts are needed for my environment. If machine is really slow, there is possibility of subprocess being killed before execution reaches "wintypes.WINFUNCTYPE" line. -- ___ Python trac

[issue10007] Visual C++ cannot build _ssl and _hashlib if newer OpenSSL is placed in $(dist) directory (PCBuild)

2010-10-01 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto : Visual C++ cannot build _ssl and _hashlib if newer OpenSSL is placed in $(dist) directory. This happens on PCbuild. Python3.2 uses openssl-1.0.0a Python3.1 and 2.7 uses openssl-0.9.8l If the directory layout is like this, Python3.1 cannot build _ssl and

[issue10007] Visual C++ cannot build _ssl and _hashlib if newer OpenSSL is placed in $(dist) directory (PCBuild)

2010-10-01 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: > Python3.1 cannot build _ssl and _hashlib. And Python2.7 cannot. -- ___ Python tracker <http://bugs.python.org/issu

[issue10008] Two links point to same place

2010-10-01 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto : Please see http://docs.python.org/genindex-T.html Thread (class in threading), [1] This two links point to same place. I think latter should point http://docs.python.org/library/threading.html#thread-objects or class threading.Thread(group=None, target

[issue10010] ".. index::" position

2010-10-01 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto : Hello. While I was reading HTML help, I felt some links were not pointing to *before* what I wanted to read. When I selected "sort (list method)" in keyword pane, it jumped to *Note* section, but I was not sure where I was. Table above was actua

[issue8879] Implement os.link on Windows

2010-10-01 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: I think this is because os.stat and os.lstat doesn't set st_nlink. It is only set via os.fstat. I'll attach quick hack patch. (Again, this is just quick hack patch) I confirmed this passes test_os and test_tarfile. -- Added

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

2010-10-02 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: In py3k, ntpath is almost fixed. but posixpath is not fixed yet. ntpath has another problem about case sensitivity. I'll attach the patch to fix ntpath's case issue and posixpath. In Py27, ntpath has whole issue still there. -- Added

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

2010-10-02 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: I'll create the patch for it. -- versions: -Python 2.6 ___ Python tracker <http://bugs.python.org/issue5117> ___ ___

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

2010-10-02 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Well, I said msg80877 past, and I think so too, but os.path module of python2.x seems not to support UNC correctly, and I'm not sure if the behavior change is allowed here. Probably UNC support is new feature, so I'll attach the patch to solve

[issue9989] ctypes bitfield problem

2010-10-03 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: I think this issue is duplicate of #6493. -- nosy: +ocean-city resolution: -> duplicate status: open -> closed superseder: -> Can not set value for structure members larger than 32 bits ___ Pytho

[issue6493] Can not set value for structure members larger than 32 bits

2010-10-03 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: I glanced at my patch again, and I noticed it has a problem. SET() cannot handle type larger than unsigned int on windows. I'll recreate the patch... -- nosy: +ned.deily, stutzbach ___ Python tracker

[issue6493] Can not set value for structure members larger than 32 bits

2010-10-03 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Here is at least better, simple patch. But ideally, mask should be created from variable type. "short" mask should be created for "short" variable, "long long" mask for "long long" variable, vise verse. I'

[issue6493] Can not set value for structure members larger than 32 bits

2010-10-03 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : Removed file: http://bugs.python.org/file14506/ctypes_workaround.patch ___ Python tracker <http://bugs.python.org/issue6493> ___ ___ Pytho

[issue6493] Can not set value for structure members larger than 32 bits

2010-10-03 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : Removed file: http://bugs.python.org/file14507/ctypes_workaround_2.patch ___ Python tracker <http://bugs.python.org/issue6493> ___ ___ Pytho

[issue6493] Can not set value for structure members larger than 32 bits

2010-10-03 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Sorry,my patch didn't work again... Because of this compiler behavior. Is this ANSI standard? #include typedef unsigned __int32 uint32; static void print_bits(uint32 n) { int i; for (i = 31; i >= 0; --i) { printf("%c&q

[issue6493] Can not set value for structure members larger than 32 bits

2010-10-03 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : Added file: http://bugs.python.org/file19122/py3k_fix_ctypes_cfields_v2.patch ___ Python tracker <http://bugs.python.org/issue6493> ___ ___

[issue6493] Can not set value for structure members larger than 32 bits

2010-10-03 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : Removed file: http://bugs.python.org/file19121/py3k_fix_ctypes_cfields_v2.patch ___ Python tracker <http://bugs.python.org/issue6

[issue6493] Can not set value for structure members larger than 32 bits

2010-10-03 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: This patch removes MAX_SIZE_INT limitation. I hope this is final patch. I confirmed all ctypes test passed on my environment. (Windows, VS8.0) -- Added file: http://bugs.python.org/file19123/py3k_fix_ctypes_cfields_v3.patch

[issue8017] c_char_p.value does not return a bytes object in Windows.

2010-10-03 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: You need to change test_string = ctypes.c_char_p("This Is a test string, that should be of type bytes") to test_string = ctypes.c_char_p(b"This Is a test string, that should be of type bytes") but this issue itself seems

[issue9884] The 4th parameter of method always None or 0 on x64 Windows.

2010-10-03 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Probably this issue is duplicate of #9266. -- nosy: +ocean-city ___ Python tracker <http://bugs.python.org/issue9

[issue9266] ctypes "ValueError: NULL pointer access" on Win7 x64

2010-10-03 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Probably this issue is duplicate of #9884. -- nosy: +ocean-city ___ Python tracker <http://bugs.python.org/issue9

[issue9884] The 4th parameter of method always None or 0 on x64 Windows.

2010-10-04 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: I don't have x64 machine, so I cannot test this. So this is just an idea. It seems Modules/_ctypes/libffi_msvc is a bit old. Modules/_ctypes/libffi/src/x86 is newer. Maybe this issue can be fixed by using newer one? Than

[issue9978] Better wait for slow machine in test_os (_kill_with_event)

2010-10-04 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : -- title: test_os failures on XP-4 buildbot -> Better wait for slow machine in test_os (_kill_with_event) ___ Python tracker <http://bugs.python.org/iss

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

2010-10-06 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: There are some questions. 1. About my patch, I noticed it removed following code. Isn't this needed? I like clean code, but I don't want to break anything. /* Get WIN32_FIND_DATA structure for the path to determine if it is

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

2010-10-06 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: P.S. Thank you for acceptance. I really wanted to commit that code! -- ___ Python tracker <http://bugs.python.org/issue10

[issue9978] Better wait for slow machine in test_os (_kill_with_event)

2010-10-08 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Thank you. Committed in r85315(py3k), r85318(release27-maint). -- status: open -> closed ___ Python tracker <http://bugs.python.org/iss

[issue9978] Better wait for slow machine in test_os (_kill_with_event)

2010-10-08 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: I modified the patch slightly to avoid potential hang. -- ___ Python tracker <http://bugs.python.org/issue9978> ___ ___ Pytho

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

2010-10-08 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : -- stage: patch review -> commit review ___ Python tracker <http://bugs.python.org/issue5117> ___ ___ Python-bugs-list mai

[issue10008] Two links point to same place

2010-10-08 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: > You initial link > I only see one entry, Thread (class in threading), which points to > http://docs.python.org/library/threading.html#threading.Thread > as it should. I do not see a duplicate link nearby. It used to be there. Ple

[issue8533] regrtest: use backslashreplace error handler for stdout

2010-10-09 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: I noticed fd must be dup-ed before passing to io.open. And I noticed direct test run like "py3k -m test.test_time" still produces unicode error. (Maybe this is reasonable limitation) I can confirm we can suppress the unicode error in such case

[issue10053] Probably fd should not be closed when FileIO#__init__ failed

2010-10-09 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto : I suppose when _io.FileIO(fd) failed, passed fd should not be closed. Otherwise, we cannot write the code like this. fd = os.open(path, os.O_RDONLY) try: buf = io.open(fd, "wb") except: os.close(fd) rais

[issue10053] Probably fd should not be closed when FileIO#__init__ failed

2010-10-09 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Here is the test script also run on py2.7. -- Added file: http://bugs.python.org/file19172/test_ensure_fd_not_closed_after_fileio_init_failed.py ___ Python tracker <http://bugs.python.org/issue10

[issue8533] regrtest: use backslashreplace error handler for stdout

2010-10-09 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Oops, sorry. I'll withdraw my last patch. -- ___ Python tracker <http://bugs.python.org/issue8533> ___ ___ Python-bugs-l

[issue8533] regrtest: use backslashreplace error handler for stdout

2010-10-09 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : Removed file: http://bugs.python.org/file19170/py3k_also_no_unicode_error_on_direct_test_run.patch ___ Python tracker <http://bugs.python.org/issue8

[issue10008] Two links point to same place

2010-10-09 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Well, please see r85262 (10/6). This issue seems to be recently solved in release27-maint. And http://docs.python.org/ was updated after that, so when I posted this issue, the issue was actually there, but when you saw that site, (probably after 10/6, the

[issue10008] Two links point to same place

2010-10-09 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Yes, but http://docs.python.org/genindex-Z.html ZipFile (class in zipfile), [1] still has same issue, no? [1] (and [2], [3], if exist) should suggest alternatives, but it doesn't now. I'll attach the patch to detect this kind of duplication.

[issue10008] Two links point to same place

2010-10-09 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Umm, I tried, but I couldn't post new issue with error. I believe Sphinx guys also look at this tracker. -- ___ Python tracker <http://bugs.python.org/is

[issue9055] test_issue_8959_b fails when run from a service

2010-10-11 Thread Hirokazu Yamamoto
Hirokazu Yamamoto 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://msdn.microsoft.com/en-us/library/d56

[issue9055] test_issue_8959_b fails when run from a service

2010-10-11 Thread Hirokazu Yamamoto
Hirokazu Yamamoto 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 trac

[issue9055] test_issue_8959_b fails when run from a service

2010-10-11 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: I'm planning to try it on buildbot XP-5. -- ___ Python tracker <http://bugs.python.org/issue9055> ___ ___ Python-bugs-l

[issue9931] test_ttk_guionly hangs on XP5

2010-10-11 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : -- dependencies: +test_issue_8959_b fails when run from a service ___ Python tracker <http://bugs.python.org/issue9931> ___ ___

[issue9055] test_issue_8959_b fails when run from a service

2010-10-11 Thread Hirokazu Yamamoto
Hirokazu Yamamoto 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

[issue8533] regrtest: use backslashreplace error handler for stdout

2010-10-11 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Thank you. I'll reattach the patch only for Lib/unittest/runner.py -- Added file: http://bugs.python.org/file19191/py3k_also_no_unicode_error_on_direct_test_run.patch ___ Python tracker <http://bugs.py

[issue10071] Should not release GIL while running RegEnumValue

2010-10-12 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto : 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 should not call any regis

[issue10071] Should not release GIL while running RegEnumValue

2010-10-12 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : -- Removed message: http://bugs.python.org/msg118413 ___ Python tracker <http://bugs.python.org/issue10071> ___ ___ Python-bug

[issue10071] Should not release GIL while running RegEnumValue

2010-10-12 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto : 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 should not call any regis

[issue10071] Should not release GIL while running RegEnumValue

2010-10-12 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : Removed file: http://bugs.python.org/file19198/py27_test_winreg_crash_stack_trace.txt ___ Python tracker <http://bugs.python.org/issue10

[issue10071] Should not release GIL while running RegEnumValue

2010-10-12 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : -- Removed message: http://bugs.python.org/msg118414 ___ Python tracker <http://bugs.python.org/issue10071> ___ ___ Python-bug

[issue10071] Should not release GIL while running RegEnumValue

2010-10-12 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue10071> ___ ___ Python-bugs-list mailing list Unsubscri

[issue10071] Should not release GIL while running RegEnumValue

2010-10-12 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto : 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 should not call any regis

[issue10071] Should not release GIL while running RegEnumValue

2010-10-13 Thread Hirokazu Yamamoto
Hirokazu Yamamoto 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). Ty

[issue10071] Should not release GIL while running RegEnumValue

2010-10-13 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : -- Removed message: http://bugs.python.org/msg118507 ___ Python tracker <http://bugs.python.org/issue10071> ___ ___ Python-bug

[issue10071] Should not release GIL while running RegEnumValue

2010-10-13 Thread Hirokazu Yamamoto
Hirokazu Yamamoto 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 <http://bugs.python.org/issue10

[issue10098] intermittent failure in test_os

2010-10-16 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Sorry about this. And thank you for fix. -- ___ Python tracker <http://bugs.python.org/issue10098> ___ ___ Python-bugs-list m

[issue10136] kill_python doesn't work with short path

2010-10-18 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto : 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 they are not same path.

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

2010-10-18 Thread Hirokazu Yamamoto
Hirokazu Yamamoto 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/rejected status

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

2010-10-18 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Sorry, I've commit the fix in r85717(release27-maint). I'll sit and watch buildbot. -- ___ Python tracker <http://bugs.python.

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

2010-10-18 Thread Hirokazu Yamamoto
Hirokazu Yamamoto 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 <http://bugs.python

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

2010-10-18 Thread Hirokazu Yamamoto
Hirokazu Yamamoto 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 locked file not of symlink

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

2010-10-18 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: ... I noticed I can test this via buildbot... Probably I'll try this. -- ___ Python tracker <http://bugs.python.org/is

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

2010-10-19 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: I noticed stat() won't set S_IEXEC in stat() with my patch (py3k_posixpath_v1.patch). :-( -- ___ Python tracker <http://bugs.python.org/is

[issue9929] subprocess.Popen unbuffered not work

2010-10-19 Thread Hirokazu Yamamoto
Hirokazu Yamamoto 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 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 (_

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

2010-10-19 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : Added file: http://bugs.python.org/file19290/py3k_posixpath_v1.patch ___ Python tracker <http://bugs.python.org/issue10027> ___ ___ Pytho

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

2010-10-19 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : Removed file: http://bugs.python.org/file19278/py3k_posixpath_v1.patch ___ Python tracker <http://bugs.python.org/issue10027> ___ ___ Pytho

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

2010-10-19 Thread Hirokazu Yamamoto
Hirokazu Yamamoto 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 <http://bugs.python.org/issue10

[issue10157] Memory leak (r70152)

2010-10-21 Thread Hirokazu Yamamoto
Hirokazu Yamamoto 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 <http://bugs.python.org/issue10

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

2010-10-22 Thread Hirokazu Yamamoto
Hirokazu Yamamoto 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. -- dependencies: +Use

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

2010-10-22 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Can you port that patch? I don't have cygwin installed now. -- ___ Python tracker <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 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/buildbot/al

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

2010-10-22 Thread Hirokazu Yamamoto
Hirokazu Yamamoto 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 on w

[issue10177] PyUnicode_AsWideCharString and PyMem_Free

2010-10-23 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto : Hello. I found several codes using PyMem_Free to free allocated memory via PyUnicode_AsWideCharString. In PyUnicode_AsWideCharString, memory is allocated with PyMem_MALLOC. Is it OK to use PyMem_Free not PyMem_FREE? Thank you. -- keywords: easy

[issue10179] os.stat fails on mapped network drive

2010-10-23 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Can you try my patch in #10027? Does this also fail? -- ___ Python tracker <http://bugs.python.org/issue10179> ___ ___ Pytho

[issue10157] Refleaks in pythonrun.c

2010-10-25 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: I think your patch looks good. -- assignee: -> ocean-city ___ Python tracker <http://bugs.python.org/issue10157> ___ _

[issue10157] Refleaks in pythonrun.c

2010-10-30 Thread Hirokazu Yamamoto
Hirokazu Yamamoto 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:

[issue10267] test_ttk_guionly leaks many references

2010-11-02 Thread Hirokazu Yamamoto
Hirokazu Yamamoto 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 tracker <h

[issue5391] mmap: read_byte/write_byte and object type

2010-11-04 Thread Hirokazu Yamamoto
Hirokazu Yamamoto 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). -- ___ Python tracker

[issue9931] test_ttk_guionly hangs on XP5

2010-11-04 Thread Hirokazu Yamamoto
Hirokazu Yamamoto 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 tracker

[issue9931] test_ttk_guionly hangs on XP5

2010-11-04 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : -- dependencies: -test_issue_8959_b fails when run from a service ___ Python tracker <http://bugs.python.org/issue9931> ___ ___

<    1   2   3   4   5   6   7   8   9   10   >