[issue7106] Python crashed in the middle of an argument between wx and boa_constructor

2009-10-11 Thread Bruce vanNorman
Bruce vanNorman added the comment: Roger that, and thanks. I've just started learning Python this summer. Before I retired I spent 20 years supporting & maintaining a rather specialized programming language that was a component of something called EIS (Boeing - Estimating Information System).

[issue7058] Add some test execution environment protection to regrtest

2009-10-11 Thread R. David Murray
Changes by R. David Murray : Removed file: http://bugs.python.org/file15105/refactored_environment_checking.patch ___ Python tracker ___ ___ P

[issue7058] Add some test execution environment protection to regrtest

2009-10-11 Thread R. David Murray
R. David Murray added the comment: Here is a finished version of the refactoring patch. It introduces a new category in the list of test statuses at in the summary to list the tests that have changed the execution environment. This patch makes it easy to add additional things to check and rest

[issue6941] Socket error when launching IDLE

2009-10-11 Thread Bonnie Douglas
Bonnie Douglas added the comment: I too seem to have experienced this same problem. I am running Windows Vista. After choosing to shut down my computer and restart without cleanly shutting down IDLE I got a "socket error" - socket error:connection refused when I next tried to launch IDLE. Aft

[issue3326] py3k shouldn't use -fno-strict-aliasing anymore

2009-10-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: I propose that we remove -fno-strict-aliasing for gcc >= 4.3. -- nosy: +benjamin.peterson ___ Python tracker ___

[issue7107] Missing uninstallation instructions for mac

2009-10-11 Thread Ned Deily
Ned Deily added the comment: As far as I know, there is no documented way to totally install a python.org OS X installation and the OS X installer does not provide a general way to uninstall a package. So it would be nice for the Python installer to provide some sort of uninstall script. In

[issue7108] test_commands.py failing on OS X 10.5.7 due to '@' in ls output

2009-10-11 Thread Meador Inge
New submission from Meador Inge : I am testing this out of the trunk on OS X 10.5.7: uclid:trunk minge$ uname -a Darwin euclid.local 9.7.0 Darwin Kernel Version 9.7.0: Tue Mar 31 22:52:17 PDT 2009; root:xnu-1228.12.14~1/RELEASE_I386 i386 euclid:trunk minge$ ./python.exe Lib/test/test_commands.py

[issue7058] Add some test execution environment protection to regrtest

2009-10-11 Thread R. David Murray
R. David Murray added the comment: I've refactored the code and added more checks (cwd, all three stdio attributes). Patch attached. I'm not done with this because I want to make the reporting more visible. -- Added file: http://bugs.python.org/file15105/refactored_environment_checki

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2009-10-11 Thread Kevin Walzer
Kevin Walzer added the comment: Re: msg 93821, the comment about redundant entries being appended to a menu when an EditorWindow is destroyed: I've reproduced this behavior in Tk-Cocoa itself, and have concluded it's not an issue with IDLE (or my patches). I've filed bug https://sourceforge.

[issue7103] Error in config parser example (w/ Patch)

2009-10-11 Thread R. David Murray
R. David Murray added the comment: Yes, no blame attaches to you, and thanks for the report. (_I_ had trouble finding the issue and I remembered that it existed.) -- ___ Python tracker

[issue7103] Error in config parser example (w/ Patch)

2009-10-11 Thread Thomas Courbon
Thomas Courbon added the comment: Due to its quite generic title I was unable to find this issue. Sorry for the duplicate. Thomas -- ___ Python tracker ___ _

[issue7106] Python crashed in the middle of an argument between wx and boa_constructor

2009-10-11 Thread Brett Cannon
Brett Cannon added the comment: It's a Boa Constructor bug. And technically Python didn't crash, it threw an exception and that triggered Boa Constructor exit with a non-zero status. -- nosy: +brett.cannon resolution: -> invalid status: open -> closed ___

[issue7084] printing a list releases the GIL carelessly

2009-10-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thank you! The patch has been committed in trunk in r75367. I am waiting for the 2.6 branch to unfreeze before backporting it. -- assignee: -> pitrou resolution: -> accepted stage: needs patch -> committed/rejected status: open -> pending versions: -

[issue7102] Problems building pyhton from source on Snow Leopard (Mac OS X 10.6)

2009-10-11 Thread Fredrik Hedman
Fredrik Hedman added the comment: Hi Ronald, I checked out release31-maint from the python svn. It compiles fine and passes all the tests. So if I understand you correctly, these corrections need to be moved into 3.1.1 and that is also tru for the 32/64-bit compilation issues. Cheers, /Fr

