[issue2540] If HAVE_LONG_LONG is not defined, longval will not be initialized (_sqlite)

2008-04-02 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto <[EMAIL PROTECTED]>: I noticed compiler warned "'longval' is not used anywhere." And I found 'longval' was not initialized where HAVE_LONG_LONG was not defined. Is attached patch intended behavior? Thanks. --

[issue2540] If HAVE_LONG_LONG is not defined, longval will not be initialized (_sqlite)

2008-04-02 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Oh, I forgot this. When I debuged with #undef HAVE_LONG_LONG I noticed test_sqlite.py failed with this error message. == ERROR: CheckLargeInt (s

[issue2540] If HAVE_LONG_LONG is not defined, longval will not be initialized (_sqlite)

2008-04-02 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: -- keywords: -easy __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2540> __ ___ Python-bugs

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

2008-04-04 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: I've written testcase for lineno problem. -- keywords: +patch Added file: http://bugs.python.org/file9943/test_traceback.patch __ Tracker <[EMAIL PROTECTED]> <http://bugs.

[issue2065] trunk version does not compile with vs8 and vc6

2008-04-05 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: I don't know why, but /D "MODULE_NAME=\"sqlite3\"" is troublesome. VC6 IDE expands this to #define MODULE_NAME " sqlite3". To workaround this, I used /D MODULE_NAME=\"sqlite3\" instead

[issue2065] trunk version does not compile with vs8 and vc6

2008-04-05 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: _wstat64 does not exist in VC6, so used GetFileAttributesW instead. Added file: http://bugs.python.org/file9957/ocean.zip __ Tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2662] Allows HUGE_VAL as extern variable

2008-04-20 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto <[EMAIL PROTECTED]>: >/* On Windows HUGE_VAL is an extern variable and not a constant. Since the > special value arrays need a constant we have to roll our own infinity > and nan. */ This patch removes this limitation. -- compon

[issue2662] Allows HUGE_VAL as extern variable

2008-04-20 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: -- keywords: +patch Added file: http://bugs.python.org/file10064/cmathmodule.patch __ Tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2664] The position of special value tables (cmathmodule.c)

2008-04-20 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto <[EMAIL PROTECTED]>: If putting special value tables near function is preferable, (as before) probably this patch helps. -- components: Extension Modules files: cmathmodule.patch keywords: patch messages: 65657 nosy: ocean-city severity:

[issue2664] The position of special value tables (cmathmodule.c)

2008-04-20 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: -- assignee: -> marketdickinson nosy: +marketdickinson __ Tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue2222] Memory leak in os.rename?

2008-04-22 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: I reimplemented patch without O&, and made test for all platforms. Unfortunately Windows doesn't have os.link and os.symlink, so for os.rename only. Added file: http://bugs.python.org/file10077/tes

[issue2664] The position of special value tables (cmathmodule.c)

2008-05-09 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Nope, I don't have strong reason. I just thought exceeding 80 line width is a little ugly, and if data and function are close you can refer both more easily. Please feel free to close this entry a

[issue4170] segfault with defaultdict and pickle

2008-10-22 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: On py3k, defaultdict#items() returns dict_items object not dict_itemiterator object. I hope attached patch will fix this bug. -- keywords: +patch nosy: +ocean-city Added file: http://bugs.python.org/fil

[issue4176] segfault with pickle if 4th or 5th item of tuple returned by __reduce__ is not an iterator

2008-10-22 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto <[EMAIL PROTECTED]>: Following code crashes. (See issue4170) trunk/Modules/cPickle.c (save() or save_reduce()) needs more checks of returned value from __reduce__. class C(object): def __reduce__(self): return C, (), None, None, [] # 5t

[issue4170] segfault with defaultdict and pickle

2008-10-22 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: >My previous example also crashes python 2.4 & 2.6 (the classes have to inherit from 'object') I created new tracker item for this. (See issue4176) ___ Python tracker &l

[issue4176] segfault with pickle if 4th or 5th item of tuple returned by __reduce__ is not an iterator

