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

2008-08-20 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Module will be deleted at the end of file anyway (delete _ctypes), maybe we could just do "import ctypes" and "delete ctypes". Added file: http://bugs.python.org/file1118

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

2008-08-20 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: -- title: Add some basic mssing types in ctypes.wintypes -> Add some missing basic types in ctypes.wintypes ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue3674] test_dbm_ndbm skip is unexpected on win32?

2008-08-24 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto <[EMAIL PROTECTED]>: Currently, I get following messege. E:\PYTHON~1\py3k\Lib\test>py3k regrtest.py test_dbm_ndbm.py test_dbm_ndbm test_dbm_ndbm skipped -- No module named _dbm 1 test skipped: test_dbm_ndbm 1 skip unexpected on win32: test

[issue3732] bdist_msi gives a deprecation warning when run with Python 2.6

2008-08-29 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: This patch will partialy backport r53335 -- keywords: +patch nosy: +ocean-city Added file: http://bugs.python.org/file11315/fix_deprecated_sets.patch ___ Python tracker <[EMAIL

[issue3748] [py3k] platform.architecture() prints vogus messege on windows

2008-09-01 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto <[EMAIL PROTECTED]>: As title, platform.architecture() prints vogus messege. >>> import platform >>> platform.architecture() 指定されたパスが見つかりません。 ('32bit', 'WindowsPE') It says "speicied path is not found".

[issue3732] bdist_msi gives a deprecation warning when run with Python 2.6

2008-09-01 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: -- keywords: +needs review ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3732> ___ _

[issue3748] [py3k] platform.architecture() prints vogus messege on windows

2008-09-01 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: This difference between trunk and py3k would go down to this. import os os.popen(r'file e:\python-dev\py3k\PC\VC6\python_d.exe 2> /dev/null') trunk prints nothing, but py3k prints that message. I don't know

[issue3748] platform.architecture() prints bogus message on windows

2008-09-01 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: I've attached patch. (trunk) >BTW: I assume you are running this on win32, right ? Yes, I'm running win2k. -- assignee: lemburg -> keywords: +patch versions: -Python 2.6 Added file: http://bugs.python.o

[issue3732] bdist_msi gives a deprecation warning when run with Python 2.6

2008-09-01 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Thanks, fixed in r66100. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue3748] platform.architecture() prints bogus message on windows

2008-09-01 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Thanks, fixed in r66104(trunk) and r66106(py3k) -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue3697] "Fatal Python error: Cannot recover from stack overflow" on Windows buildbots

2008-09-01 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Sorry, I don't know about interpreter core, and I cannot reproduce this error. I believe Trent is more familiar with buildbot and python core than me. -- nosy: +Trent.Nelson ___ Pyt

[issue3719] platform.py: _syscmd_file() can't handle target path with space or special shell character

2008-09-02 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Can you try this patch? 1. used "file -b" option to eliminate file path. Otherwide, re.split won't work because file path will contain space like this. (I hope -b option can be used anywhere "file" command

[issue3719] platform.py: _syscmd_file() can't handle target path with space or special shell character

2008-09-02 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: [off topic] I used cygwin to create this patch, but platform.architecture()[1] becomes empty string because sys.executable in cygwin points to directory. (at least before installing) Python 2.6b3+ (trunk:66142M, Sep 2 2008, 17

[issue3748] platform.architecture() prints bogus message on windows

2008-09-02 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Well, should I backport this to release25-maint branch? (If accepted, issue3719 as well) ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3719] platform.py: _syscmd_file() can't handle target path with space or special shell character

2008-09-02 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Well, if python was installed into directory named "foo ELF boo", python will say wrong architecture. >>> import platform >>> platform.architecture() ('32bit', &#

[issue3719] platform.py: _syscmd_file() can't handle target path with space or special shell character

2008-09-02 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: OK, I understand. And I must apologizes about previous my patch. fileout = _architecture_split(output)[1:] should not be deleted. It was should be changed to fileout = _architecture_split(output) Tha

[issue3759] test_asyncore.py leaks handle

2008-09-02 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto <[EMAIL PROTECTED]>: asyncore.file_wrapper() dups passed handle, so original handle must be closed. -- components: Tests files: test_asyncore.patch keywords: patch messages: 72343 nosy: ocean-city severity: normal status: open

[issue3759] test_asyncore.py leaks handle

2008-09-02 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: -- keywords: +easy, needs review ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3759] test_asyncore.py leaks handle

