[issue1005895] curses for win32

2008-05-29 Thread anatoly techtonik
Changes by anatoly techtonik [EMAIL PROTECTED]: -- nosy: +techtonik ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1005895 ___ ___ Python-bugs-list

[issue2906] tkinter, assorted fixes

2008-05-29 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Committed as r63776, r63777 (3k). -- nosy: +georg.brandl resolution: - accepted status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2906

[issue2988] Invalid cookies crash web applications

2008-05-29 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: I've added a note in the docs in r63781. In the spirit of errors should never pass silently, this seems to me like the best thing to do. -- nosy: +georg.brandl resolution: - fixed status: open - closed

[issue2985] xmlrpclib doesn't support 64bit integer replies

2008-05-29 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Thanks, fixed in r63782. -- nosy: +georg.brandl resolution: - accepted status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2985

[issue2997] PyNumberMethods has left-over fields in Py3

2008-05-29 Thread Stefan Behnel
New submission from Stefan Behnel [EMAIL PROTECTED]: Here is a patch that removes three unused fields from the PyNumberMethods struct in Py3. Since two fields were already removed (one even before the ones this patch removes), there is no way existing Py2 C code that uses this struct can work in

[issue2998] UnicodeEncodeError: 'ascii' codec can't encode character

2008-05-29 Thread Rahman
New submission from Rahman [EMAIL PROTECTED]: Hi i Rahman Yazgan. I live in Turkey. I am pyhton(pyqt) programmer. I found a bug : UnicodeEncodeError: 'ascii' codec can't encode character QLineEdit.text(),... UnicodeEncodeError so ascii codecs, can't encoding. python version 2.5(windows)

[issue2975] VS8 include dirs grow without bound

2008-05-29 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: I don't understand where the problem comes from: query_vcvarsall() is called only once, when the distutils.msvc9compiler module is imported. Or is the module somehow reloaded or removed from sys.modules? -- nosy:

[issue2990] type cache updates might run cleanup code in an inconsistent state

2008-05-29 Thread Armin Rigo
Armin Rigo [EMAIL PROTECTED] added the comment: This was actually not a bug because the object being decref'ed is guaranteed to be exactly a string or None, as told in the comment about the 'name' field. So no user code could possibly run during this Py_DECREF() call. -- nosy: +arigo

[issue2898] Add memory footprint query

2008-05-29 Thread Robert Schuppenies
Robert Schuppenies [EMAIL PROTECTED] added the comment: The attached patch implements the sizeof functionality as a sys module function. __sizeof__ is implemented by object as a instance method, by type as a class method as well as by types which's size cannot be computed from basicsize,

[issue2419] Remove all IRIX dependant modules from aifc module

2008-05-29 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles [EMAIL PROTECTED] added the comment: I think this issue should be closed as a duplicate of issue 2847. -- nosy: +quentin.gallet-gilles ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2419

[issue2985] xmlrpclib doesn't support 64bit integer replies

