[issue1346] Error using >>> from OpenGL.GLUT import *

2007-10-30 Thread Neal Norwitz
Neal Norwitz added the comment: As gagenellina said, this problem appears to be with OpenGL, not python. OpenGL is not maintained here. You'll have to open a bug report with them. -- nosy: +nnorwitz resolution: -> rejected status: open -> closed __ Tra

[issue1490190] add os.chflags() and os.lchflags() where available

2007-10-30 Thread Neal Norwitz
Neal Norwitz added the comment: Martin's patch from 2007-03-21 fixed the problem with test_posix. It now passes all the tests (test_posix and rest of test suite). The tests/interpreter do not exit prematurely. I think it is good to apply this patch. -- assignee: nnorwitz -> loewis __

[issue1252] IDLE - patch Delegator to support callables

2007-10-30 Thread Kurt B. Kaiser
Changes by Kurt B. Kaiser: Added file: http://bugs.python.org/file8669/example2.py __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list

[issue1252] IDLE - patch Delegator to support callables

2007-10-30 Thread Kurt B. Kaiser
Changes by Kurt B. Kaiser: Added file: http://bugs.python.org/file8668/example1a.py __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list

[issue1252] IDLE - patch Delegator to support callables

2007-10-30 Thread Kurt B. Kaiser
Kurt B. Kaiser added the comment: > 1) Should Delegator delegate calls to callables No, I agree they should. The question is whether it's necessary to add a __call__() method to the Delegator class. I claim you can do what you want to do without it. It serves only one purpose that I can see

[issue1574217] isinstance swallows exceptions

2007-10-30 Thread Neal Norwitz
Neal Norwitz added the comment: Yeah, this seems like a bug and the patch seems correct. The patch also needs a test and add a space between if (. _ Tracker <[EMAIL PROTECTED]> _ __

[issue1358] Compile error on OS X 10.5

2007-10-30 Thread Neal Norwitz
Neal Norwitz added the comment: I don't have access to a 10.5 machine. My guess is that the difference is between configure not setting _XOPEN_SOURCE and/or _XOPEN_SOURCE_EXTENDED and it being set in pyconfig.h. At least those are both defined on 10.4. This page talks about needing to includ

[issue1252] IDLE - patch Delegator to support callables

2007-10-30 Thread Kurt B. Kaiser
Kurt B. Kaiser added the comment: Further response to your 27Oct: > That's it. There is more. The Delegator mixin exposes its delegate attribute. Without that, it would not be possible to pass e.g. insert() down the chain because (in the case of the Text percolator) insert() is found in each f

[issue1631171] implement warnings module in C

2007-10-30 Thread Neal Norwitz
Neal Norwitz added the comment: I think Brett summarized the issues well. I can't think of anything else that seems to need doing. _ Tracker <[EMAIL PROTECTED]> _ __

[issue1345] Fix for test_netrc on Windows

2007-10-30 Thread billiejoex
Changes by billiejoex: __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-b

[issue1364] os.lstat documentation error

2007-10-30 Thread billiejoex
New submission from billiejoex: os module documentation says about lstat(): > lstat( path) > > Like stat(), but do not follow symbolic links. > Availability: Macintosh, Unix. This is not true since os.lstat() is also available under Windows (tested under Win XP sp, Python 2.5). Moreover, w

[issue1363] python 2.4.4 fails on solaris (sun4u sparc SUNW, Sun-Fire-880)

2007-10-30 Thread Martin v. Löwis
Martin v. Löwis added the comment: What compiler did you use? Can you please attach the compressed config.log? -- nosy: +loewis __ Tracker <[EMAIL PROTECTED]> __ __

[issue1358] Compile error on OS X 10.5

2007-10-30 Thread Martin v. Löwis
Martin v. Löwis added the comment: There is an autoconf test that tries to compile | #include | int | main () | { | setpgrp(0,0); | ; | return 0; | } (with many additional defines - see config.log.gz). This file compiles with the error message conftest.c:185: error: too many arguments to

[issue1342] Crash on Windows if Python runs from a directory with umlauts

2007-10-30 Thread Christian Heimes
Christian Heimes added the comment: Hi Martin! Thomas Wouters said on #python that you have the Windows Fu to fix the problem. Parts of the Python API for file paths, sys.path and os.environ have to be reimplemented using the wide char API. -- nosy: +loewis

[issue1771260] Errors in site.py not reported properly

2007-10-30 Thread Guido van Rossum
Guido van Rossum added the comment: Fixed by Christian Heimes's patch, see issue 1352 and issue 1329. -- nosy: +gvanrossum resolution: -> fixed status: open -> closed _ Tracker <[EMAIL PROTECTED]> ___

[issue1352] Preliminary stderr patch

2007-10-30 Thread Christian Heimes
Christian Heimes added the comment: Guido van Rossum wrote: > I've checked in the patch you added to issue 1329, with one mod: where > you wrote "int fd : 1;" I removed the ": 1" since a field width of one > bit makes no sense here. Can you close http://bugs.python.org/issue1771260, too? Christ

[issue1336] subprocess.Popen hangs when child writes to stderr

2007-10-30 Thread Guido van Rossum
Guido van Rossum added the comment: In Python, you can't raise an exception from file_dealloc. (Note how it is a void function -- there's no way to return an error status.) Disabling gc however makes sense. I'll think about that. Since you seem to have the only reproducible occurrence of this bu