2008-09-02 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Thanks, fixed in r66162(trunk), r66163(py3k) -- status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue3762] platform.architecture() fails if python is lanched via its symbolic link (cygwin)

2008-09-03 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto <[EMAIL PROTECTED]>: I created symbolic link to python.exe as dummy.exe on cygwin. But I noticed platform.architecture() printed ('32bit', '') $ ./dummy Python 2.6b3+ (trunk:66166M, Sep 3 2008, 06:43:59) [GCC 3.4.4 (cygming sp

[issue3762] platform.architecture() fails if python is lanched via its symbolic link (cygwin)

2008-09-03 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: - But I noticed platform.architecture() printed ('32bit', '') + But I noticed platform.architecture() printed ('32bit', '') when I lanched python via d

[issue3762] platform.architecture() fails if python is lanched via its symbolic link (cygwin)

2008-09-03 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: This sliped out of my mind. :-( [issue3719] >Python versions and must at least support Python 2.1. os.path.realpath is new feature in Python2.2, so probably this cannot be used. I attached another patch platform

[issue3762] platform.architecture() fails if python is lanched via its symbolic link (cygwin)

2008-09-03 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3762> ___ ___ Python-bugs-list mailin

[issue3762] platform.architecture() fails if python is lanched via its symbolic link (cygwin)

2008-09-03 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file11355/platform.patch ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3762] platform.architecture() fails if python is lanched via its symbolic link (cygwin)

2008-09-03 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: -- keywords: +easy, needs review ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3762] platform.architecture() fails if python is lanched via its symbolic link (cygwin)

2008-09-04 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Thanks, fixed in r66213(trunk), r66214(release-maint25), r66216(py3k). -- resolution: accepted -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <h

[issue3759] test_asyncore.py leaks handle

2008-09-04 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: -- resolution: accepted -> fixed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue3774] tkinter Menu.delete bug

2008-09-04 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: I tried, and I confirmed released python2.5.2 runs fine. and py3k, trunk, release25-maint fails. Probably something changed after 2.5.2 release. -- nosy: +ocean-city versions: +Python 2.5, Pyth

[issue3774] tkinter Menu.delete bug

2008-09-04 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: I've not tested this so heavily, but patch could be simple. self._tclCommands could be None, so should check it. -- keywords: +easy, needs review, patch Added file: http://bugs.python.org/file11375/men

[issue3797] mmap, dbm, ossaudiodev, marshal & winreg return bytearray instead of bytes

2008-09-06 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Hello. I confirmed test_winreg.py passed after applied marshal-winreg_bytes.patch. -- nosy: +ocean-city ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3804] Test for issue2222 (r65745)

2008-09-08 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto <[EMAIL PROTECTED]>: This test is for issue. (I didn't know sys.getrefcount) This test doesn't cover the case like os.rename(str, int), but it might be better than no tests. -- components: Tests files: test_for_issue.patch

[issue3804] Test for issue2222 (r65745)

2008-09-08 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: OK, this is revised patch. Added file: http://bugs.python.org/file11426/test_for_issue.patch ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3806] LockTests in test_imp should be skipped when thread is not available

2008-09-08 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto <[EMAIL PROTECTED]>: LockTests is meaningfull only when thread is available, so this patch removes it from tests when thread is unavailable. This patch is for trunk. -- components: Tests files: test_imp.patch keywords: patch messages: 7280

[issue3806] LockTests in test_imp should be skipped when thread is not available

2008-09-08 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Like attached new patch? There was no strong meaning. :-) del tests[0] can can preserve order of tests, but it's not so important, is it. Added file: http://bugs.python.org/file11428/tes

