[issue4072] build_py support for lib2to3 is stale

2008-10-08 Thread Martin v. Löwis
Changes by Martin v. Löwis <[EMAIL PROTECTED]>: -- keywords: +needs review Added file: http://bugs.python.org/file11745/test2to3.tar.gz ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue4063] sphinx: make all-pdf does not exist.

2008-10-08 Thread Thomas Guettler
Thomas Guettler <[EMAIL PROTECTED]> added the comment: Dear georg, I am sorry that I wasted your time. Yes, I ignored the part '..in that directory'. I couldn't find a way to close this ticket, also I am logging in. Do you need special privileges for this? Nevertheless, thank you for "Sphinx".

[issue4063] sphinx: make all-pdf does not exist.

2008-10-08 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Yes, closing tickets (and changing metadata like priority) is only possible for developers. -- status: pending -> closed ___ Python tracker <[EMAIL PROTECTED]>

[issue4071] ntpath.abspath can fail on Win Server 2008 (64-bit)

2008-10-08 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: > Running help() or mktemp() causes _getfullpathname to be called > with the whole system path (791 characters) I am not sure to understand. Do you mean the whole PATH environment variable? I doubt that it is passed to _getfullpathname

[issue1597850] Cross compiling patches for MINGW

2008-10-08 Thread rwmjones
rwmjones <[EMAIL PROTECTED]> added the comment: Just to clarify, in the MinGW case we are interested in: "build" = Fedora Linux, usually i386 or x86-64 (but not always) "host" = Windows i386 We can, to a limited extent, run the host binaries on the build system, using Wine (the Windows emulator

[issue4068] Backport fix for issue 3312

2008-10-08 Thread Gerhard Häring
Gerhard Häring <[EMAIL PROTECTED]> added the comment: Thanks, committed in revision 66843. -- status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___

[issue1597850] Cross compiling patches for MINGW

2008-10-08 Thread Roumen Petrov
Roumen Petrov <[EMAIL PROTECTED]> added the comment: Hi rwmjones, Please, could you test patch from issue3871 - python modules are build as setup.py is run from python found on the build system. So I don't expect issue with ppc and sparc. Minor issue is pgen.exe - work around touch grammar files

[issue3975] PyTraceBack_Print() doesn't respect # coding: xxx header

2008-10-08 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: > More fun will arise when my Windows terminal (encoding=cp1252) > will try to display Chinese characters. Let's pretend this is > yet another issue. I tried the patch using a script with unicode characters (character not representable in

[issue3975] PyTraceBack_Print() doesn't respect # coding: xxx header

2008-10-08 Thread STINNER Victor
Changes by STINNER Victor <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file11748/traceback_unicode-5.patch ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue1028088] Cookies without values are silently ignored (by design?)

2008-10-08 Thread Facundo Batista
Changes by Facundo Batista <[EMAIL PROTECTED]>: -- nosy: +facundobatista ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-l

[issue4072] build_py support for lib2to3 is stale

2008-10-08 Thread Mark Hammond
Mark Hammond <[EMAIL PROTECTED]> added the comment: r=me - thanks. -- keywords: -needs review resolution: -> accepted ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue4075] Use WCHAR variant of OutputDebugString

2008-10-08 Thread Ulrich Eckhardt
New submission from Ulrich Eckhardt <[EMAIL PROTECTED]>: The attached patch converts the call to OutputDebugString() with a 'TCHAR' parameter (which boils down to a 'char') to one using a 'WCHAR' parameter, allowing the code to be compiled under MS Windows CE, which doesn't have the 'char' versio

[issue4071] ntpath.abspath can fail on Win Server 2008 (64-bit)

2008-10-08 Thread Jason Day
Jason Day <[EMAIL PROTECTED]> added the comment: > I am not sure to understand. Do you mean the whole PATH environment > variable? I doubt that it is passed to _getfullpathname. > Or do you have very long paths for one directory? the TEMP environment > variable, for example? I'd be curious to see

[issue3975] PyTraceBack_Print() doesn't respect # coding: xxx header

2008-10-08 Thread STINNER Victor
Changes by STINNER Victor <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file11747/traceback_unicode-5.patch ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue3975] PyTraceBack_Print() doesn't respect # coding: xxx header

2008-10-08 Thread STINNER Victor
Changes by STINNER Victor <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file11736/traceback_unicode-4.patch ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue3975] PyTraceBack_Print() doesn't respect # coding: xxx header

