[issue10233] fix test_tarfile ResourceWarnings

2010-10-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thanks for the review. I've committed a modified patch in r85955. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue6105] json.dumps doesn't respect OrderedDict's iteration order

2010-10-29 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- priority: normal -> high ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue9702] Python violates most users expectations via the modification differences of immutable and mutable objects in methods

2010-10-29 Thread Rafe Kettler
Changes by Rafe Kettler : -- nosy: +rafe.kettler ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-10-29 Thread Jacques Grove
Jacques Grove added the comment: Here's another inconsistency (same setup as before, running issue2636-20101029.zip code): $ cat test.py import re, regex text = "\n S" regexp = '[^a]{2}[A-Z]' print re.findall(regexp, text) print regex.findall(regexp, text) $ pyth

[issue10232] Tkinter issues with Scrollbar and custom widget list

2010-10-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: I ran testcase.py with stock 3.1.2 on winxp (under IDLE). Changes needed (one place each) were Tkinter -> tkinter print x -> print(x) <> -> !=# <> is long since deprecated! I get 3 line box windowing 10 lines. If I enlarge window, there are still only

[issue7911] unittest.TestCase.longMessage should default to True in Python 3.2

2010-10-29 Thread Michael Foord
Michael Foord added the comment: I intend to. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue10239] multiprocessing signal defect

2010-10-29 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +asksol ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue10240] dict.update.__doc__ is misleading

2010-10-29 Thread ivank
New submission from ivank : It would be nice if dict.update.__doc__ conveyed some of the subtleties of the update algorithm. See the patch. I changed __doc__ to mention the fast path for dicts, and changed one instance of E: -> E.keys(): -- components: Interpreter Core files: dict.up

[issue10060] python.exe crashes or hangs on help() modules when bad modules found

2010-10-29 Thread Dev Player
Dev Player added the comment: Another thing I've noticed that makes the issue more complicated (or perhaps less complicated depending on your view). When running the python.exe at the DOS prompt (in a window on WinXP), then issuing the help() then modules commands, python.exe seems to hang at

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-10-29 Thread Matthew Barnett
Matthew Barnett added the comment: issue2636-20101030.zip is a new version of the regex module. I've also added yet more to the unit tests. -- Added file: http://bugs.python.org/file19422/issue2636-20101030.zip ___ Python tracker

[issue10241] gc fixes for module m_copy attribute

2010-10-29 Thread Neil Schemenauer
New submission from Neil Schemenauer : I'm trying implement some saner module shutdown procedure (similar to issue 812369). One of the many problems I've run into is that the GC doesn't know about the m_copy attribute of modules. I think the attached patch is correct. tp_tranverse exposes m

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-10-29 Thread Jacques Grove
Jacques Grove added the comment: And another (with issue2636-20101030.zip): $ cat test.py import re, regex text = "XYABCYPPQ\nQ DEF" regexp = 'X(Y[^Y]+?){1,2}(\ |Q)+DEF' print re.findall(regexp, text) print regex.findall(regexp, text) $ python test.py [('YPPQ\n', ' ')] [] -- __

[issue10237] failure in Barrier tests

2010-10-29 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: This is a timeout issue, probably encountered on a slow machine. Checked in revision 85964 increasing the default timeout to cater to slower machines. However, I also see that the timeout mechanism used by barrier isn't very robust. I'll submit a pat

[issue10242] unittest's assertItemsEqual() method makes too many assumptions about its input

2010-10-29 Thread Raymond Hettinger
New submission from Raymond Hettinger : class T(unittest.TestCase): def test_items_equal(self): # this test fails, but should succeed a = [{2,4}, {1,2}] b = a[::-1] self.assertItemsEqual(a, b) This method has a fast-path using sorted() and a slow-path that doe

[issue10240] dict.update.__doc__ is misleading

2010-10-29 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'm not sure that we should mention the fast path for dicts. That is an implementation detail and may not be present in IronPython, PyPy, Jython, etc. The current version includes: D.updated(E, **F) --> None. Updated D for dict/iterable E and F. ISTM

[issue10240] dict.update.__doc__ is misleading

2010-10-29 Thread ivank
ivank added the comment: CPython's dict(obj) ignores `keys` and `__iter__` if obj is a subclass of dict. I thought this was an important language detail, not just an implementation quirk. But, I just tested pypy 1.3, and it is calling .keys() on dicts. Oh well. I think the __doc__ can sti

[issue10243] Packaged Pythons

2010-10-29 Thread Max Skaller
New submission from Max Skaller : Not sure if this is a bug or not. I am unable to find libpython.so for Python3 on either my Mac or Ubuntu. Perhaps this is a packaging fault, however some documentation in the Wiki suggests otherwise. It appears the builders have reverted to an archaic linkage

<    1   2