[issue20068] collections.Counter documentation leaves out interesting usecase

2013-12-25 Thread Julian Gindi
New submission from Julian Gindi: I think the documentation for collections.Counter can be updated slightly to include an example showing the initialization of a counter object from a list. For example, it explains how to manually iterate through a list and increment the values... for word in

[issue20063] Docs imply that set does not support .pop() method

2013-12-25 Thread R. David Murray
R. David Murray added the comment: Thanks, Gennandiy. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> behavior ___ Python tracker ___

[issue20063] Docs imply that set does not support .pop() method

2013-12-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3598805d7636 by R David Murray in branch '2.7': #20063: Remove inaccurate/confusing statement about support of 'pop' method. http://hg.python.org/cpython/rev/3598805d7636 -- nosy: +python-dev ___ Python t

[issue20046] Optimize locale aliases table

2013-12-25 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: I thought some more about this approach. I'm +1 on it. The locale lookup is not time critical, so the table optimization makes sense. Nice idea, Serhiy ! On 22.12.2013 00:38, Serhiy Storchaka wrote: > > Serhiy Storchaka added the comment: > >> * the patch

[issue18566] In unittest.TestCase docs for setUp() and tearDown() don't mention AssertionError

2013-12-25 Thread py.user
py.user added the comment: I have built 3.4.0a4 and run - same thing -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue18566] In unittest.TestCase docs for setUp() and tearDown() don't mention AssertionError

2013-12-25 Thread Julian Gindi
Julian Gindi added the comment: Sorry. I meant, merged. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue18566] In unittest.TestCase docs for setUp() and tearDown() don't mention AssertionError

2013-12-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Resolved in what way? The doc seems unchanged. -- ___ Python tracker ___ ___ Python-bugs-list mailin

[issue18566] In unittest.TestCase docs for setUp() and tearDown() don't mention AssertionError

2013-12-25 Thread Julian Gindi
Julian Gindi added the comment: Looks like this issue has been resolved. Can we close it? -- ___ Python tracker ___ ___ Python-bugs-li

[issue19761] test_tk fails on OS X with multiple test case failures with both Tk 8.5 and 8.4

2013-12-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20065] Python-3.3.3/Modules/socketmodule.c:1660:14: error: 'CAN_RAW' undeclared (first use in this function)

2013-12-25 Thread Igor Franchuk
Changes by Igor Franchuk : -- type: -> compile error ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue19320] Tkinter tests ran with wantobjects is false

2013-12-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I don't know why wantobjects is false on some buildbots, but at least now they should be green. -- resolution: -> fixed stage: patch review -> committed/rejected ___ Python tracker

[issue20067] Tkinter variables no works with wantobject is false

2013-12-25 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Tkinter variables test fails when wantobjects is false: == ERROR: test_default (__main__.TestVariable) -- Traceback (most

[issue19320] Tkinter tests ran with wantobjects is false

2013-12-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6fe3e855a276 by Serhiy Storchaka in branch '2.7': Issue #19320: test_tcl no longer fails when wantobjects is false. http://hg.python.org/cpython/rev/6fe3e855a276 New changeset 6781a03d90c1 by Serhiy Storchaka in branch '3.3': Issue #19320: test_tcl

[issue19020] Regression: Windows-tkinter-idle, unicode, and 0xxx filename

2013-12-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> commit review versions: +Python 2.7 ___ Python tracker ___ _

[issue19020] Regression: Windows-tkinter-idle, unicode, and 0xxx filename

2013-12-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset ff70c298dd60 by Serhiy Storchaka in branch '2.7': Issue #19020: Tkinter now uses splitlist() instead of split() in configure http://hg.python.org/cpython/rev/ff70c298dd60 New changeset a8f5f8c44dc8 by Serhiy Storchaka in branch '3.3': Issue #19020:

[issue20066] PyStructSequence_NewType() not setting proper heap allocation flag?

2013-12-25 Thread Wolf Ihlenfeldt
New submission from Wolf Ihlenfeldt: If I am not mistaken, I think that PyStructSequence_NewType() should set the Py_TPFLAGS_HEAPTYPE flag in tp->flags (which it currently does not). The original version initially works fine, but ultimately crashes at exit time in finalization with Fatal Pyth

[issue20058] IDLE's shell returns a multiple-line string to input() or readline() when multiple lines of text are pasted by the user

2013-12-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Fixed. Thank you Steven for your report. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue20058] IDLE's shell returns a multiple-line string to input() or readline() when multiple lines of text are pasted by the user

2013-12-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2a4c083f8f6b by Serhiy Storchaka in branch 'default': Issue #20058: sys.stdin.readline() in IDLE now always returns only one line. http://hg.python.org/cpython/rev/2a4c083f8f6b -- ___ Python tracker

[issue20058] IDLE's shell returns a multiple-line string to input() or readline() when multiple lines of text are pasted by the user

2013-12-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 526dcd51e425 by Serhiy Storchaka in branch '2.7': Issue #20058: sys.stdin.readline() in IDLE now always returns only one line. http://hg.python.org/cpython/rev/526dcd51e425 New changeset 8f75d8ddc95b by Serhiy Storchaka in branch '3.3': Issue #20058

[issue20058] IDLE's shell returns a multiple-line string to input() or readline() when multiple lines of text are pasted by the user

2013-12-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20065] Python-3.3.3/Modules/socketmodule.c:1660:14: error: 'CAN_RAW' undeclared (first use in this function)

2013-12-25 Thread Igor Franchuk
New submission from Igor Franchuk: Missing CAN_RAW check in Python 3.3.3 Python 3.3.3 assumes that if AF_CAN is defined then CAN_RAW is defined as well. It won't assemble with old kernels. Either an additional check for CAN_RAW should be applied in the configuration script or Python 3.3.3 de