2008-05-29 Thread Ralf Schmitt
Ralf Schmitt [EMAIL PROTECTED] added the comment: I think it's also a bug that xmlrpclib just ignores unknown tags (without even printing a warning). and: wouldn't it be nice if we could also write back those integers? import xmlrpclib xmlrpclib.dumps((2**40,)) Traceback (most recent call

[issue2990] type cache updates might run cleanup code in an inconsistent state

2008-05-29 Thread Stefan Behnel
Stefan Behnel [EMAIL PROTECTED] added the comment: Ok, I buy that argument. The patch may be considered a code uglification then. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2990 ___

[issue2985] xmlrpclib doesn't support 64bit integer replies

2008-05-29 Thread Riku Lindblad
Riku Lindblad [EMAIL PROTECTED] added the comment: The I8 tag is an extension by xmlrpc-c: http://xmlrpc-c.sourceforge.net/doc/libxmlrpc.html#extensiontype (XMLRPC_TYPE_I8) ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2985

[issue2888] pprint produces different output in 2.6 and 3.0

2008-05-29 Thread Manuel Kaufmann
Manuel Kaufmann [EMAIL PROTECTED] added the comment: Documentation fix. Added file: http://bugs.python.org/file10464/pprint.rst.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2888 ___

[issue2887] bsddb3 needs to be ported to Python 3.0

2008-05-29 Thread Jesús Cea Avión
Jesús Cea Avión [EMAIL PROTECTED] added the comment: Yes. My idea is to port the python code as-is, using 2to3, and update the C code with conditional compilation, to keep a single codebase. I'm having issues with the compatibility. In particular, my code has the following line: staticforward

[issue2873] Remove htmllib use in the stdlib

2008-05-29 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. [EMAIL PROTECTED] added the comment: I'd be happy to see both htmllib and pydoc be removed; documentation tools do quite well as separate applications. Not as convenient for interactive use, but easy enough to hook in via PYTHONSTARTUP. -- nosy: +fdrake

[issue2898] Add memory footprint query

2008-05-29 Thread Robert Schuppenies
Changes by Robert Schuppenies [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file10463/sizeof.patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2898 ___

[issue2898] Add memory footprint query

2008-05-29 Thread Robert Schuppenies
Robert Schuppenies [EMAIL PROTECTED] added the comment: Nick Coghlan helped me to clear my 'metaclass confusion' so here is a patch without an additional __sizeof__ for type objects. Added file: http://bugs.python.org/file10465/sizeof.patch ___ Python

[issue2975] VS8 include dirs grow without bound

2008-05-29 Thread Scott Dial
Scott Dial [EMAIL PROTECTED] added the comment: The path gets changed everytime a MSVCCompiler is instantiated. I've seen the same problem with PATH before with PyPy. I agree this is a bug, but I don't see how it can be fixed. The problem exists inside of vcvarsall.bat if I understand this

[issue2999] Py30a5: str.replace() tiny doc error

2008-05-29 Thread Mark Summerfield
New submission from Mark Summerfield [EMAIL PROTECTED]: help(str.replace) Help on method_descriptor: replace(...) S.replace (old, new[, maxsplit]) - unicode Return a copy of S with all occurrences of substring old replaced by new. If the optional argument maxsplit is

[issue2936] ctypes.util.find_library() doesn't consult LD_LIBRARY_PATH

2008-05-29 Thread Jesús Cea Avión
Jesús Cea Avión [EMAIL PROTECTED] added the comment: Would be useful, too, to add an optional parameter to the call with a list of directories where to search?. -- nosy: +jcea ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2936

[issue3000] 2to3 doesn't handle print(whatever); print nor string.* functions

2008-05-29 Thread Mark Summerfield
New submission from Mark Summerfield [EMAIL PROTECTED]: Py30a5 2to3 currently does not cope correctly with this: print whatever; print which it converts to: print(whatever); print This is a subtle error since print on its own is valid. Nor does it replace the deprecated string

[issue2998] UnicodeEncodeError: 'ascii' codec can't encode character

2008-05-29 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Sorry, but you have to be more specific about what you think is a bug. That the default encoding is ascii does have its reasons, and will not change. You're likely to be missing an explicit .encode() call when converting from unicode to str;

[issue2990] type cache updates might run cleanup code in an inconsistent state

2008-05-29 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Reverted in r63787. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2990 ___ ___ Python-bugs-list mailing list

[issue2847] Remove cl usage from aifc

2008-05-29 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles [EMAIL PROTECTED] added the comment: I'm working on this one. -- nosy: +quentin.gallet-gilles ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2847 ___

[issue3001] RLock's are SLOW

2008-05-29 Thread Jesús Cea Avión
New submission from Jesús Cea Avión [EMAIL PROTECTED]: threading.RLock acquire/release is very slow. A order of magnitude higher than no reentrant threading.Lock: def RLockSpeed() : import time, threading t=time.time() result={} for i in xrange(100) : pass result[empty

[issue3002] shutil.copyfile blocks indefinitely on named pipes

2008-05-29 Thread albert hofkamp
New submission from albert hofkamp [EMAIL PROTECTED]: shutil.copytree() uses shutil.copyfile() to copy files recursively. shutil.copyfile() opens the source file for reading, and the destination file for writing, followed by a call to shutil.copyfileobj(). If the file happens to be a named pipe

[issue3002] shutil.copyfile blocks indefinitely on named pipes

2008-05-29 Thread Raghuram Devarakonda
Raghuram Devarakonda [EMAIL PROTECTED] added the comment: I am not sure if copyfile() should be trying to copy named pipes (or any other special files for that matter). The best way is perhaps to check and skip such files. -- nosy: +draghuram ___

[issue2936] ctypes.util.find_library() doesn't consult LD_LIBRARY_PATH

2008-05-29 Thread Bill Janssen
Bill Janssen [EMAIL PROTECTED] added the comment: You could do that, I can see how that would be useful, but I think it might be less confusing to just use the platform's way of doing that. For instance, on OS X, you can set DYLD_LIBRARY_PATH environment variable to put directories in front of

[issue2936] ctypes.util.find_library() doesn't consult LD_LIBRARY_PATH

2008-05-29 Thread Jesús Cea Avión
Jesús Cea Avión [EMAIL PROTECTED] added the comment: Sometimes the program knows better :). Supporting LD_LIBRARY_PATH and friends, the incremental cost of supporting an additional parameter seems trivial. ___ Python tracker [EMAIL PROTECTED]

[issue2451] No way to disable socket timeouts in httplib, etc.

2008-05-29 Thread Facundo Batista
Facundo Batista [EMAIL PROTECTED] added the comment: Commited (part of this) patch on r63788. A lot of small details weren't commited, in a big change like this, the best is to minimize the changes. What I have left from this commit, but plan to do it later is a fix to test_urllib2net.py (this

[issue3003] sys.stdin.fileno() gives attribute error in IDLE

2008-05-29 Thread Mark Veldhuis
New submission from Mark Veldhuis [EMAIL PROTECTED]: I am using IDLE on Ubuntu Hardy (8.04) and all in all very content to use it. Today I got an AttributeError using sys.stdin.fileno(). A closer look revealed this: in IDLE: Python 2.5.2 (r252:60911, Apr 21 2008, 11:12:42) [GCC 4.2.3 (Ubuntu

[issue2873] Remove htmllib use in the stdlib

2008-05-29 Thread Brett Cannon
Brett Cannon [EMAIL PROTECTED] added the comment: On Thu, May 29, 2008 at 5:26 AM, Fred L. Drake, Jr. [EMAIL PROTECTED] wrote: Fred L. Drake, Jr. [EMAIL PROTECTED] added the comment: I'd be happy to see both htmllib and pydoc be removed; documentation tools do quite well as separate

[issue2936] ctypes.util.find_library() doesn't consult LD_LIBRARY_PATH

2008-05-29 Thread Thomas Heller
Thomas Heller [EMAIL PROTECTED] added the comment: To be honest, I do not understand this request and the discussion. ctypes.util.find_library(), as dcumented, is supposed to simulate what the linker does: find the name of a shared library. For example, it returns 'libc.so.6' when called as

[issue3004] Bug in slice.indices()

2008-05-29 Thread Arnaud Bergeron
New submission from Arnaud Bergeron [EMAIL PROTECTED]: When calling the indices method of a slice object with a negative stop larger in absolute value than the length passed, the returned stop value is always -1. It should be 0 when the step is positive. Current behavior:

[issue3005] EasyDialogs - documentation enhancement

2008-05-29 Thread kee nethery
New submission from kee nethery [EMAIL PROTECTED]: issue: We spent quite a bit of time trying to figure out why EasyDialogs was not working, no dialogs were appearing. Eventually I had to check an AIM and noticed several icons bouncing in the dock. Scrolled over one and it claimed it was

[issue2636] Regexp 2.6 (modifications to current re 2.2.2)

2008-05-29 Thread Jeffrey C. Jacobs
Changes by Jeffrey C. Jacobs [EMAIL PROTECTED]: Added file: http://bugs.python.org/file10467/issue2636.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2636 ___

[issue1798] Add ctypes calling convention that allows safe access of errno

2008-05-29 Thread Thomas Heller
Thomas Heller [EMAIL PROTECTED] added the comment: Ok, here is the plan (basically Armin's proposal): ctypes maintains a gloabl, but thread-local, variable that contains an error number; called 'ctypes_errno' for this discussion. ctypes.set_errno(value) copies 'value' into ctypes_errno, and

[issue2775] Implement PEP 3108

2008-05-29 Thread Brett Cannon
Changes by Brett Cannon [EMAIL PROTECTED]: -- dependencies: -Backport UserString move from 3.0 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2775 ___

[issue2636] Regexp 2.6 (modifications to current re 2.2.2)

2008-05-29 Thread Jeffrey C. Jacobs
Changes by Jeffrey C. Jacobs [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file10427/issue2636.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2636 ___

[issue2636] Regexp 2.6 (modifications to current re 2.2.2)

2008-05-29 Thread Jeffrey C. Jacobs
Changes by Jeffrey C. Jacobs [EMAIL PROTECTED]: Added file: http://bugs.python.org/file10468/issue2636-05.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2636 ___

[issue2636] Regexp 2.6 (modifications to current re 2.2.2)

2008-05-29 Thread Jeffrey C. Jacobs
Changes by Jeffrey C. Jacobs [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file10429/issue2636-05.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2636 ___

[issue1779233] PyThreadState_SetAsyncExc and the main thread

2008-05-29 Thread Thomas Heller
Changes by Thomas Heller [EMAIL PROTECTED]: -- assignee: theller - ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1779233 ___ ___ Python-bugs-list

[issue2878] Backport UserList move in 3.0

2008-05-29 Thread Brett Cannon
Brett Cannon [EMAIL PROTECTED] added the comment: Committed in r63790. -- resolution: - accepted status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2878 ___

[issue1797] ctypes function pointer enhancements

2008-05-29 Thread Thomas Heller
Changes by Thomas Heller [EMAIL PROTECTED]: ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1797 ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1797] ctypes function pointer enhancements

2008-05-29 Thread Thomas Heller
Thomas Heller [EMAIL PROTECTED] added the comment: NULL function pointers are have a boolean False value now; svn rev 63792 (trunk) and rev 63793 (py3k). ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1797

[issue3001] RLock's are SLOW

2008-05-29 Thread Adam Olsen
Changes by Adam Olsen [EMAIL PROTECTED]: -- nosy: +Rhamphoryncus ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3001 ___ ___ Python-bugs-list mailing

[issue3006] subprocess.Popen causes socket to remain open after close

2008-05-29 Thread Matt Mulsow
New submission from Matt Mulsow [EMAIL PROTECTED]: On Windows, when a suprocess.Popen command is issued while a socket connection is being handled the socket connection will not close until the output of the subprocess is consumed. The connection remains open even though the request.close()

[issue2854] Add gestalt back into Python 3.0

2008-05-29 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: _gestalt was added in 63795. -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2854 ___

[issue2975] VS8 include dirs grow without bound

2008-05-29 Thread Jim Kleckner
Jim Kleckner [EMAIL PROTECTED] added the comment: Actually, now that I think about it a little more, it seems like very bad practice to change the process environment variables as a side effect. A better solution would be to keep a variable for the required ones that is modified as necessary.

[issue3007] Remove old StringIO docs

2008-05-29 Thread Humberto Diogenes
New submission from Humberto Diogenes [EMAIL PROTECTED]: StringIO was merged into the `io` module, but the old stringio.rst docs are still there. -- assignee: georg.brandl components: Documentation files: io.stringio-docs.patch keywords: patch messages: 67515 nosy: georg.brandl,

[issue3007] Remove old StringIO docs

2008-05-29 Thread Humberto Diogenes
Changes by Humberto Diogenes [EMAIL PROTECTED]: Added file: http://bugs.python.org/file10473/remove-stringio.rst.patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3007 ___

[issue2918] Merge StringIO/cStringIO in 3.0

2008-05-29 Thread Humberto Diogenes
Changes by Humberto Diogenes [EMAIL PROTECTED]: -- nosy: +hdiogenes ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2918 ___ ___ Python-bugs-list mailing

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

2008-05-29 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file9957/ocean.zip ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2065 ___

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

2008-05-29 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file10474/ocean.zip ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2065 ___

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

2008-05-29 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto [EMAIL PROTECTED]: Added file: http://bugs.python.org/file10475/ocean.zip ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2065 ___

[issue2936] ctypes.util.find_library() doesn't consult LD_LIBRARY_PATH

2008-05-29 Thread Bill Janssen
Bill Janssen [EMAIL PROTECTED] added the comment: The question is, which linker? I think it should be ld.so, which links on demand, and does pay attention to LD_LIBRARY_PATH. I'm not sure what the point of find_library() is, otherwise. Bill On Thu, May 29, 2008 at 11:24 AM, Thomas Heller

[issue708007] TelnetPopen3, TelnetBase, Expect split

2008-05-29 Thread Benjamin Peterson
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- resolution: out of date - status: closed - open versions: +Python 2.6 -Python 2.2 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue708007 ___

[issue2888] pprint produces different output in 2.6 and 3.0

2008-05-29 Thread Facundo Batista
Changes by Facundo Batista [EMAIL PROTECTED]: -- assignee: fdrake - facundobatista ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2888 ___ ___

[issue1658] RuntimeError: dictionary changed size during iteration in Tkinter

2008-05-29 Thread Guilherme Polo
Guilherme Polo [EMAIL PROTECTED] added the comment: There is this same problem at scrolledtext.py (new name). I'm attaching a patch that is a bit different that correct both cases. -- nosy: +gpolo Added file: http://bugs.python.org/file10477/tkinter_issue1658.diff

[issue1948] Cant open python gui using VISTA

2008-05-29 Thread safe alattar
safe alattar [EMAIL PROTECTED] added the comment: Ok I figured out what happened once I got the error message on the command prompt. Since I installed Python on another account, I could not run it on the current account Im using now. To solve this I had to disable the UAC option. P.S. vista