[issue6095] os.curdir as the default argument for os.listdir

2009-06-11 Thread Tarek Ziadé
Tarek Ziadé added the comment: After a deeper look; this change looks rather complex for a posixpath.c newbie like me. I probably won't be able to provide it for 3.1. If you want to do it for 3.1, please go ahead Raymond ! -- ___ Python tracker

[issue5219] IDLE/Tkinter: edit win stops updating when tooltip is active

2009-06-11 Thread Roger Serwy
Roger Serwy added the comment: I've uploaded a patch to solve the problem. In CallTipWindow.py, the showtip function binds key releases and button releases to the checkhide_event function. The checkhide_event function creates a .after callback to itself whenever it's called. Each key release ad

[issue6261] Clarify behaviour of random.uniform

2009-06-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: Fixed in r73380 -- resolution: -> fixed status: open -> closed versions: -Python 3.2 ___ Python tracker ___ ___

[issue4749] Issue with RotatingFileHandler logging handler on Windows

2009-06-11 Thread Vinay Sajip
Vinay Sajip added the comment: Lowell, there's a working sample right there in the docs: I mentioned it in msg78619 in this issue. The link is http://docs.python.org/library/logging.html#sending-and-receiving-logging-events-across-a-network This should get anyone started for a multiprocess lo

[issue4749] Issue with RotatingFileHandler logging handler on Windows

2009-06-11 Thread Lowell Alleman
Lowell Alleman added the comment: For anyone who is interested, I did some testing with the ConcurrentRotatingFileHandler from my ConcurrentLogHandler package (v 0.8.3). I've found that it does not fail when dropped into the revised-logthred.py script. However, it does spend most of the time in

[issue6264] Misleading instructions for building extensions with mingw

2009-06-11 Thread Black Dew
Black Dew added the comment: It seems that the system I was testing on had the ActiveState python distribution installed which does not include libpython26.a I tried installing the official one from python.org and it has libpython26.a and works fine. Sorry about opening the bug at the wrong pl

[issue6270] Menu deletecommand fails if command is already deleted

2009-06-11 Thread Greg Couch
Changes by Greg Couch : Removed file: http://bugs.python.org/file14265/delcmd.patch ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue6270] Menu deletecommand fails if command is already deleted

2009-06-11 Thread Greg Couch
Changes by Greg Couch : Added file: http://bugs.python.org/file14266/delcmd.patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue6270] Menu deletecommand fails if command is already deleted

2009-06-11 Thread Greg Couch
New submission from Greg Couch : Sometime around Python 2.5.4, Menu.delete was changed to delete associated entry commands (and thus plug a memory leak). This broke Pmw.OptionMenu because it already had similar code, so when Menu.delete was called, the commands were already gone, and a TclError

[issue6264] Misleading instructions for building extensions with mingw

2009-06-11 Thread Martin v . Löwis
Martin v. Löwis added the comment: What's wrong with using the libpython26.a that is included in the Windows distribution? I don't think anecdotal observations should be included in the documentation; an expert would have to confirm first what the right procedure is. -- nosy: +loewis

[issue6262] VS 2008 binaries

2009-06-11 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Would it be possible to obtain MSVC++2008(9.0) binaries of Python 2.5.4? It's certainly possible to obtain them, if you create them yourself. There won't be any further 2.5 binaries at all (regardless of compiler version) from python.org As for the distutil

[issue6269] threading documentation makes no mention of the GIL

2009-06-11 Thread Florian Mayer
New submission from Florian Mayer : I think the GIL should be mentioned in the threading documentation, so that people do not try to use them for scalability reasons. -- assignee: georg.brandl components: Documentation files: threading.rst.patch keywords: patch messages: 89259 nosy: geor

[issue6268] Seeking to the beginning of a text file a second time will return the BOM as first character

2009-06-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: This is fixed in 3.1. -- nosy: +pitrou priority: -> low versions: -Python 2.4, Python 2.5, Python 3.1, Python 3.2 ___ Python tracker ___ _

[issue6268] Seeking to the beginning of a text file a second time will return the BOM as first character

2009-06-11 Thread Mark Florisson
New submission from Mark Florisson : >>> f = open('foo', 'wt+', encoding='UTF-16') >>> f.write('spam ham eggs') 13 >>> f.seek(0) 0 >>> f.read() 'spam ham eggs' >>> f.seek(0) 0 >>> f.read() '\ufeffspam ham eggs' Although the BOM character is a ZERO WIDTH NO-BREAK SPACE, and should therefore not i

[issue6195] Serious regression in doctest in Py3.1rc1

2009-06-11 Thread R. David Murray
R. David Murray added the comment: Unfortunately we're not out of the woods yet. test_zipimport_support has a failure with the patch applied. I will investigate when I get a chance, but I'm beginning to wonder if the doctest getsouce code needs some refactoring. -- __

[issue6267] Cumulative patch to http and xmlrpc

2009-06-11 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Consider this a superset of http://bugs.python.org/issue6099 http://bugs.python.org/issue6096 -- ___ Python tracker ___

[issue6267] Cumulative patch to http and xmlrpc

2009-06-11 Thread Kristján Valur Jónsson
New submission from Kristján Valur Jónsson : Please see http://codereview.appspot.com/73041/show -- messages: 89254 nosy: krisvale severity: normal status: open title: Cumulative patch to http and xmlrpc type: performance versions: Python 2.7 ___ Pyt

[issue6254] tarfile unnecessarily requires seekable files