[issue1329] Different 3.0a1 exit behavior

2007-10-30 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks, I've closed issue 1352 too now. __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscr

[issue1352] Preliminary stderr patch

2007-10-30 Thread Guido van Rossum
Guido van Rossum added the comment: I've checked in the patch you added to issue 1329, with one mod: where you wrote "int fd : 1;" I removed the ": 1" since a field width of one bit makes no sense here. -- resolution: -> accepted status: open -> closed _

[issue1363] python 2.4.4 fails on solaris (sun4u sparc SUNW, Sun-Fire-880)

2007-10-30 Thread Paul
New submission from Paul: Trying to compile Plone (3.0.2) on a Sun V880 (SunOS genome 5.10 Generic_125100-05 sun4u sparc SUNW,Sun-Fire-880). Plone is a web application which runs on the Zope framework. What fails is the python (2.4.4) which is distributed with Zope. During the configure step of

[issue1363] python 2.4.4 fails on solaris (sun4u sparc SUNW, Sun-Fire-880)

2007-10-30 Thread Paul
Paul added the comment: Trying to compile Plone (3.0.2) on a Sun V880 (SunOS genome 5.10 Generic_125100-05 sun4u sparc SUNW,Sun-Fire-880). Plone is a web application which runs on the Zope framework. What fails is the python (2.4.4) which is distributed with Zope. During the configure step of t

[issue1349] more uses of ord() in plat-mac/ic.py

2007-10-30 Thread Bill Janssen
Bill Janssen added the comment: Fixed in r58717 -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bug

[issue1347] BaseHTTPServer writing strings to bytes interface

2007-10-30 Thread Bill Janssen
Bill Janssen added the comment: Fixed in rev 58718 -- keywords: +py3k resolution: accepted -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___

[issue1329] Different 3.0a1 exit behavior

2007-10-30 Thread Christian Heimes
Changes by Christian Heimes: Added file: http://bugs.python.org/file8667/py3k_preliminary_stderr3.patch __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bug

[issue1329] Different 3.0a1 exit behavior

2007-10-30 Thread Christian Heimes
Christian Heimes added the comment: Guido van Rossum wrote: > Guido van Rossum added the comment: > > OK, thanks. The closefd part is good, but the stderrprinter part has a > problem. On Linux, in a non-debug build, this has the odd side effect > of subtracting one from sys.maxunicode. In a d