[issue3804] Test for issue2222 (r65745)

2008-09-08 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Thanks, fixed in r66316(trunk), r66318(release25-maint), r66320(py3k) -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue3807] _multiprocessing build fails when configure --without-threads

2008-09-08 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto <[EMAIL PROTECTED]>: I'm not sure how to fix this, (or even should fix this) when configure --without-threads, error message is not pretty. This happens at trunk, but probably same thing would happen at py3k. gcc -shared -Wl,--enable-auto-image

[issue3812] py3k build fails if configure --without-threads

2008-09-08 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto <[EMAIL PROTECTED]>: Hello. I failed to build py3k on cygwin (configure --without-threads). It's because io.py imports _dummy_thread, and it imports traceback, and it tries to import c-module itertools which is not built yet. Attached file is

[issue3812] py3k build fails if configure --without-threads

2008-09-09 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file11430/py3k_workaround.patch ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3812] py3k build fails if configure --without-threads

2008-09-09 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Sorry, I removed workaround patch. It was not simply working.:-( ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3806] LockTests in test_imp should be skipped when thread is not available

2008-09-09 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Thanks. Fixed in r66319(trunk) and r66334(py3k). ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3806] LockTests in test_imp should be skipped when thread is not available

2008-09-09 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue3813] cannot lanch python.exe via symbolic link if HAVE_BROKEN_MBSTOWCS

2008-09-09 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto <[EMAIL PROTECTED]>: On cygwin, py3k aborts if lanches it via symbolic link. message beg / Could not find platform independent libraries Could not find platform dependent libraries Consider setting $PYTHONH

[issue3813] cannot lanch python.exe via symbolic link if HAVE_BROKEN_MBSTOWCS

2008-09-09 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file11433/py3k_getpath_v2.patch ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3807] _multiprocessing build fails when configure --without-threads

2008-09-09 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: I'm not sure if I'm doing right thing, but this patch works on cygwin at least. -- keywords: +patch Added file: http://bugs.python.org/file11436/skip_multiprocessing_witho

[issue3813] cannot lanch python.exe via symbolic link if HAVE_BROKEN_MBSTOWCS

2008-09-09 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Oh, I misunderstood the reason... readlink() can return non-null-terminated string, so mbstowcs may convert illegual memory area. I've attached py3k_getpath_v3.patch. Added file: http://bugs.python.org/file11437/py3k_getpa

[issue3812] py3k build fails if configure --without-threads

2008-09-09 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Simple workaround is to remove itertools from traceback module and write equivalent code to itertools.chain. I'm not sure it is acceptable put such limitation to standard library. (That is, traceback is used from build process

[issue3813] cannot lanch python.exe via symbolic link if HAVE_BROKEN_MBSTOWCS

2008-09-09 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Thanks, fixed in r66338(py3k). -- resolution: accepted -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue3812] py3k build fails if configure --without-threads

2008-09-09 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Thanks, fixed in r66340(py3k). -- resolution: accepted -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue3824] test_tarfile fails on cygwin (unicode decode error)

2008-09-09 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto <[EMAIL PROTECTED]>: I noticed test_tarfile on py3k fails like this. == ERROR: test_directory_size (__main__.Wri

[issue3807] _multiprocessing build fails when configure --without-threads

2008-09-10 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: -- keywords: +needs review versions: +Python 3.0 ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3824] test_tarfile fails on cygwin (unicode decode error)