2008-10-08 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: @amaury: Oops, yes, I introduced a refleak in the version 4 with the PyUnicode_Check(). Instead of just moved Py_(X)RECREF(lineobj);, I could not not resist to refactor the code to remove one more indentation level (I prefer if (...) return

[issue4076] Cannot build non-framework tkinter Python on Mac OS X.5

2008-10-08 Thread Dan OD
New submission from Dan OD <[EMAIL PROTECTED]>: On a Mac running OS X 10.5: As per previous releases, I have set up _tkinter in Modules/Setup.dist with a unix X11 Tcl/Tk build variables. I then run ./configure && make This builds _tkinter with (wrongly) the Mac Tcl framework (ie not X11) buil

[issue4075] Use WCHAR variant of OutputDebugString

2008-10-08 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: The alloca() function should be avoided here: the function may be called in extreme conditions, like stack overflow. I suggest to use a small static buffer (50 chars?), and call OutputDebugStringW in a loop. -- nosy: +amaury.fo

[issue4071] ntpath.abspath can fail on Win Server 2008 (64-bit)

2008-10-08 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: > I don't have it offhand, but it was the whole PATH environment > variable, complete with semicolons. That's probably the *real* bug. Indeed. Do you happen to have the complete traceback of the failing tempfile.mktemp() call? I don't

[issue4077] Py_FatalError cleanup patch

2008-10-08 Thread Ulrich Eckhardt
New submission from Ulrich Eckhardt <[EMAIL PROTECTED]>: This patch does two things: * It removes trailing newlines from the arguments given to Py_FatalError() because a trailing newline is already added automatically. * It fixes the declaration in ffi.c to take a 'const char*'. -- compo

[issue3288] float.as_integer_ratio method is not documented

2008-10-08 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Would be nice, yes. ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mailing l

[issue4056] :Class: causes exception

2008-10-08 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: [Sphinx issues are now tracked at http://code.google.com/p/sphinx -- moved the issue there.] -- resolution: -> duplicate status: open -> closed ___ Python tracker <[EMAIL PROTECTED]>

[issue3909] Building PDF documentation from tex files

2008-10-08 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: OK, no problem. I should have thought about that sooner. Happy TeXing :) -- resolution: -> works for me status: open -> closed ___ Python tracker <[EMAIL PROTECTED]>

[issue4077] Py_FatalError cleanup patch

2008-10-08 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc <[EMAIL PROTECTED]>: -- assignee: -> amaury.forgeotdarc keywords: +easy nosy: +amaury.forgeotdarc ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue4055] Documentation on website is missing section numbers

2008-10-08 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: I disagree that missing section numbers are a severe usability hit. Especially in the context that the new docs are constantly updated, there's no telling when section numbers will shift, misleading those who only navigate by section number. In

[issue3975] PyTraceBack_Print() doesn't respect # coding: xxx header

2008-10-08 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: The code is indeed easier to follow. I don't have any more remark, thanks to you perseverance! Now, is there some unit test we could provide? #2384 depends on this issue, it should be easy to extract a small test case.

[issue4059] sqlite3 docs incomplete

2008-10-08 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Thanks, committed as r66854. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___

[issue4058] markup in What's New in 2.6

2008-10-08 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Thanks, committed as r66855. -- resolution: -> accepted status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue3975] PyTraceBack_Print() doesn't respect # coding: xxx header

2008-10-08 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: My patch for #2384 contains a testcase which require #3975 and #2384 to be fixed (you have to apply both patches to test it). ___ Python tracker <[EMAIL PROTECTED]> _

[issue4078] asyncore fixes are not backwards compatible

2008-10-08 Thread Sidnei da Silva
New submission from Sidnei da Silva <[EMAIL PROTECTED]>: I am working on getting Zope to run (or at least, start) with Python 2.6. It actually starts right now after applying some patches, which is amazing on itself, but it dies right away due to changes in asyncore that break Zope's internal ver

[issue4078] asyncore fixes are not backwards compatible

2008-10-08 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' <[EMAIL PROTECTED]>: -- nosy: +giampaolo.rodola, josiah.carlson ___ Python tracker <[EMAIL PROTECTED]> ___

[issue4079] new urllib2.Request 'timeout' attribute needs to have a default

2008-10-08 Thread Sidnei da Silva
New submission from Sidnei da Silva <[EMAIL PROTECTED]>: 'urllib2' has introduced a configurable 'timeout' setting by assigning to the 'timeout' attribute of the urllib2.Request object. However the implementation is flawed: - the 'timeout' attribute is set in OpenerDirector.open() and nowhere el

[issue4075] Use WCHAR variant of OutputDebugString

2008-10-08 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: I agree that a static buffer should be used. I think calling it in a loop is overkill. Instead, if an overrun occurs, adding "(truncated)" should be good enough. I could find only a single caller that doesn't pass a static string (_Py_Negativ

[issue3935] bisect insort C implementation ignores methods on list subclasses

2008-10-08 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: OK, committed as r66856, should get merged to 3.0 soon. -- status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue4017] IDLE 2.6 broken on OSX (Leopard)

2008-10-08 Thread Leo M
Leo M <[EMAIL PROTECTED]> added the comment: Hello. First time here, beginner at Python. I have verified that the Google tip link in the previous to fix IDLE works for me. Post in question: ** [Kevin's post of 6.Oct, 02:58] You can avoid this problem by building Python yourself and putting /Libr

[issue4080] pyunit - display time of each test case - patch

2008-10-08 Thread Pawel Prokop
New submission from Pawel Prokop <[EMAIL PROTECTED]>: I've needed to measure each unit test running time to measure the performance changing of each functionality that every test case tests. Latest version of pyunit has only displayed summary running time of the suite, so I've implemented small e

[issue4072] build_py support for lib2to3 is stale

2008-10-08 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: The options dictionary only supports the "print_function" as of now, and that's default by false anyway. -- nosy: +benjamin.peterson ___ Python tracker <[EMAIL PROTECTED]>

[issue3714] nntplib module broken by str to unicode conversion

2008-10-08 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- priority: critical -> release blocker ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue3725] telnetlib module broken by str to unicode conversion