2008-10-22 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: save() and save_reduce() seems to check same thing. - tuple size - 2nd item is tuple or not Is this duplicated or intended? If we adds check for 4th/5th item, should them be in both fun

[issue4183] test with pickle.HIGHEST_PROTOCOL missing

2008-10-22 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto <[EMAIL PROTECTED]>: some tests use "for proto in range(pickle.HIGHEST_PROTOCOL)", but this statement won't invoke proto == pickle.HIGHEST_PROTOCOL. Is this intended? If not, I hope attached patch will fix this issue. -- co

[issue4170] segfault with defaultdict and pickle

2008-10-22 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: I created test case referring to test_bytes, but I noticed range(pickle.HIGHETST_PROTOCOL) doesn't test HIGHEST_PROTOCOL itself. So patch revised. I created another tracker item for other tests using range(pickle.HIGHETST_PRO

[issue4183] test with pickle.HIGHEST_PROTOCOL missing

2008-10-22 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: -- keywords: +easy Added file: http://bugs.python.org/file11865/test_with_HIGHEST_PROTOCOL_on_py3k.patch ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue4176] segfault with pickle if 4th or 5th item of tuple returned by __reduce__ is not an iterator

2008-10-22 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: I think the patch is fine. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4176> ___ _

[issue4183] test with pickle.HIGHEST_PROTOCOL missing

2008-10-22 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Thanks, I committed in r67002(trunk) and r67003(py3k). -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue4176] segfault with pickle if 4th or 5th item of tuple returned by __reduce__ is not an iterator

2008-10-30 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: >the Python implementation of pickle This was out of my mind. I hope fix_pickle_consistency_on_py3k.patch can fix the buildbot error. ;-) -- keywords: -needs review Added file: http://bugs.python.org/

[issue4176] segfault with pickle if 4th or 5th item of tuple returned by __reduce__ is not an iterator

2008-10-31 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file11917/fix_pickle_consistency_on_trunk.patch ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue4176] segfault with pickle if 4th or 5th item of tuple returned by __reduce__ is not an iterator

2008-10-31 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Thank you for review. >Iterators only need to provide a __next__() method. So, you don't have >to check __iter__. Hmm, but python document says, (http://docs.python.org/library/stdtypes.html#typeiter) >The iterato

[issue4100] xml.etree.ElementTree does not read xml-text over page bonderies

2008-11-01 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: -- assignee: -> effbot nosy: +effbot ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue4100] xml.etree.ElementTree does not read xml-text over page bonderies

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

[issue4100] xml.etree.ElementTree does not read xml-text over page bonderies

2008-11-01 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: I propose to note this behavior on document. I'll attach the patch. (I just inserted your comment into document) -- components: +Documentation -Library (Lib), XML resolution: invalid -> status: closed -> open

[issue4248] "class in None" in html help keyword

2008-11-01 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto <[EMAIL PROTECTED]>: I noticed built-in class `set` uses "set (class in None)" as index keyword. Please see attached file "snapshot.png". I think "set (builtin class)" or something is better. -- assignee: ge

[issue4248] "class in None" in html help keyword

2008-11-02 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: I've received checkin-mail to notify http://svn.python.org/projects/doctools is outdated, but I don't have Mercurial now, so I'll submit a patch for outdated repo. (I hope not so outdated just now) So

[issue4248] "class in None" in html help keyword

2008-11-02 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: -- components: +Documentation tools (Sphinx) -Documentation, Windows ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue4252] inactive item not shown in html help index pane

2008-11-02 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto <[EMAIL PROTECTED]>: Please see index_on_firefox.png and index_on_htmlhelp.png. "and" is inactive item not linking to any page, but this item is not shown in htmlhelp. -- assignee: georg.brandl components: Documentation tool

[issue4252] inactive item not shown in html help index pane

2008-11-02 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file11930/index_on_htmlhelp.png ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue4252] inactive item not shown in html help index pane

2008-11-02 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: I hope this can be fixed by attached patch. I learned this technique to create inactive link from HTML Help Workshop document. http://msdn.microsoft.com/en-us/library/ms669985.aspx http://go.microsoft.com/fwlink/?linkid=14581 #