2009-06-11 Thread Michael K Johnson
Michael K Johnson added the comment: OK, not intended for "everyday use"; I understand this as meaning that it is considered primarily an internal interface, and thus one that has an explicitly unstable API. It is hard for me to guess that this would be the case, since this intent is not docume

[issue6262] VS 2008 binaries

2009-06-11 Thread Bellenot
Bellenot added the comment: OK, thanks for the reply, I just wanted to be sure. BTW, why, after having build python with Visual Studio 2008, is it still claiming that: error: Python was built with Visual Studio 2003; extensions must be built with a compiler than can generate compatible binarie

[issue6259] ctypes pointer arithmetic

2009-06-11 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: I like this feature. Some comments: - tests... - unsupported operand types should return Py_NotImplemented. - gcc supports pointer arithmetic with void*: http://gcc.gnu.org/onlinedocs/gcc/Pointer-Arith.html Could ctypes do the same? - Some operatio

[issue6262] VS 2008 binaries

2009-06-11 Thread Tim Golden
Tim Golden added the comment: I doubt there's any real likelihood of the official Python 2.5.4 being generated with a different compiler: it would mean, in principle, that all binary extensions would have be recompiled to ensure there were no issues. I suggest you ask on the Python mailing li

[issue6232] Improve test coverage of ElementTree and cElementTree

2009-06-11 Thread Neil Muller
Neil Muller added the comment: some additional notes on the tests disabled for cElementTree: a) cElementTree still reports the last error (bug noted at http://effbot.python-hosting.com/ticket/30 , although not filed in the python bug tracker AFAICS). b) cElementTree uses Syntax error in places

[issue6266] cElementTree.iterparse & ElementTree.iterparse return differently encoded strings

2009-06-11 Thread Neil Muller
New submission from Neil Muller : Consider: >>> from StringIO import StringIO >>> source = StringIO('http://éffbot.org/ns";>text') >>> import xml.etree.ElementTree as ET >>> events = ("start-ns",) >>> context = ET.iterparse(source, events) >>> for action, elem in context: ...print action, el

[issue6265] cElementTree & ElementTree use different exceptions for XML Errors

2009-06-11 Thread Neil Muller
New submission from Neil Muller : cElementTree will raise a SyntaxError on XML parsing errors, while ElementTree will raise ExpatError. This makes changing between the two a bit more problematic than it could be. See for example https://lists.canonical.com/archives/bazaar/2006q3/017491.html Ele

[issue6252] logging midnight rotation

2009-06-11 Thread Vinay Sajip
Vinay Sajip added the comment: Fix checked into trunk, release26-maint and py3k. -- resolution: works for me -> fixed status: open -> closed ___ Python tracker ___ __

[issue6245] Add "intel" universal architecture on OSX

2009-06-11 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- nosy: +tarek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[issue6264] Misleading instructions for building extensions with mingw

2009-06-11 Thread Black Dew
Black Dew added the comment: It seems this was writen to the docs after a discussion here: http://mail.python.org/pipermail/python-dev/2005-October/057717.html >> As it turns out, MinGW also implemented, in version 3.0.0 (with >> binutils-2.13.90-20030111-1), features which make the creation o

[issue6264] Misleading instructions for installing extensions with mingw

2009-06-11 Thread Black Dew
New submission from Black Dew : This page http://docs.python.org/install/index.html#gnu-c-cygwin-mingw says: "These instructions only apply if you’re using a version of Python prior to 2.4.1 with a MinGW prior to 3.0.0 (with binutils-2.13.90- 20030111-1)" But it seems that it is still neede

[issue6263] syntax error in get_msvcr

2009-06-11 Thread Tarek Ziadé
Tarek Ziadé added the comment: done in r73348, r73349, r73351, r73352 -- status: open -> closed ___ Python tracker ___ ___ Python-bugs

[issue6263] syntax error in get_msvcr

2009-06-11 Thread Tarek Ziadé
New submission from Tarek Ziadé : get_msvcr uses an unknown msc_Ver variable (should be msc_ver), and wrong string formatting. -- assignee: tarek components: Distutils messages: 89242 nosy: tarek severity: normal status: open title: syntax error in get_msvcr type: behavior versions: Pyth

[issue6254] tarfile unnecessarily requires seekable files

2009-06-11 Thread Lars Gustäbel
Lars Gustäbel added the comment: tarfile.TarFile is neither unsupported nor deprecated. It is just too low-level for everyday use. -- ___ Python tracker ___ _

[issue6258] distributions built with bdist_msi on 64-bit Windows fail to install correctly

2009-06-11 Thread Tarek Ziadé
Tarek Ziadé added the comment: No that's fine Jason, I was about to do it ;) I can work on the patch and commit it since it's distutils-related, but Martin is the one that will validate it and give the green light on msi matters. -- ___ Python track

[issue5201] Using LDFLAGS='-rpath=\$$LIB:/some/other/path' ./configure breaks the build

2009-06-11 Thread Tarek Ziadé
Tarek Ziadé added the comment: done in r73341 in trunk. I've backported it as well in 2.6/3.0/3.1 branches. (r73342, r73343, r73344) Thanks ! -- status: open -> closed ___ Python tracker __

[issue6262] VS 2008 binaries

2009-06-11 Thread Bellenot
New submission from Bellenot : Hi, Would it be possible to obtain MSVC++2008(9.0) binaries of Python 2.5.4? We are actually stuck to this version and have problem with MSVC runtime libraries incompatibility. I can build Python.exe from source, but there are a lot of missing modules (external d