[issue7107] Missing uninstallation instructions for mac

2009-10-11 Thread Grzegorz Adam Hankiewicz
New submission from Grzegorz Adam Hankiewicz : I've installed the official 2.6.3 dmg file of python and now want to uninstall it to revert to the python version included by default by the OS. I would do so if I knew what I have to remove or change. -- components: Installation messages:

[issue7106] Python crashed in the middle of an argument between wx and boa_constructor

2009-10-11 Thread Bruce vanNorman
New submission from Bruce vanNorman : I don't know where this problem truly belongs, but Python did crash. - I was trying to save my boa project when the event occurred. - The software & versions are correctly identified in the "bugreport" -- components: Extension Modules files: python-b

[issue7103] Error in config parser example (w/ Patch)

2009-10-11 Thread R. David Murray
R. David Murray added the comment: This is a duplicate of issue 6969, where it has been fixed. -- nosy: +r.david.murray resolution: -> out of date stage: -> committed/rejected status: open -> closed superseder: -> configparser type: -> behavior _

[issue7104] test_descr uses __cmp__ which will never be called

2009-10-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: Thanks for nitpicking! Fixed in r75362. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue5377] Strange behavior when performing int on a Decimal made from -sys.maxint-1

2009-10-11 Thread Carl Friedrich Bolz
Carl Friedrich Bolz added the comment: [...] > Would the bool/int distinction matter to PyPy? No, it's really mostly about longs and ints, because RPython does not have automatic overflowing of ints to longs (the goal is really to translate ints them to C longs with normal C overflow behaviou

[issue7085] strptime problem

2009-10-11 Thread Ronald Oussoren
Ronald Oussoren added the comment: The crash happens whenever you import code on a secondairy thread. I consider this a platform bug in the implementation of dlopen, because the crash also occurs with this variant on test(): def test(): print "DL" p = os.path.join(os.path.dirname(time

[issue5377] Strange behavior when performing int on a Decimal made from -sys.maxint-1

2009-10-11 Thread Mark Dickinson
Mark Dickinson added the comment: Carl, thanks for that. I was just thinking about abandoning this issue as not worth fixing. I need to look at Victor's patch again, but I recall that there were still some issues: e.g., if the __int__ method of some class returns a bool, that still ends up

[issue5377] Strange behavior when performing int on a Decimal made from -sys.maxint-1

2009-10-11 Thread Carl Friedrich Bolz
Carl Friedrich Bolz added the comment: PyPy is a bit of a special case, because it cares about the distinction of int and long in the translation toolchain. Nevertheless, this behavior has been annoying to us. -- nosy: +cfbolz ___ Python tracker

[issue7105] weak dict iterators are fragile because of unpredictable GC runs

2009-10-11 Thread Guido van Rossum
Guido van Rossum added the comment: > delay all removals until all iterators are done +1 -- nosy: +gvanrossum ___ Python tracker ___

[issue4064] distutils.util.get_platform() is wrong for universal builds on macosx

2009-10-11 Thread Ned Deily
Changes by Ned Deily : -- nosy: -ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue4064] distutils.util.get_platform() is wrong for universal builds on macosx

2009-10-11 Thread Ned Deily
Ned Deily added the comment: 10.3 is a red herring, that is the deployment target and is as expected. If you install the current proper versions of Xcode for your 10.4 or later systems, things will work as designed. Again, this is not the proper forum to discuss build problems. If you still

[issue7105] weak dict iterators are fragile because of unpredictable GC runs

2009-10-11 Thread Jon Parise
Changes by Jon Parise : -- nosy: +jon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mai

[issue7060] test_multiprocessing dictionary changed size errors and hang

2009-10-11 Thread Jon Parise
Changes by Jon Parise : -- nosy: +jon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mai

[issue7060] test_multiprocessing dictionary changed size errors and hang

2009-10-11 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- dependencies: +weak dict iterators are fragile because of unpredictable GC runs ___ Python tracker ___ _

[issue7105] weak dict iterators are fragile because of unpredictable GC runs

2009-10-11 Thread Antoine Pitrou
New submission from Antoine Pitrou : As mentioned in issue7060, weak dict iterators are easily broken by cyclic garbage collection changing the size of the underlying dict storage: File "/home/rdmurray/python/py3k/Lib/weakref.py", line 121, in items for wr in self.data.values(): RuntimeErr

[issue7104] test_descr uses __cmp__ which will never be called

2009-10-11 Thread Daniel Stutzbach
New submission from Daniel Stutzbach : The following is from Lib/test/test_descr.py. It's trying to test if looking up a special method on an object leaks references. It tests it by using __cmp__. The test will always pass because Python 3 is trying to look up __eq__, not __cmp__. Hence, __cm

[issue7103] Error in config parser example (w/ Patch)

2009-10-11 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: georg.brandl -> ezio.melotti nosy: +ezio.melotti priority: -> low ___ Python tracker ___ ___ Py

[issue1729305] test_doctest fails when run in verbose mode

2009-10-11 Thread Ezio Melotti
Ezio Melotti added the comment: This test still fail on Win7 with Py2.6.3rc1 in verbose mode, it works fine in normal mode. I attached a file with the traceback. -- nosy: +ezio.melotti versions: +Python 2.6 -Python 2.5 Added file: http://bugs.python.org/file15102/doctestfail.txt __

[issue2100] unit test UnicodeWarning

2009-10-11 Thread Ezio Melotti
Ezio Melotti added the comment: That try/except no longer exists on trunk. This issue can probably be closed. -- status: open -> pending ___ Python tracker ___ __

[issue6896] Intermittent failures in test_mailbox

2009-10-11 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +akuchling ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2009-10-11 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue6027] test_xmlrpc_net fails when the ISP returns "302 Found"