2008-10-08 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- priority: critical -> release blocker ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue3727] poplib module broken by str to unicode conversionhttp://bugs.python.org/issue3727

2008-10-08 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- priority: -> release blocker title: poplib module broken by str to unicode conversion -> poplib module broken by str to unicode conversionhttp://bugs.python.org/issue3727 ___ Python tracker <[EMAI

[issue3727] poplib module broken by str to unicode conversion

2008-10-08 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- title: poplib module broken by str to unicode conversionhttp://bugs.python.org/issue3727 -> poplib module broken by str to unicode conversion ___ Python tracker <[EMAIL PROTECTED]>

[issue4078] asyncore fixes are not backwards compatible

2008-10-08 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- assignee: -> josiahcarlson nosy: +josiahcarlson ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue4078] asyncore fixes are not backwards compatible

2008-10-08 Thread Josiah Carlson
Josiah Carlson <[EMAIL PROTECTED]> added the comment: Zope's medusa was relying on internal details of asyncore (the ac_out_buffer attribute), which is no longer applicable. It also seems as though much of medusa itself borrows from asynchat.async_chat, which suggests that it should subclass

[issue1028088] Cookies without values are silently ignored (by design?)

2008-10-08 Thread Andres Riancho
Andres Riancho <[EMAIL PROTECTED]> added the comment: The RFC I'm talking about is: http://www.ietf.org/rfc/rfc2109.txt ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue4071] ntpath.abspath fails for long str paths

2008-10-08 Thread Jason Day
Changes by Jason Day <[EMAIL PROTECTED]>: -- title: ntpath.abspath can fail on Win Server 2008 (64-bit) -> ntpath.abspath fails for long str paths ___ Python tracker <[EMAIL PROTECTED]> _

[issue4071] ntpath.abspath can fail on Win Server 2008 (64-bit)

2008-10-08 Thread Jason Day
Jason Day <[EMAIL PROTECTED]> added the comment: > Indeed. Do you happen to have the complete traceback of the failing > tempfile.mktemp() call? I don't see where it can use the PATH > environment variable. The problem was that somehow, on our systems, the TEMP environmental variable had been c

[issue3994] import fixer misses some symbols

2008-10-08 Thread Nick Edds
Nick Edds <[EMAIL PROTECTED]> added the comment: The problem is that fix_imports doesn't look at matches that are nested within matches. So the _winreg.OpenKey part gets fixed, but the _winreg.HKEY_LOCAL_MACHINE does not because it is nested within the other node. I didn't make fix_imports so I d

[issue4081] Error copying directory to _static in Sphinx

2008-10-08 Thread Tim Delaney
New submission from Tim Delaney <[EMAIL PROTECTED]>: If there is a directory to be copied to _static, Sphinx first attempts to delete any directory by the same name in the _static directory. See attached sphinx_static_exc.txt for the exception. The simplest fix is to change the call (line 595,

[issue4081] Error copying directory to _static in Sphinx

2008-10-08 Thread Tim Delaney
Tim Delaney <[EMAIL PROTECTED]> added the comment: Oops - didn't complete my thought. The issue is that if the directory does not already exist, the attached exception is raised. ___ Python tracker <[EMAIL PROTECTED]> __

[issue1284316] Win32: Security problem with default installation directory

2008-10-08 Thread Mark Hammond
Changes by Mark Hammond <[EMAIL PROTECTED]>: -- nosy: +mhammond ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list maili

[issue4082] python2.6 -m site doesn't run site._script() any more

2008-10-08 Thread Christian Heimes
New submission from Christian Heimes <[EMAIL PROTECTED]>: python2.6 -m site used to print some status information to the console. python3.0 -m site and python2.5 -m site are still working as expected. An initial debug session showed that the site module isn't imported a second time under the name

[issue4082] python2.6 -m site doesn't run site._script() any more

2008-10-08 Thread Christian Heimes
Changes by Christian Heimes <[EMAIL PROTECTED]>: -- type: -> behavior ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list m

[issue4082] python2.6 -m site doesn't run site._script() any more

2008-10-08 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: I concur with the Christian's analysis: $ python2.6 -m site $ python2.6 -S -m site [output] -- nosy: +benjamin.peterson ___ Python tracker <[EMAIL PROTECTED]>

[issue4082] python2.6 -m site doesn't run site._script() any more

2008-10-08 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- nosy: +ncoghlan ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mai

[issue3001] RLock's are SLOW

2008-10-08 Thread Hugh Gibson
Hugh Gibson <[EMAIL PROTECTED]> added the comment: > I doubt subclassability of RLock matters but who knows, people do code > things. I've recently done this to implement potential deadlock detection. I keep a record of the sequences of acquired locks, find unique sequences, then check for con