[issue3774] tkinter Menu.delete bug

2008-11-03 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Fixed in r67082(trunk), r67083(release26-maint), r67084(release25-maint). -- keywords: -needs review resolution: -> fixed status: open -> closed versions: +Python 2.7 ___ Py

[issue3774] tkinter Menu.delete bug

2008-11-03 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Done. Fixed in r67095(py3k). ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3774> ___ _

[issue4071] ntpath.abspath fails for long str paths

2008-11-07 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Fixed unicode issue in r67154(trunk). I'm not sure how to handle long str, so I didn't touch it for now. -- versions: +Python 2.5.3, Python 2.7 ___ Python tracker <[EMAI

[issue4298] pickle segfault or MemoryError on invalid input

2008-11-11 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: See trunk/Modules/cPickle.c(609). static Py_ssize_t read_cStringIO(Unpicklerobject *self, char **s, Py_ssize_t n) { char *ptr; if (PycStringIO->cread((PyObject *)self->file, &ptr, n) != n) {

[issue4302] smtplib.py initialisation defect

2008-11-12 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: This issue can be fixed by backporting r60975. -- nosy: +ocean-city ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue4302] smtplib.py initialisation defect

2008-11-12 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: -- keywords: +patch stage: -> commit review Added file: http://bugs.python.org/file11997/smtplib_minor_fix.patch ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue4313] IDLE segfault at exit

2008-11-14 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: After long random investigation, I found idle_crash_1.py can reproduce the crash. And I noticed in idle_crash_2.py WidgetRedirector#dispatch, last element of args cannot be printed. Here is result. 10 0 -foreground 1 b

[issue4313] IDLE segfault at exit

2008-11-14 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file12007/idle_crash_2.py ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue4313] IDLE segfault at exit

2008-11-14 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Can I revert r57540 and reopen issue1028? ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue4313] IDLE segfault at exit

2008-11-14 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Sorry, I cannot reproduce the bug described in issue1028, so it's difficult for me. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.

[issue4313] IDLE segfault at exit

2008-11-14 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: -- nosy: +kbk ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4313> ___ ___ Python

[issue4252] some missing links in html help index pane

2008-11-16 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: This describes second bug. When multiple target was bound to same keyword, only first target could be browsed. In index_on_firefox.png, we can see "operator, [1], [2]". This [?] means multiple targets are linked to sam

[issue4252] some missing links in html help index pane

2008-11-16 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file12025/resolved.png ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue4252] some missing links in html help index pane

2008-11-17 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Sorry, I found another problem on html help about case sensitivity. Pleas e pend my patch... ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue4252] some missing links in html help index pane

2008-11-17 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Even if two bugs are solved, one weird problem remains. See binary_index.png. "unicode, built-in function" should go under "unicode" node, but it goes under "Unicode" node. This happens because

[issue4252] some missing links in html help index pane

2008-11-17 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file12027/sphinx_index.patch ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue4313] IDLE segfault at exit

2008-11-17 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Fixed in r67256. I heard last RC will be released at this Wed, I think segfault is not good for it. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PR

[issue1028] Tkinter binding involving Control-spacebar raises unicode error

2008-11-17 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Sorry, I reverted r57540 because it caused segfault at IDLE exit. (See issue4313) I reopened this issue. -- nosy: +ocean-city resolution: accepted -> status: closed -> open ___ Py

[issue1028] Tkinter binding involving Control-spacebar raises unicode error

2008-11-18 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: I confirmed PythonCmd_check_for_utf.diff worked on my machine. IDLE didn't crash. >I can reproduce it here with tk8.4, using tk8.5 doesn't cause this. That is, this is a bug of tk8.4, and solved in tk8.5 which is alr

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

2008-11-19 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: OK, I'll close this entry, and I'll post message to cygwin ml about this issue. # I already posted it to openssl-dev, but there was no response. http://www.nabble.com/Bug%3A-crash-on-cygwin-if-uses-CRYPTO_set_locking_cal

[issue1028] Tkinter binding involving Control-spacebar raises unicode error

2008-11-21 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: I suceeded to reproduce this issue with coLinux + UltraVNC on Win2000. Yes, py3k claimed utf-8 error, so I tried trunk. Here is result. *** event.keycode: 8 *** event.state: 0 *** event.char: '' *** event.keycode: 16

[issue1028] Tkinter binding involving Control-spacebar raises unicode error

2008-11-21 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: I did little modification to tkintertest.py. Please use this line. my_print("*** event.char: ", repr(event.char)) ___ Python tracker <[EMAIL PROTECTED]> <http://

[issue1028] Tkinter binding involving Control-spacebar raises unicode error

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

[issue1028] Tkinter binding involving Control-spacebar raises unicode error

2008-11-21 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: >You are missing the point on using Tcl_CreateObjCommand, I didn't mean >to just go and and do s/Tcl_CreateCommand/Tcl_CreateObjCommand/ because >if you are going to convert everything to unicode then there i

[issue4503] exception traceback sometimes slow

2008-12-03 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto <[EMAIL PROTECTED]>: Please try this code. import zipfile zipfile.PyZipFile("foobar") I'm not sure this is problematic or not. -- messages: 76823 nosy: ocean-city severity: normal status: open title: exception traceback so

[issue4503] exception traceback sometimes slow

2008-12-03 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Traceback (most recent call last): File "a.py", line 4, in zipfile.PyZipFile("foobar") File "e:\python-dev\py3k\lib\zipfile.py", line 683, in __init__ self.fp = io.open(file, modeDict[m

[issue4503] exception traceback sometimes slow

2008-12-03 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: No, e: is not netword drive. It's another partition on hard drive. But my machine is pretty slow. >Also, you are using a debug build. Is the slowdown still noticeable with >a release build? I tried release build(VC6), an

[issue1167] gdbm/ndbm 1.8.1+ needs libgdbm_compat.so

2008-12-08 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Fixed in r67614. (issue4483) -- nosy: +ocean-city resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue4071] ntpath.abspath fails for long str paths

2008-12-10 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: >can you please backport this to the 2.5 branch? Sorry for clarification. Which should I backport r67154 or quick_hack_for_getfullpathname_v2.patch? ___ Python tracker <[EMAIL PROTE

[issue4302] smtplib.py initialisation defect

2008-12-10 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: I will backport this. -- assignee: -> ocean-city ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue4302] smtplib.py initialisation defect

2008-12-10 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Done. Fixed in r67686 (release25-maint). -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue4071] ntpath.abspath fails for long str paths

2008-12-14 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: GetFullPathNameW may return the required buffer size (non-zero value) when buffer is too short. Before r67154, this case was treated as success, so there was possibility of access to uninitialized buffer woutbuf. Fortunately, GetFullPathNameW sets '\

[issue4740] pickle test for protocol 3 (HIGHEST_PROTOCOL in py3k)

2008-12-24 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto : This patch enables tests for pickle.HIGHEST_PROTOCOL. (3) I confirmed test passed. -- components: Tests files: py3k_use_HIGHEST_PROTOCOL.patch keywords: easy, patch messages: 78268 nosy: ocean-city severity: normal stage: patch review status: open

[issue4741] winsound.SND_PURGE has no effect

2008-12-24 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: You should specify winsound.SND_ASYNC in first PlaySound. By default, PlaySound won't return until completing to play wav file. winsound.SND_PURGE doesn't work for me. I'm also using Win2000SP4, and I found http://www.vbforums.com/arch

[issue4754] winsound documentation (about stoping sounds)

2008-12-26 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto : This comes from Issue4741. The patch - clarify meaning of None as the parameter of *sound* to PlaySound - notify SND_PURGE is not supported by MS now -- assignee: georg.brandl components: Documentation files: winsound_doc.patch keywords: patch

[issue4754] winsound documentation (about stoping sounds)

2008-12-26 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: The patch is for release26-maint. ___ Python tracker <http://bugs.python.org/issue4754> ___ ___ Python-bugs-list mailing list Unsub

[issue4740] pickle test for protocol 3 (HIGHEST_PROTOCOL in py3k)

2008-12-26 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Not yet. This patch is for trunk. But HIGHEST_PROTOCOL is 2 in trunk, so no difference in behavior. (Just useful for consistency) Added file: http://bugs.python.org/file12468/trunk_use_HIGHEST_PROTOCOL.patch ___ Python

[issue4740] pickle test for protocol 3 (HIGHEST_PROTOCOL in py3k)

2008-12-26 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Done. Fixed in r67930(trunk), r67931(py3k) -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue4740] pickle test for protocol 3 (HIGHEST_PROTOCOL in py3k)

2008-12-26 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : -- stage: patch review -> committed/rejected ___ Python tracker <http://bugs.python.org/issue4740> ___ ___ Python-bugs-list mai

[issue4797] test_fileio error (windows)

2008-12-31 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto : This patch fixes this error. http://www.python.org/dev/buildbot/trunk.stable/x86%20XP-4% 20trunk/builds/1727/step-test/0 == FAIL: testOpendir (test.test_fileio.AutoFileTests

[issue4797] test_fileio error (windows)

2009-01-01 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Done. Fixed in r68134(trunk) and r68139(py3k). -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue4837] Omits MACHINE and DEBUG when building tix8.4.3

2009-01-04 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto : Currently, to install tix we need long command like this. nmake -f python.mak TCL_MAJOR=8 TCL_MINOR=5 TCL_PATCH=2 MACHINE=IX86 DEBUG=0 INSTALL_DIR=..\..\tcltk install This patch enables us to omit MACHINE and DEBUG. (Precisely, can omit MACHINE if CPU

[issue4864] test_msvc9compiler fails on VC6

2009-01-06 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto : Currently, test_msvc9compiler fails on VC6 with following message. // Traceback (most recent call last): File "test_distutils.py", line 17, in test_main() File "test_distutils.py", l

[issue4864] test_msvc9compiler fails on VC6

2009-01-06 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : Removed file: http://bugs.python.org/file12628/test_msvc9compiler.patch ___ Python tracker <http://bugs.python.org/issue4864> ___ ___ Pytho

[issue4864] test_msvc9compiler fails on VC6

2009-01-06 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : Added file: http://bugs.python.org/file12629/test_msvc9compiler.patch ___ Python tracker <http://bugs.python.org/issue4864> ___ ___ Pytho

[issue4856] Remove checks for win NT

2009-01-07 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: +1. I've tested this patch on win2k & vc6, and worked correctly. -- nosy: +ocean-city ___ Python tracker <http://bugs.python.o

[issue4864] test_msvc9compiler fails on VC6

2009-01-07 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : Removed file: http://bugs.python.org/file12629/test_msvc9compiler.patch ___ Python tracker <http://bugs.python.org/issue4864> ___ ___ Pytho

[issue4864] test_msvc9compiler fails on VC6

2009-01-07 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: > I don't like this catch-all approach. I agree with you. Lib/distutils/msvc9compiler.py still only have one top level DistutilsPlatformError, VERSION = get_build_version() if VERSION < 8.0: raise DistutilsPlatformError("VC %0.1f is

[issue4864] test_msvc9compiler fails on VC6

2009-01-07 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Thanks, fixed in r68373. -- resolution: accepted -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue4906] os.listdir fails on debug build (windows)

2009-01-10 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto : Due to r68455, os.listdir fails on debug build (windows). // Python 2.7a0 (trunk, Jan 10 2009, 18:36:15) [MSC v.1200 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or

[issue4921] Object lifetime and inner recursive function

2009-01-12 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto : Hello. Sorry if this is noise. I expected __del__ out of function __del__ out of function __del__ out of function on following code, but actually I got out of function out of function out of function __del__ __del__ __del__ Is this expected behavoir

[issue4921] Object lifetime and inner recursive function