2008-09-10 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Sorry, probably I saw illusion... If uses cp932 codec, still test_tarfile.py reports error. :-( == ERROR: test_tar_size (__main__.Wri

[issue3824] test_tarfile fails on cygwin (unicode decode error)

2008-09-10 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Yes, when I did it last night, I thought I could compile it and saw OK on test_tarfile.py, but probably I dreamed. :-( #define PyUnicode_FromString(s) PyUnicode_Decode(s, strlen(s), "cp932", "strict") or f

[issue3838] test_tarfile error on cygwin (Directory not empty)

2008-09-11 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto <[EMAIL PROTECTED]>: This differs from issue3824. test_tarfile claims following error at the end of test. Traceback (most recent call last): File "test_tarfile.py", line 1210, in test_main() File "test_tarfile.py"

[issue3840] test_urllib fails on cygwin

2008-09-11 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto <[EMAIL PROTECTED]>: test_urllib's test_geturl fails with following messege. test_urllib test test_urllib failed -- Traceback (most recent call last): File "/home/WhiteRabbit/python-dev/trunk/Lib/test/test_urllib.py", lin

[issue3840] test_urllib fails on cygwin

2008-09-11 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: I cannot create patch now, but test_site error comes from same reason. >test_support.TESTFN is /tmp/@test on cygwin After I applied following adhok patch, test passed. Index: Lib/test/tes

[issue3840] if TESTFN == "/tmp/@test", some tests fail

2008-09-11 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Same happend in test_import.py too. >test_support.TESTFN is /tmp/@test on cygwin This was false information. There was a directry named @test, so open(TESTFN, "w+") in test_support.py failed, "/tmp/@test" was

[issue3774] tkinter Menu.delete bug

2008-09-12 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: >for i in range(self.index(index1), self.index(index2)+1): Probably your working copy is bit old. Please try latest file. This issue was fixed in r65971. :-) # I've added nosy list from issue1342811. -- nosy: +ben

[issue3774] tkinter Menu.delete bug

2008-09-12 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: self.deletecommand doesn't remove menu item, so we don't have to care about index shifting like bellow. +1 for gpolo's patch. >>> a = [0, 1, 2, 3] >>> for i in xrange(len(a)): ... del a[i] ... Tr

[issue3321] _multiprocessing.Connection() doesn't check handle

2008-09-13 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: I thought socket handle on BeOS is not file descripter neighter. (I'm not sure BeOS is still supported or not) >Another solution would be to reuse code from Modules/selectmodule.c. You mean this code? if (v < 0 |

[issue3321] _multiprocessing.Connection() doesn't check handle

2008-09-13 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: -- keywords: +needs review ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3321> ___ _

[issue3321] _multiprocessing.Connection() doesn't check handle

2008-09-13 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: I've implemented "another solution". test_open() in test_multithreading.patch won't pass though It'll raise error in conn.poll() not in constructor. $ ./dummy.exe b.py Traceback (most recent call l

[issue3892] bsddb: test01_basic_replication fails on Windows sometimes

2008-09-18 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: I've tried this issue on VC6 + db4.7.25.0 + win2k, and I could reproduce error. I added following patch for investigation. Index: Lib/bsddb/test/test_rep

[issue3901] Slight readme.txt fix (VC9)

2008-09-18 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto <[EMAIL PROTECTED]>: I'm not VC9 guy, but it looks not up-to-date on _bsddb section. -- assignee: georg.brandl components: Documentation files: slight_readme_fix.patch keywords: patch messages: 73391 nosy: georg.brandl, ocean-city sever

[issue3838] test_tarfile error on cygwin (Directory not empty)

2008-09-19 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: -- keywords: +needs review ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3838> ___ _

[issue3838] test_tarfile error on cygwin (Directory not empty)

2008-09-21 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Thanks, fixed in trunk(r66539) and py3k(r66540). >BTW, I've never used Cygwin before, is it always that slow? 10 minutes for a configure script on a recent machine is a real pain. Yes, that's really painful. On my bo

[issue3838] test_tarfile error on cygwin (Directory not empty)

2008-09-21 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: -- keywords: -needs review resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue1706863] Failed to build Python 2.5.1 with sqlite3

2008-09-21 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: >AttributeError: 'NoneType' object has no attribute 'rfind' Fixing this error is not difficult. I think attached patch is enough. But still cygwin user who wants to use sqlite3 module won't be happy.

[issue3925] test_distutils fails on cygwin

2008-09-21 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto <[EMAIL PROTECTED]>: Currently msvc build ignores shutil.rmtree error, this workaround is needed for cygwin too. == ERROR: test_build_ext (distutils.tests.test_build_ext.BuildExtTe

[issue3925] test_distutils fails on cygwin

2008-09-21 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Thanks, fixed in r66542(trunk) and r66543(py3k). -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue2382] [Py3k] SyntaxError cursor shifted if multibyte character is in line.

2008-09-21 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file9786/fix.patch ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2382] [Py3k] SyntaxError cursor shifted if multibyte character is in line.

2008-09-21 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Patch revised. -- components: +Interpreter Core -None Added file: http://bugs.python.org/file11548/py3k_adjust_cursor_at_syntax_error.patch ___ Python tracker <[EMAIL PROTECTE

[issue3824] test_tarfile fails on cygwin (unicode decode error)

2008-09-21 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Sorry, the patch didn't work... I didn't understand Martin's word. And nl_langinfo(CODESET) is useless on cygwin because it's always US-ASCII. ___ Python tracker

[issue3824] test_tarfile fails on cygwin (unicode decode error)

2008-09-22 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file11455/experimental_mbcstowcs_codec.patch ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3824] test_tarfile fails on cygwin (unicode decode error)

