[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python

2011-06-30 Thread R. David Murray
R. David Murray added the comment: If I ssh in to a machine, python should not *crash* if I run gui stuff. The test suite might generate errors rather than skips (although I would argue that it should generate skips), but it should not crash. On the other hand I agree that fixing the buildbo

[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python

2011-06-30 Thread Ned Deily
Changes by Ned Deily : -- assignee: -> ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue12456] Hangs in concurrent.futures

2011-06-30 Thread Ross Lagerwall
New submission from Ross Lagerwall : 6d6099f7fe89 introduced a regression. It causes the following code to hang fairly reliably for me: """ import concurrent.futures import math def is_prime(n): print(sqt(81)) < Note the type error! def main(): with concurrent.futures.ProcessPoolE

[issue12457] type() returns incorrect type for nested classes

2011-06-30 Thread Peter Williams
New submission from Peter Williams : The built in type() function returns incorrect type names for nested classes which in turn causes pickle to crash when used with nested classes as it cannot find the nested class definitions from the using the string returned by type(). e.g. if I have an in

[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python

2011-06-30 Thread Ned Deily
Ned Deily added the comment: Hold off on the buildbot changes for the moment. I have an idea for a possible workaround/solution. -- ___ Python tracker ___ _

[issue12458] Tracebacks should contain the first line of continuation lines

2011-06-30 Thread Petr Splichal
New submission from Petr Splichal : Currently, python tracebacks shows the last of continuation lines when a function spans across multiple lines. This line usually contains some function parameter only and thus is not very useful for debugging the problem. For example: Traceback (most rece

[issue12456] Hangs in concurrent.futures

2011-06-30 Thread Ross Lagerwall
Ross Lagerwall added the comment: Further analysis seems to indicate that it is a race between the shutdown code and the processes finishing. This code hangs: """ executor = concurrent.futures.ProcessPoolExecutor(2) executor.map(is_prime, [1, 2]) executor.shutdown() """ while this doesn't: ""

[issue12455] urllib2 forces title() on header names, breaking some requests

2011-06-30 Thread Senthil Kumaran
Senthil Kumaran added the comment: AFAIR, that capitalize part is somewhere a requirement in RFC, if the server did not behave in proper manner, it may not be a good idea for the client to change (or be permissive the flag). -- nosy: +orsenthil ___

[issue12455] urllib2 forces title() on header names, breaking some requests

2011-06-30 Thread Senthil Kumaran
Senthil Kumaran added the comment: Sorry, not "Capitalize", but the "Title" part. One can some bugs which lead to this change in the urllib2. -- ___ Python tracker ___

[issue12459] time.sleep(-1.0) behaviour

2011-06-30 Thread Ulrich Eckhardt
New submission from Ulrich Eckhardt : For reference, see the thread on the users' mailinglist/newsgroup from 2011-06-29 "how to call a function for evry 10 seconds" and the thread on the developers' mailinglist from 2011-06-30 "time.sleep(-1) behaviour". The problem is how negative arguments t

<    1   2