[issue1362] Simple mistake in http://docs.python.org/tut/node6.html

2007-10-30 Thread Georg Brandl
Georg Brandl added the comment: No, the text is correct, but the example is misleading -- I now changed it to >>> fib(0) >>> print fib(0) None which should make the difference between using and not using print clearer. -- nosy: +georg.brandl __ Tracker

[issue829951] Fixes smtplib starttls HELO errors

2007-10-30 Thread Bill Fenner
Bill Fenner added the comment: I've attached an updated diff, against the 2.4.3 smtplib.py, which forgets all of the relevant pieces of information. The line numbers are offset from the standard lib because the original file has my patch for issue 1339 applied, but there is no overlap so this

[issue1336] subprocess.Popen hangs when child writes to stderr

2007-10-30 Thread Jonathan Amsterdam
Jonathan Amsterdam added the comment: It's an honor to hear from you, BDFL. I'm just a Python user, not a developer, so the time it would take me to check out, compile, test, etc. would dwarf the change itself (removing two lines from file_dealloc). There is another solution, following Java: fi

[issue1339] smtplib starttls() should ehlo() if it needs to

2007-10-30 Thread Bill Fenner
Bill Fenner added the comment: I've attached a patch against 2.4.3. The patch does the following: - Factor out the duplication of EHLO/HELO in login() and sendmail() to a new function, ehlo_or_helo_if_needed(). - Use ehlo_or_helo_if_needed() in starttls() - Check for the starttls exception in s

[issue1329] Different 3.0a1 exit behavior

2007-10-30 Thread Guido van Rossum
Guido van Rossum added the comment: I've checked the closefd patch (which minor changes) into the py3k branch. Committed revision 58711. Please take the stdprinter patch to the original issue (bug 1352). -- resolution: -> accepted status: open -> closed __

[issue1329] Different 3.0a1 exit behavior

2007-10-30 Thread Guido van Rossum
Guido van Rossum added the comment: OK, thanks. The closefd part is good, but the stderrprinter part has a problem. On Linux, in a non-debug build, this has the odd side effect of subtracting one from sys.maxunicode. In a debug build, it dies like this: $ ./python -S python: Modules/gcmodule

[issue1358] Compile error on OS X 10.5

2007-10-30 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks for testing on Leopard! I haven't gotten that yet. Assigning to Neal since this ought to be fixed before 2.5.2 is released. (But someone needs to come up with a proper patch.) -- assignee: -> nnorwitz nosy: +gvanrossum, nnorwitz priority: -

[issue1362] Simple mistake in http://docs.python.org/tut/node6.html

2007-10-30 Thread Dan M
Dan M added the comment: Yes, it is normally suppressed. The problem is the condition when it is suppressed. The documentation states that it's suppressed when it's the only value to be written. It is suppressed when it's *not* the only value to be written. -or- (removing the double negative

[issue1345] Fix for test_netrc on Windows

2007-10-30 Thread Christian Heimes
Christian Heimes added the comment: Guido van Rossum wrote: > Are you sure this is the proper fix? Why does netrc.py insist on not > having \r\n line endings? It opens the file in text mode so I don't > quite understand your patch. I don't quite understand why it fails. :/ I've to take more tim

[issue1322] platform.dist() has unpredictable result under Linux

2007-10-30 Thread Christian Heimes
Changes by Christian Heimes: -- components: +Library (Lib), Tests versions: +Python 2.6 -Python 2.5 Added file: http://bugs.python.org/file8664/platform_py25.patch __ Tracker <[EMAIL PROTECTED]> _

[issue1322] platform.dist() has unpredictable result under Linux

2007-10-30 Thread Christian Heimes
Christian Heimes added the comment: Yann Cointepas wrote: > I joined a modified version of platform.py. Here is a summary of the > modification: > - replaced '/etc' by global variable _etc_dir > - removed supported_dists parameter of dist() > - each element of dist() result is searched in the fol