2009-10-11 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +krisvale, loewis priority: -> low ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue7060] test_multiprocessing dictionary changed size errors and hang

2009-10-11 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: I didn't realize that the traceback was attached to the exception object in py3k. This makes the use of such objects more dangerous because of the circular references. The recommended practice of exc_type, exc_obj = sys.exc_info()[:2] is precisely t

[issue7103] Error in config parser example (w/ Patch)

2009-10-11 Thread Thomas Courbon
Changes by Thomas Courbon : -- keywords: +patch Added file: http://bugs.python.org/file15101/configparser_example_issue_7103.patch ___ Python tracker ___

[issue7103] Error in config parser example (w/ Patch)

2009-10-11 Thread Thomas Courbon
New submission from Thomas Courbon : When ran in python 3.1.1 (hand compiled, fedora 11), the first example of configparser module fail with : Traceback (most recent call last): File "test1.py", line 22, in config.write(configfile) File "/usr/local/lib/python3.1/configparser.py", line 39

[issue7060] test_multiprocessing dictionary changed size errors and hang

2009-10-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: I disagree about reverting it. We have this bug report, and that change is sitting on the merge queue again... -- ___ Python tracker ___

[issue7060] test_multiprocessing dictionary changed size errors and hang

2009-10-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: > The unittest only keeps an exception _object_ around, not the associated > traceback. In py3k, the traceback is attached to the exception (on the __traceback__ attribute) ;) -- ___ Python tracker

[issue7060] test_multiprocessing dictionary changed size errors and hang

2009-10-11 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: The unittest only keeps an exception _object_ around, not the associated traceback. There should be no frames and thus reference cycles associated with this. I agree that the problem should be tackled, rather than swept under the carpet like a revert

[issue7060] test_multiprocessing dictionary changed size errors and hang

2009-10-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: It was a bad idea to revert the change, because we may now forget about the problem rather than fix it. It is likely that the "dictionary changed size during iteration" occurs because a GC collection gets triggered during the iteration on the weakdict. A GC col

[issue7100] test_xmlrpc: global name 'stop_serving' is not defined

2009-10-11 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: I can't repro on my windows box. >From what I can see, for some reason the server thread isn't terminating, so we enter an errorhandling codepath that is broken. The slew of errors that follow occur when the process is exiting and the worker threads ha

[issue7102] Problems building pyhton from source on Snow Leopard (Mac OS X 10.6)

2009-10-11 Thread Ronald Oussoren
Ronald Oussoren added the comment: Fredrik: OSX 10.6 was released after Python 3.1.1. I know that we had to apply a number of patches to the 2.6 branch to get that to compile properly on 10.6, and those should have been forward ported to the 3.1 branch. Could you please do a checkout of the

[issue7102] Problems building pyhton from source on Snow Leopard (Mac OS X 10.6)

2009-10-11 Thread Fredrik Hedman
New submission from Fredrik Hedman : -*- mode: outline -*- * Problems building pyhton from source on Snow Leopard (Mac OS X 10.6) 1 error and 39 warnings and a quick fix. ** Building python from source with --enable-framework I have a fresh install of Snow Leopard and the accompanying Xcode 3.

[issue4064] distutils.util.get_platform() is wrong for universal builds on macosx

2009-10-11 Thread Ronald Oussoren
Changes by Ronald Oussoren : -- nosy: -ronaldoussoren ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma