[issue4542] test_binascii fails on windows

2008-12-04 Thread Amaury Forgeot d'Arc
New submission from Amaury Forgeot d'Arc <[EMAIL PROTECTED]>: issue #4387 (67472) changed binascii and added tests, but the windows specific implementation was not changed. Change is trivial: Index: Modules/binascii.c === --- Modul

[issue4542] test_binascii fails on windows

2008-12-04 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Fixed in r67541 (py3k) and r67542 (release30-maint) -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> _

[issue4514] test_binascii is failing

2008-12-04 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: I fixed this in r67541 and r67542, with issue4542. (sorry I did not see this one) -- nosy: +amaury.forgeotdarc resolution: -> fixed status: open -> closed superseder: -> test_binascii fails on windows

[issue4541] Add str method for removing leading or trailing substrings

2008-12-04 Thread Zach Hirsch
Zach Hirsch <[EMAIL PROTECTED]> added the comment: Thanks for taking a look. Yea, it's pretty easy to write it in Python, but I've found that I've needed it in quite a few things that I've worked on, so I thought it might be useful in Python itself. I've updated the patch to fix the reference l

[issue4534] problem with str.join - should work with list input, error says requires 'str' object

2008-12-04 Thread jeff deifik
jeff deifik <[EMAIL PROTECTED]> added the comment: Yes, it was import string string.join(lis, '') I am still a bit confused though. Why doesn't my code of str.join(lis, '') work? I don't think str is a reserved word. I suppose that python might be able to deduce that str is of type string, ba

[issue4522] Module wsgiref is not python3000 ready (unicode issues)

2008-12-04 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- nosy: +pje ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mailing

[issue4537] webbrowser.UnixBrowser should use builtins.open

2008-12-04 Thread Michael Schurter
Michael Schurter <[EMAIL PROTECTED]> added the comment: I believe you forgot to "import io" in UnixBrowser (line 226). ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue4519] .pyc files included in 2.6 and 3.0 release tarballs

2008-12-04 Thread Barry A. Warsaw
Barry A. Warsaw <[EMAIL PROTECTED]> added the comment: Actually, it turns out that the doc build process leaves a few more pyc turds now. I've updated release.py to remove them, though the script really should complain loudly if it ever finds pycs in the distribution. That's for next time. For

[issue4355] Error in docs of urllib.request and urllib.parse

2008-12-04 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Thanks, committed in r67551. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___

[issue4533] 3.0 file.read dreadfully slow

2008-12-04 Thread Gregory P. Smith
Gregory P. Smith <[EMAIL PROTECTED]> added the comment: fileio_buffer2.patch looks good other than minor touchups: Turn the XXX comment into: /* NOTE: overflow impossible due to limits on BUFSIZ * Also, 2 << 24 is 32MB yet your error message test says >= 64MB. I think you meant 1 << 26. fix

[issue4401] os.extsep status? doc or os bug?

2008-12-04 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Re-added os.extsep to the os module in r67552. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> __

[issue4408] re.compile(regexp).groups not documented

2008-12-04 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Fixed in r67553. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___

[issue4409] Dangling asterisks in Python 3.0 subprocess docs

2008-12-04 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Should be fixed in r67554. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue4543] container constructors destroy argument

2008-12-04 Thread Kevin J. Woolley
New submission from Kevin J. Woolley <[EMAIL PROTECTED]>: Doing the following (more info than necessary in case I'm doing something weird): def odd(n): return n % 2 x = (1, 2, 3, 4, 5) y = filter(odd, x) list(y) list(y) Will correctly build a list from y and return [1, 3, 5] on the first c

[issue4427] Docs for 'y' Py_BuildValue tag are wrong

2008-12-04 Thread Georg Brandl
New submission from Georg Brandl <[EMAIL PROTECTED]>: Applied in r67555. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___

<    1   2