2009-01-12 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Thank you for explanation. The combination of inner function + method variable was very handy for me, but maybe I should refrain from using it lightly. :-( -- resolution: -> invalid status: open ->

[issue4921] Object lifetime and inner recursive function

2009-01-12 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: A little followup. Attached script q112.py (some puzzle program) ate up my RAM (80MB) and never ran GC while solving. Current python GC looks at the number of GC objects, but GC object like set object can contain many non GC object, so... I feel it would

[issue5002] multiprocessing/pipe_connection.c compiler warning (conn_poll)

2009-01-19 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto : I got compiler warning "conn_poll takes too many arguments". I hope the attached patch is right fix. -- components: Library (Lib) files: pipe_connection_c.patch keywords: patch messages: 80204 nosy: ocean-city severity: normal status:

[issue3677] importing from UNC roots doesn't work

2009-01-22 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Merged in r68873(py3k). ___ Python tracker <http://bugs.python.org/issue3677> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue3677] importing from UNC roots doesn't work

2009-01-24 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: >The path variable should be PyMem_Free'd Sorry if I'm missing something, but is this really needed? Other PyArg_ParseTuple(args, "s... doesn't seem to have corresponding PyMem_Free. static PyObject * imp_new_module(PyObjec

[issue3677] importing from UNC roots doesn't work

2009-01-24 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Ah, "es" is used in py3k, thanks. And sorry about my merge which had memory leak. ___ Python tracker <http://bugs.python.

[issue5041] Memory leak in imp.find_module

2009-01-24 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto : I found memory leak related to "es" on PyArg_ParseTuple. -- components: Extension Modules files: py3k_memory_leak.patch keywords: easy, needs review, patch messages: 80452 nosy: ocean-city severity: normal status: open title: Memo

[issue4863] deprecate/delete distutils.mwerkscompiler...

2009-01-25 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Probably this patch is needed. :-) -- keywords: +patch nosy: +ocean-city Added file: http://bugs.python.org/file12856/remaining.patch ___ Python tracker <http://bugs.python.org/issue4

[issue5073] bsddb/test/test_lock.py sometimes fails due to floating point error

2009-01-26 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto : time.time() returns floating point, so sometimes folloing assertion in LockingTestCase#test03_lock_timeout fails due to floating point calculation error. >self.assertTrue((end_time-start_time) >= 0.1 end_time-start_time becomes 0.0990463

[issue5073] bsddb/test/test_lock.py sometimes fails due to floating point error

2009-01-26 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Could you commit please? :-) ___ Python tracker <http://bugs.python.org/issue5073> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue3892] bsddb: test01_basic_replication fails on Windows sometimes

2009-01-27 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: I've investigated more. I think this is timeout problem. According to following site, http://www.oracle.com/technology/documentation/berkeley- db/db/api_c/rep_timeout.html timeout should be specified in microseconds. This

[issue5085] distutils/test_sdist failure on windows

2009-01-27 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto : test_sdist fails on windows with following message. http://www.python.org/dev/buildbot/trunk.stable/x86%20XP-4% 20trunk/builds/1823/step-test/0 == ERROR: test_make_distribution

[issue5041] Memory leak in imp.find_module

2009-01-29 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Fixed in r69117(py3k). -- keywords: -needs review resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue5117] os.path.relpath problem with root drive directory on windows

2009-01-31 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: About this, >But this isn't: >relpath(r'd:\jho', r'd:\\') >=> '..\jho' Same happens on posixpath. from posixpath import relpath print relpath(r'/abc', r'/'

[issue5117] os.path.relpath problem with root drive directory on windows

2009-01-31 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: I hope attached patch will fix this bug. -- keywords: +patch Added file: http://bugs.python.org/file12904/fix_relpath.patch ___ Python tracker <http://bugs.python.org/issue5

[issue5117] os.path.relpath problem with root drive directory on windows

2009-01-31 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: If it is better _abspath_split("/") to return [""] instead of [] for consistency, "fix_relpath_v2.patch" might be better. (There is no difference for relpath behavior though) Added file: http://bugs.python.org/

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