2008-09-22 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: I'm not cygwin user, but cygwin seems not to support multibyte function. Following program outputs 5 on VC6 as expected, but 10 on cygwin. Hmm... #include #include #include int main(int argc, char* argv[]) { c

[issue3945] compile error in _fileio.c (cygwin)

2008-09-23 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto <[EMAIL PROTECTED]>: Currently, fails to build trunk on cygwin. gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. - I/home/WhiteRabbit/python-dev/trunk/./Include -I. -IInclude -I./Include -I/home/ WhiteRabbit/python-dev

[issue3945] compile error in _fileio.c (cygwin)

2008-09-23 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: >The patch is OK, even if the second half is not necessary: >PyType_Ready() takes care of the ob_type field. Oh, OK. >Adding brackets in the macro would be wrong: the object layout is >different between 2.6 and 3.0.

[issue3945] compile error in _fileio.c (cygwin)

2008-09-23 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Thanks, fixed in r66566(trunk). -- resolution: accepted -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue3947] configure --with-threads on cygwin => crash on thread related tests

2008-09-23 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto <[EMAIL PROTECTED]>: I'm not sure this is python's bug or cygwin's bug, thread enabled python crashes thread related tests on cygwin. (ex: test_exit on test_sys.py, test_threading.py etc) After some investigation, I found following w

[issue3947] configure --with-threads on cygwin => crash on thread related tests

2008-09-23 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: releast25-maint is fine probably because CRYPTO_set_locking_callback() is not used in Modules/_ssl.c. I don't try configure --with-threads on py3k, but probably same on trunk. ___ Python trac

[issue1706863] Failed to build Python 2.5.1 with sqlite3

2008-09-23 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: -- keywords: +needs review ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1706863> ___

[issue2445] Use The CygwinCCompiler Under Cygwin

2008-09-23 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: # I found this infomation via "svn blame" According to issue403947, cygwin once used CygwinCCompiler, and problem was there, swiched to UnixCCompier. (r19674) If this issue is not solved yet, maybe it's n

[issue1706863] Failed to build Python 2.5.1 with sqlite3

2008-09-23 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Python is not using CCygwinCCompiler to build itself on cygwin. See issue2445. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.o

[issue3824] test_tarfile fails on cygwin (unicode decode error)

2008-09-23 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: > What is test result if the environment variable LANG is set to C ? There is no change. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue3824] test_tarfile fails on cygwin (unicode decode error)

2008-09-24 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: >Doesn't getgrgid() return the untranslated content of /etc/group? >Then the encoding of this file is relevant. Yes, /etc/group contains "なし" as gr_name in MBCS,("なし" means "nothing")and I

[issue1706863] Failed to build Python 2.5.1 with sqlite3

