[issue6776] A few tests are failing when zlib is not supported

2009-08-24 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: This is a duplicate of issue 6026, where patch activity has already occurred. Thanks for working on this, and please review that case and see if all of the issues you found are addressed there. -- nosy: +r.david.murray priority:

[issue6775] readme: correct python.org/community/lists url

2009-08-24 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks, fixed in r74544. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6775 ___

[issue6772] Missing alias utf-8 in Standard Encodings list.

2009-08-24 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I made a compromise in r74545: 'utf-8' is now used as an example to demonstrate the statement Marc-Andre cited. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6772

[issue6026] test_(zipfile|zipimport|gzip|distutils|sqlite) fail if zlib is not available

2009-08-24 Thread Nicolas Dumazet
Nicolas Dumazet nicd...@gmail.com added the comment: Great, I don't know how I missed that bug. It looks really similar to the patch I had written at http://codereview.appspot.com/111041 So your patch looks correct to me, and does solve the issue locally. -- nosy: +nicdumz

[issue6725] Inconsistency in Documentation: Name Spaces vs Namespaces

2009-08-24 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks, fixed in r74546. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6725 ___

[issue6718] ValueError in 21.17.4.2. SocketServer.UDPServer Example

2009-08-24 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks, fixed in r74547. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6718 ___

[issue6677] Place the term delete within the documentation for os.remove() and os.rmdir()

2009-08-24 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Fixed in r74548. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6677 ___

[issue6677] Place the term delete within the documentation for os.remove() and os.rmdir()

2009-08-24 Thread Mike Cowperthwaite
Mike Cowperthwaite mi...@lathropengineering.com added the comment: Thanks, but the bug requested a similar change for rmdir as well. Is it not possible to backport the change to the 2.x branch? -- ___ Python tracker rep...@bugs.python.org

[issue6776] A few tests are failing when zlib is not supported

2009-08-24 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6776 ___ ___ Python-bugs-list

[issue6677] Place the term delete within the documentation for os.remove() and os.rmdir()

2009-08-24 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: True. Fixed in r74550. The changes will be ported to all maintained branches soon. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6677 ___

[issue6677] Place the term delete within the documentation for os.remove() and os.rmdir()

2009-08-24 Thread Mike Cowperthwaite
Mike Cowperthwaite mi...@lathropengineering.com added the comment: Very good. Thank you, Georg. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6677 ___

[issue6770] PDF download links of docs for 3.1.1 are broken

2009-08-24 Thread Radiant
Radiant newyorkdude...@yahoo.com added the comment: The files in question are accessible at this time. I can only hope that the issue doesn't recur. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6770

[issue6770] PDF download links of docs for 3.1.1 are broken

2009-08-24 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- resolution: - out of date ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6770 ___ ___

[issue6721] Locks in python standard library should be sanitized on fork

2009-08-24 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: I've started a project to patch this and similar messes up for Python 2.4 and later here: http://code.google.com/p/python-atfork/ I'd like to take ideas or implementations from that when possible for future use in the python standard

[issue6777] Python 2.6 tutorial still recommends using Exception.message attribute

2009-08-24 Thread Christoph Zwerschke
New submission from Christoph Zwerschke c...@online.de: The Python 2.6.2 tutorial says at the end of secton 8.3 (http://docs.python.org/tutorial/errors.html#handling-exceptions): But use of .args is discouraged. Instead, the preferred use is to pass a single argument to an exception (which can

[issue6749] Support for encrypted zipfiles when interpreting zipfile as script

2009-08-24 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: The people who do not know how to get over that wall would be equally stumped if presented with tokenized .pyc or .pyo files. No fake encryption needed. -- ___ Python tracker rep...@bugs.python.org

[issue4879] Allow buffering for HTTPResponse

2009-08-24 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: Already reverted in r74522 | gregory.p.smith | 2009-08-18 22:33:48 -0700 (Tue, 18 Aug 2009) for that reason. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4879

[issue6778] False positives given through bisect module (binary search)

2009-08-24 Thread kaashif
New submission from kaashif musharraf.az...@gmail.com: I tried Python's bisect module on a large word list (words.txt contained in http://www.greenteapress.com/thinkpython/swampy/swampy.1.1.zip) If I search for something like 'musefully', 'museful' will come up as a match. Maybe that's a

[issue6779] NotImplementedError on for statement

2009-08-24 Thread Samuel Quiring
New submission from Samuel Quiring sam.quir...@windriver.com: I have the following for statement: lenc = len(children) for ic in range(lenc): print ic: , ic child = children[ic] print -, ic,

[issue6780] startswith error message is incomplete

2009-08-24 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar sridh...@activestate.com: The `startswith` method accepts both string and tuple (not list). Yet the error message suggests that it expects (only) a character buffer object. In Python-2.6: foo.startswith(['fo', 'df']) Traceback (most recent call last):

[issue6730] dict.fromkeys() should not cross reference mutable value by default

2009-08-24 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I'll add a bit of explanation as well: I have to add this ugly loop : for key in keys: d[key] = [] With a defaultdict, you don't -- you just use d[key], and if not already present, the entry will be initialized with an empty list. I

[issue6660] Desire python.org documentation link to user contribution wiki (per function)

2009-08-24 Thread kee nethery
kee nethery k...@kagi.com added the comment: No problem. I can parse text in an automated manner very easily. So if you need someone to take the doc files and add in wiki URLs for each section, I can do that. Happy to volunteer. Worst case is you look at what I do and reject it. Best case

[issue6778] False positives given through bisect module (binary search)

2009-08-24 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: It's not a match, it's an insertion point. The bisect module doesn't have a method that can be used directly to determine if an item is not in the list. Take a careful look at the example, especially the second part. If you think it

[issue6779] NotImplementedError on for statement

2009-08-24 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: The bug tracker is not a place to get help debugging your code. Your code is not a complete example, and is doing odd things with try/except and the printing of errors which may well be masking what is really going on, so I can't begin to

[issue5851] Add a stream parameter to gc.set_debug

2009-08-24 Thread Nicolas Dumazet
Nicolas Dumazet nicd...@gmail.com added the comment: Sure, I'd be happy to contribute a patch. I uploaded a patch on Rietveld, at http://codereview.appspot.com/110078 Let me know how it looks. -- ___ Python tracker rep...@bugs.python.org

[issue6744] calling kevent repr raises a TypeError

2009-08-24 Thread Jessica McKellar
Jessica McKellar jessica.mckel...@gmail.com added the comment: Added a tiny example to generate the error, repeated here. Just: from select import kevent if __name__ == '__main__': ev = kevent(1) print(repr(ev)) -- Added file:

<    1   2   3