2008-09-24 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: >So, is my patch acceptable? Umm, it works, but I'm not sure we can call import library as dylib... If it's not problem, I think your patch is fine. # I had considered attached patch "experimental_distutils.pa

[issue3872] Python 2.6rc2: Tix ComboBox error

2008-09-26 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: May this info help? http://coding.derkeiler.com/Archive/Tcl/comp.lang.tcl/2008-02/msg01363.html -- nosy: +ocean-city ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3947] configure --with-threads on cygwin => crash on thread related tests

2008-09-26 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: >Thread 7282896l tries to lock same object twice. This was not cause of problem. I saw crash after one lock on another thread. I could create the C code to reproduce crash. (reproduce.zip) But strangely, I couldn't crash

[issue2384] [Py3k] line number is wrong after encoding declaration

2008-09-26 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Victor, this is fp_setreadl's problem, so if put "tok->lineno = -1" anywhere, it should be in fp_setreadl(), I think. r = set_readline(tok, cs); if (r) { /* 1 */

[issue1706863] Failed to build Python 2.5.1 with sqlite3

2008-09-26 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: >extra changes that has to go in a >specific compiler class. As example platform can be any but compiler >gcc(mingw) that produce executables for windows host platform. You are right. It should be. My patch is just

[issue3947] configure --with-threads on cygwin => crash on thread related tests

2008-09-26 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Sorry, I noticed another bit. If main.exe is linked to libssl.dll.a and libcrypto.dll.a it will crash, but linked to libssl.a and libcrypto.a it won't crash. (I renamed *.dll.a temporary) I'll try to build http://www.op

[issue3947] configure --with-threads on cygwin => crash on thread related tests

2008-09-26 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Thank you for great explanation! Probably you are right... I'll look into the code. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.

[issue3947] configure --with-threads on cygwin => crash on thread related tests

2008-09-26 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Maybe I can fix this openssl bug with pthread_cleanup_push, but this is openssl bug, we cannot fix it directly. I propose to commit workaround in msg73649 for 2.6 release. ___ Python tracker &

[issue3947] configure --with-threads on cygwin => crash on thread related tests

2008-09-26 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: And after openssl will be fixed, change it to #if defined(WITH_THREAD) && !(defined(__CYGWIN__) && OPENSSL_VERSION_NUMBER < ???) ___ Python tracker <[EMAIL PROTECTED]> &l

[issue3947] configure --with-threads on cygwin => crash on thread related tests

2008-09-26 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: That workaround leaves unused function warning. This patch is revised patch. -- keywords: +needs review, patch Added file: http://bugs.python.org/file11631/disable_setup_ssl_threads_on_cygwin

[issue1706863] Failed to build Python 2.5.1 with sqlite3

2008-09-27 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: -- keywords: -needs review ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1706863> ___

[issue3947] configure --with-threads on cygwin => crash on thread related tests

2008-09-28 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: -- components: +Extension Modules priority: -> critical versions: +Python 3.0 ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue3863] 2.6rc1: test_threading hangs on FreeBSD 6.3 i386

2008-09-30 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Cygwin1.5 also hangs on test_3_join_in_forked_from_thread. Cygwin1.7 + following snapshot doesn't hang but http://cygwin.com/snapshots/cygwin1-20080929.dll.bz2 fails with follow

[issue2382] [Py3k] SyntaxError cursor shifted if multibyte character is in line.

2008-09-30 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: You are right, this issue is more difficult than I thought... I found wcswidth(3), if this function is available we can use this function, but unfortunately there is no such function in VC6 and this function is meaningless on cygwn

[issue2382] [Py3k] SyntaxError cursor shifted if multibyte character is in line.

2008-10-01 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Amaury, if doing so, the cursor will shift left by 5 columns on my environment like this, no? ("あ" requires 2 columns for example) print "あいうえお" ^

[issue3774] tkinter Menu.delete bug

2008-10-01 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: I think gpolo's patch can go. >I'm not sure (self._tclCommands is not None) check is not really needed. I want to cancel this opinion. I saw no self._tclCommands check before any other deletecommand() call, I

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