[issue20538] Segfault in UTF-7 incremental decoder

2014-02-08 Thread Larry Hastings
Larry Hastings added the comment: And to be clear: I'm currently waiting on this before tagging 3.4rc1. If someone who understands the issue could fix this soon, I would appreciate it. -- ___ Python tracker _

[issue20538] Segfault in UTF-7 incremental decoder

2014-02-08 Thread Larry Hastings
Changes by Larry Hastings : -- resolution: fixed -> stage: committed/rejected -> needs patch status: closed -> open ___ Python tracker ___ __

[issue20538] Segfault in UTF-7 incremental decoder

2014-02-08 Thread Larry Hastings
Larry Hastings added the comment: This checkin appears to be causing a regression in the Windows buildbots. http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.x/builds/4040 test_streamreaderwriter (test.test_codecs.WithStmtTest) ... test test_codecs failed ok ===

[issue20530] Change the text signature format (again) to be more robust

2014-02-08 Thread Larry Hastings
Larry Hastings added the comment: I made a couple final tweaks to what was essentially Nick's patch: * Argument Clinic wraps parameters in the signature at 72 columns instead of 79 columns. There are a couple extra characters that get emitted, so this ensures that the generated lines are ne

[issue20530] Change the text signature format (again) to be more robust

2014-02-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 29d9638bf449 by Larry Hastings in branch 'default': Issue #20530: Argument Clinic's signature format has been revised again. http://hg.python.org/cpython/rev/29d9638bf449 -- nosy: +python-dev ___ Python t

[issue20570] Bundle pip 1.5.3 in Python 3.4rc2

2014-02-08 Thread Nick Coghlan
Nick Coghlan added the comment: Oops - 0.15.3 was the version of Beaker we just released, so my brain keeps confusing the two numbers :) -- title: Bundle pip 0.15.3 in Python 3.4rc2 -> Bundle pip 1.5.3 in Python 3.4rc2 ___ Python tracker

[issue20570] Bundle pip 0.15.3 in Python 3.4rc2

2014-02-08 Thread Donald Stufft
Donald Stufft added the comment: Just t be clear, it's 1.5.3 not 0.15.3. -- ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue20570] Bundle pip 0.15.3 in Python 3.4rc2

2014-02-08 Thread Nick Coghlan
Nick Coghlan added the comment: Donald also pointed out that we want the fix to make pip complain if it is passed a wheel 2.0+ file (it's currently missing the version number warnings/errors that are called for in PEP 427). That isn't merged yet upstream, but will be part of 0.15.3. I interpr

[issue20568] Pass --default-install to ensurepip in the Windows installers?

2014-02-08 Thread Nick Coghlan
Changes by Nick Coghlan : -- nosy: +Marcus.Smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue20530] Change the text signature format (again) to be more robust

2014-02-08 Thread Larry Hastings
Larry Hastings added the comment: Nick: I made the same fix on the plane, except I also added an assert that end - start >= 2. ;-) I'm going to go through everyone's feedback, and if there are any significant changes I'll post a new patch, otherwise I think this patch is basically ready. ---

[issue20570] Bundle pip 0.15.3 in Python 3.4rc2

2014-02-08 Thread Nick Coghlan
Changes by Nick Coghlan : -- nosy: +Marcus.Smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue20053] venv and ensurepip are affected by default pip config file

2014-02-08 Thread Nick Coghlan
Nick Coghlan added the comment: I created issue 20570 to propose updating to pip 1.5.3 for 3.4rc2. That would include the pip side workaround for this issue, also allowing this issue to be closed. -- dependencies: +Bundle pip 0.15.3 in Python 3.4rc2 nosy: +larry priority: normal -> def

[issue20570] Bundle pip 0.15.3 in Python 3.4rc2

2014-02-08 Thread Nick Coghlan
New submission from Nick Coghlan: Larry, we currently have 0.15.2 bundled for 3.4rc1. This is the latest release of pip: http://www.pip-installer.org/en/latest/news.html#changelog However, there are a few additional fixes that have been merged to the pip 1.5.X maintenance branch that could be

[issue20530] Change the text signature format (again) to be more robust

2014-02-08 Thread Nick Coghlan
Nick Coghlan added the comment: Updated patch fixes an assertion failure in typeobject.c (end doesn't point at the ")", it points at the newline immediately after it). -- Added file: http://bugs.python.org/file34003/issue20530_fixed_assertion.diff __

[issue20566] asyncio as_completed() thrashes adding and removing callbacks

2014-02-08 Thread Guido van Rossum
Guido van Rossum added the comment: OK, code is ready for review at http://code.google.com/p/tulip/source/detail?r=674355412f33 -- ___ Python tracker ___ ___

[issue20569] IDLE : Add clipboard history feature

2014-02-08 Thread Saimadhav Heblikar
New submission from Saimadhav Heblikar: Hi, this patch adds clipboard history feature to idle.with this,we can retrieve any cut/copied text after the start of idle. it uses a list to store the messages called _clipboard_history it creates a dialog window to present a listbox and a paste button t

[issue20500] assertion failed when passing an exception object to sys.exit

2014-02-08 Thread Nick Coghlan
Nick Coghlan added the comment: Above commits added notes for the other two currently documented public APIs directly affected by the change (PyEval_CallObjectWithKeywords isn't currently documented, despite the public name), and also updated the porting note to clarify that these operations m

[issue20500] assertion failed when passing an exception object to sys.exit

2014-02-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9e7594d65178 by Nick Coghlan in branch 'default': Issue #20500: clarify that invocation may be indirect http://hg.python.org/cpython/rev/9e7594d65178 -- ___ Python tracker

[issue20500] assertion failed when passing an exception object to sys.exit

2014-02-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 41023a501c7b by Nick Coghlan in branch 'default': Issue #20500: Note other public APIs with the new assertion http://hg.python.org/cpython/rev/41023a501c7b -- ___ Python tracker

[issue20500] assertion failed when passing an exception object to sys.exit

2014-02-08 Thread STINNER Victor
STINNER Victor added the comment: "I also added a versionchanged to PyObject_Str and a note in the Porting section of What's New, as third party extensions could also be affected by this change - it elevates "may silently discard an active exception" to "debug build assertion failure"." Hi, I

[issue20566] asyncio as_completed() thrashes adding and removing callbacks

2014-02-08 Thread Guido van Rossum
Guido van Rossum added the comment: I'm looking into a solution for this. The idea is pretty straightforward: http://codereview.appspot.com/61210043. This needs more code to support the optional timeout feature, and it now returns Futures instead of coroutines (which I think is fine). But to

[issue20500] assertion failed when passing an exception object to sys.exit

2014-02-08 Thread Nick Coghlan
Nick Coghlan added the comment: I also added a versionchanged to PyObject_Str and a note in the Porting section of What's New, as third party extensions could also be affected by this change - it elevates "may silently discard an active exception" to "debug build assertion failure". -

[issue20500] assertion failed when passing an exception object to sys.exit

2014-02-08 Thread Nick Coghlan
Nick Coghlan added the comment: Thanks for the report Xavier - 3.4 is a bit fussier about not losing that exception state silently, so the shutdown code simply needed to clear it explicitly after saving it on the local stack. -- ___ Python tracker

[issue20500] assertion failed when passing an exception object to sys.exit

2014-02-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset e7708864a8d5 by Nick Coghlan in branch 'default': Close #20500: Don't trigger PyObject_Str assertion at shutdown http://hg.python.org/cpython/rev/e7708864a8d5 -- nosy: +python-dev resolution: -> fixed stage: needs patch -> committed/rejecte

[issue20500] assertion failed when passing an exception object to sys.exit

2014-02-08 Thread Nick Coghlan
Changes by Nick Coghlan : -- assignee: -> ncoghlan nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue20568] Pass --default-install to ensurepip in the Windows installers?

2014-02-08 Thread Nick Coghlan
New submission from Nick Coghlan: Installing 3.4b3 on Windows to test issue 20053, I was surprised to find that after installation, "pip install " didn't work. I had forgotten that due to the flat executable namespace on POSIX systems, we only install pip3 and pip3.4 by default - you have to p

[issue20567] test_ttk_guionly gets 'can't invoke "event" command: application has been destroyed' messages from Tk

2014-02-08 Thread Ned Deily
New submission from Ned Deily: Seen with default (3.4.0) framework builds on OS X 10.9 with ActiveTcl 8.5.15.0: ./configure --enable-universalsdk=/ --with-universal-archs=intel --enable-framework=/tmp/t/Library/Frameworks make && make install cd /tmp/t /tmp/t/bin/python3.4 -m test -w -uall [...

[issue20563] Mark ipaddress as stable?

2014-02-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2b9c10f3b969 by Nick Coghlan in branch 'default': Close #20563: Declare ipaddress API stable http://hg.python.org/cpython/rev/2b9c10f3b969 -- nosy: +python-dev resolution: -> fixed stage: commit review -> committed/rejected status: open ->

[issue20499] Rounding errors with statistics.variance

2014-02-08 Thread Wolfgang Maier
Wolfgang Maier added the comment: oops, > if exp in _ExactRatio.decimal_infinite: # INF, NAN, sNAN should read if exp in ('F', 'n', 'N'): # INF, NAN, sNAN of course. What I pasted comes from a micro-optimization I tried, but which doesn't give any benefit. --

[issue20563] Mark ipaddress as stable?

2014-02-08 Thread Nick Coghlan
Nick Coghlan added the comment: Yeah, I quickly gave up on trying to *apply* that netmask parsing patch for issue 18805, and instead just reimplemented it using the original as a guide (and, most importantly, as the source of the new test cases). The slightly different testing setup in the std

[issue20563] Mark ipaddress as stable?

2014-02-08 Thread Nick Coghlan
Changes by Nick Coghlan : -- assignee: pmoody -> ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue20499] Rounding errors with statistics.variance

2014-02-08 Thread Wolfgang Maier
Wolfgang Maier added the comment: I worked out a slightly speedier version of decimal_to_ratio today (Stefan: that's when I duplicated your bug report): from decimal import Context def _decimal_to_ratio (x): _, digits, exp = x.as_tuple() if exp in _ExactRatio.decimal_infinite: # INF,

[issue14983] email.generator should always add newlines after closing boundaries

2014-02-08 Thread R. David Murray
R. David Murray added the comment: The existing tests that need to be changed to reflect the new behavior are sufficient for testing this, I think. There is small amount of backward compatibility concern here, but since it is an RFC compliance bug and it fixes a problem with verification, I de

[issue14983] email.generator should always add newlines after closing boundaries

2014-02-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset d579866d6419 by R David Murray in branch '2.7': #14983: always add a line end after a MIME boundary marker. http://hg.python.org/cpython/rev/d579866d6419 New changeset c2538789c8cf by R David Murray in branch '3.3': #14983: always add a line end aft

[issue20536] statistics._decimal_to_ratio() produces non-integer ratio

2014-02-08 Thread Wolfgang Maier
Wolfgang Maier added the comment: Steven, I think if exp >= 0: return int(x), 1 would have been a better patch, but yours is certainly working, just slower I guess. -- nosy: +wolma ___ Python tracker ___

[issue20529] Unittest displays ResourceWarning warnings when running tests, it probably should not

2014-02-08 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> orsenthil resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___

[issue20529] Unittest displays ResourceWarning warnings when running tests, it probably should not

2014-02-08 Thread Senthil Kumaran
Senthil Kumaran added the comment: I think, it is simply okay to mention about ResourceWarning being displayed. I spent something thinking and going into mechanics of how it is displayed may be an overkill for that line in unittest.rst. I'll make the change and if you see any further informati

[issue20481] Clarify type coercion rules in statistics module

2014-02-08 Thread Nick Coghlan
Nick Coghlan added the comment: Yes, a new RFE to sensibly handle mixed type input in 3.5 would make sense (I did something similar for the issue where we removed the special casing of Counter for 3.4). -- ___ Python tracker

[issue20529] Unittest displays ResourceWarning warnings when running tests, it probably should not

2014-02-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset a8a6dc7f478b by Senthil Kumaran in branch '3.3': Include the mention of ResourceWarning being displayed by default by the test runner. http://hg.python.org/cpython/rev/a8a6dc7f478b New changeset 7fc1e8095fb8 by Senthil Kumaran in branch 'default':

[issue20540] Python 3.3/3.4 regression in multiprocessing manager ?

2014-02-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: I've committed the fix. If there's less low-hanging fruit to pick, we can do that in another issue :) -- resolution: -> rejected stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <

[issue20540] Python 3.3/3.4 regression in multiprocessing manager ?

2014-02-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4816ab0477d2 by Antoine Pitrou in branch '3.3': Issue #20540: Fix a performance regression (vs. Python 3.2) when layering a multiprocessing Connection over a TCP socket. http://hg.python.org/cpython/rev/4816ab0477d2 New changeset 125c24f47f3c by An

[issue20565] Update Tcl/Tk version for buildbots

2014-02-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: I think this is done through the "external" SVN project: http://svn.python.org/projects/external/ -- nosy: +loewis ___ Python tracker ___ __

[issue20566] asyncio as_completed() thrashes adding and removing callbacks

2014-02-08 Thread Glenn Langford
Glenn Langford added the comment: > Glenn, what led you to discover this? It was found by code inspection. I recently started looking at concurrent.futures, really just curious as to how futures were implemented. Because one of the concurrent.futures bugs I raised also applied to asyncio, I s

[issue20565] Update Tcl/Tk version for buildbots

2014-02-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think the Windows buildbots should use the version delivered with the installer. While sticking with one tcl/tk version for one 18 to 24 month cycle is ok, perhaps we should consider updating the version delivered with 2.7. The features exposed by tkinter c

[issue20540] Python 3.3/3.4 regression in multiprocessing manager ?

2014-02-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Note that we're still behind the pre-rewrite performance (this is on > 2.7): If I believe the `time` command, the difference is additional userspace CPU time, therefore probably the pure Python overhead. -- ___ Py

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

2014-02-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset b1ff233d3ab1 by Charles-François Natali in branch '3.3': Issue #20065: socketmodule: Fix build error when AF_CAN is defined without the http://hg.python.org/cpython/rev/b1ff233d3ab1 New changeset 39a60d62d2a6 by Charles-François Natali in branch 'de

[issue20540] Python 3.3/3.4 regression in multiprocessing manager ?

2014-02-08 Thread Richard Oudkerk
Richard Oudkerk added the comment: BTW, I see little difference between 3.2 and the unpatched default branch on MacOSX: $ py-32/release/python.exe ~/Downloads/test_manager.py 0.0007331371307373047 8.20159912109375e-05 9.417533874511719e-05 8.082389831542969e-05 7.796287536621094e-05 0.00011587

[issue20564] test_threadsignals.py "failed" on OpenBSD because too slow (> 3sec)

2014-02-08 Thread Remi Pointel
Remi Pointel added the comment: I'm in -current (5.5-beta). -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20566] asyncio as_completed() thrashes adding and removing callbacks

2014-02-08 Thread Guido van Rossum
Guido van Rossum added the comment: BTW, just curious: Glenn, what led you to discover this? -- ___ Python tracker ___ ___ Python-bugs

[issue20564] test_threadsignals.py "failed" on OpenBSD because too slow (> 3sec)

2014-02-08 Thread STINNER Victor
STINNER Victor added the comment: What is your OpenBSD version? Before 5.2, there were many issues with signals. -- nosy: +haypo ___ Python tracker ___ __

[issue20564] test_threadsignals.py "failed" on OpenBSD because too slow (> 3sec)

2014-02-08 Thread Remi Pointel
Remi Pointel added the comment: arf, sorry for the noise... I didn't seen this. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue20566] asyncio as_completed() thrashes adding and removing callbacks

2014-02-08 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +yselivanov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue20540] Python 3.3/3.4 regression in multiprocessing manager ?

2014-02-08 Thread Richard Oudkerk
Richard Oudkerk added the comment: LGTM -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue20566] asyncio as_completed() thrashes adding and removing callbacks

2014-02-08 Thread Guido van Rossum
Guido van Rossum added the comment: Yup, I remember feeling a bit guilty doing it this way, but at least the semantics are correctly, and there were bigger fish to fry. Thanks for the test code that proves the issue! I assume it can be fixed by not using _wait() but some custom approach. If we

[issue20566] asyncio as_completed() thrashes adding and removing callbacks

2014-02-08 Thread Glenn Langford
Changes by Glenn Langford : Added file: http://bugs.python.org/file34001/output.txt ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue20566] asyncio as_completed() thrashes adding and removing callbacks

2014-02-08 Thread Glenn Langford
Changes by Glenn Langford : Added file: http://bugs.python.org/file34000/test_thrash.py ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue20566] asyncio as_completed() thrashes adding and removing callbacks

2014-02-08 Thread Glenn Langford
New submission from Glenn Langford: In asyncio, tasks.py as_completed() appears to trigger adding and removing callbacks multiple times for the pending set of futures, each time a single future completes. For example, to wait for 5 futures which complete at different times: - as_completed() u

[issue12675] tokenize module happily tokenizes code with syntax errors

2014-02-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.4 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20564] test_threadsignals.py "failed" on OpenBSD because too slow (> 3sec)

2014-02-08 Thread Charles-François Natali
Charles-François Natali added the comment: > I'm asking why it's 3 seconds by default in the tests? > Could we modify the value to 6 instead of 3, is it acceptable? No, see this comment: """ self.assertRaises(KeyboardInterrupt, lock.acquire, timeout=5) dt = time.time() - t1 # Checking that

[issue20534] Enum tests fail with pickle protocol 4

2014-02-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9f75f8a2cbb4 by Ethan Furman in branch 'default': Close issue20534: all pickle protocols now supported. http://hg.python.org/cpython/rev/9f75f8a2cbb4 -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed

[issue20148] Derby: Convert the _sre module to use Argument Clinic

2014-02-08 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- dependencies: +Wrong keyword parameter name in regex pattern methods ___ Python tracker ___ ___ Pytho

[issue20283] Wrong keyword parameter name in regex pattern methods

2014-02-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Larry, so what is your decision? 1. Apply the "hard" patch and then convert Modules/_sre.c to use Argument Clinic (issue20148). 2. Revert converted match() method, apply the "soft" patch, and delay applying of the "hard" patch and then converting to use Arg

[issue20520] Readline test in test_codecs is broken

2014-02-08 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___

[issue20535] run_tests.py: Work around issues 20355 and 20361

2014-02-08 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +ezio.melotti, michael.foord, pitrou stage: -> patch review type: -> behavior ___ Python tracker ___

[issue20560] tkFileFilter.c: ostypeCount not initialized?

2014-02-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: May be we should update Tcl/Tk on buildbots (issue20565). -- ___ Python tracker ___ ___ Python-bug

[issue20565] Update Tcl/Tk version for buildbots

2014-02-08 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Currently Windows buildbots use old versions of Tcl/Tk. These versions contain bugs (for example see issue20560). Versions mentioned in Tools/buildbot/external-common.bat: On 2.7: 8.5.2.1/8.5.2.0 On 3.3: 8.5.11.0 On 3.4: 8.6.1.0 Some buildbots even use bet

[issue16983] header parsing could apply postel's law to encoded words inside quotes

2014-02-08 Thread R. David Murray
R. David Murray added the comment: The old header parsing code already decodes these, although it gets the spacing wrong if you do the standard str(make_header(decode_header(x))) dance. The fix for the new header parsing code only handles the specific case of only encoded words surrounded by

[issue20564] test_threadsignals.py "failed" on OpenBSD because too slow (> 3sec)

2014-02-08 Thread Remi Pointel
New submission from Remi Pointel: Hi, I have 2 tests which "failed" on OpenBSD (tested on i386, amd64 and sparc64) in: - test_threadsignals.py/test_lock_acquire_interruption - test_threadsignals.py/test_rlock_acquire_interruption ===

[issue16983] header parsing could apply postel's law to encoded words inside quotes

2014-02-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1dcb9d0d53a6 by R David Murray in branch '3.3': #16983: Apply postel's law to encoded words inside quoted strings. http://hg.python.org/cpython/rev/1dcb9d0d53a6 New changeset 5f7e626730df by R David Murray in branch 'default': Merge: #16983: Apply p

[issue13414] test_strftime failed on OpenBSD

2014-02-08 Thread Remi Pointel
Remi Pointel added the comment: I close this bug because it's corrected by the commit (revision 1.2): http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/time/wcsftime.c It was a bug in our wcsftime. Thanks. -- resolution: -> invalid status: open -> closed ___

[issue20560] tkFileFilter.c: ostypeCount not initialized?

2014-02-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: As I may have mentioned before, I *now* use the 'standard' one for Windows for each version of Python, as fetched by Tools/buildbots/external.bat. For 2.7 this is 8.5.2. The reason I just noticed about a month ago is that I previously ran all repository build

[issue19157] ipaddress.IPv6Network.hosts function omits network and broadcast addresses

2014-02-08 Thread pmoody
pmoody added the comment: Hey Michiel, the patch looks good to me. Have you signed the contributor license agreement? http://www.python.org/psf/contrib/contrib-form/ Nick, is there anyway for me to check if this has been signed? -- ___ Python track

[issue19772] str serialization of Message object may mutate the payload and CTE.

2014-02-08 Thread R. David Murray
R. David Murray added the comment: Vajrasky: thanks for your work on this, it helped me find a reasonable (if ugly) solution. However, the 'if' statement in your patch that checks specifically for the combination of old and new cte of 8bit and base64 puzzles me. The same problem occurs here

[issue19772] str serialization of Message object may mutate the payload and CTE.

2014-02-08 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue19157] ipaddress.IPv6Network.hosts function omits network and broadcast addresses

2014-02-08 Thread pmoody
pmoody added the comment: Since there's no broadcast address for ipv6, should calling .broadcast* on an ipv6 address raise an exception? -- ___ Python tracker ___ __

[issue19772] str serialization of Message object may mutate the payload and CTE.

2014-02-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 34fb36972f8d by R David Murray in branch '3.3': #19772: Do not mutate message when downcoding to 7bit. http://hg.python.org/cpython/rev/34fb36972f8d New changeset 2e97d3500970 by R David Murray in branch 'default': Merge #19772: Do not mutate messag

[issue20563] Mark ipaddress as stable?

2014-02-08 Thread pmoody
pmoody added the comment: Works for me. I was going to say that there was still the issue with the mask parsing which turned out to be more difficult than simply applying the ipaddress-py patch but it looks like you've managed to get that applied. I spent a few hours banging my head on the ke

[issue20481] Clarify type coercion rules in statistics module

2014-02-08 Thread Oscar Benjamin
Oscar Benjamin added the comment: > Close #20481: Disallow mixed type input in statistics If I understand correctly the reason for hastily pushing this patch through is that it's the safe option: disallow mixing types as a quick fix for soon to be released 3.4. If we want to allow mixing types t

[issue20560] tkFileFilter.c: ostypeCount not initialized?

2014-02-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What Tk version do you use? This bug was fixed 5 years ago. http://core.tcl.tk/tk/info/01ac8739ab148160b39d604439cdab1f4ebe4b0f -- ___ Python tracker ___

[issue19772] str serialization of Message object may mutate the payload and CTE.

2014-02-08 Thread R. David Murray
R. David Murray added the comment: Ah, it is because the boundary computation intentionally modifies the message object. Which is a questionable design decision overall, but is now set in stone :(. -- ___ Python tracker

[issue14130] memoryview: add multi-dimensional indexing and slicing

2014-02-08 Thread Stefan Krah
Stefan Krah added the comment: Ian, could you please provide an example where multi-dimensional indexing and slicing works in 2.x but not in 3.3? -- ___ Python tracker ___ __

[issue20516] Concurrent.futures base concurrency improvement (with patch)

2014-02-08 Thread Glenn Langford
Glenn Langford added the comment: Updated patch: Fixed bug where quick yield in as_completed() did not release lock on future. -- Added file: http://bugs.python.org/file33999/futures-base-v2.patch ___ Python tracker

[issue20497] Unclear word in socket document.

2014-02-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: 'Single' that argument passing has changed, but I would have to know what it was previously (3.1) to know what the change is. Perhaps you can review the 3.1 signature and suggest a better wording for the change note. -- nosy: +terry.reedy

[issue20496] function definition tutorial encourages bad practice

2014-02-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: There is a later example introduced by "It is simple to write a function that returns a list of the numbers of the Fibonacci series, instead of printing it:" that does exactly what you suggest. -- nosy: +terry.reedy ___

[issue20462] Python IDLE auto closed when creating a new file or open existing file

2014-02-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Closing until there is evidence that there is a problem with the distribution that we can fix. -- resolution: -> later stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue20562] sqlite3 returns result set with doubled first entry

2014-02-08 Thread R. David Murray
R. David Murray added the comment: Here is an even more cut down example. Note that removing the commit avoids the problem. -- nosy: +r.david.murray versions: +Python 3.3, Python 3.4 Added file: http://bugs.python.org/file33998/t.py ___ Python track

[issue20406] Use application icon for IDLE

2014-02-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue20551] Use specific asserts in decimal tests

2014-02-08 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> skrah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue20406] Use application icon for IDLE

2014-02-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset d4f9efd4be7d by Terry Jan Reedy in branch '2.7': Issue #20406: Use Python application icons for Idle window title bars. http://hg.python.org/cpython/rev/d4f9efd4be7d -- ___ Python tracker

[issue20553] Use specific asserts in ipaddress tests

2014-02-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Nick for your review. -- assignee: -> serhiy.storchaka resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker __

[issue20518] multiple inheritance + C extension = possibly unexpected __base__

2014-02-08 Thread Martin Teichmann
Martin Teichmann added the comment: I've been working a bit on a solution to this issue, one proposal is in the attached patch. The patch adds a new flag to tp_flags, called Py_TPFLAGS_SOLID, which marks a class as being solid, i.e. its memory layout is incompatible with its parent layout. C clas

[issue20553] Use specific asserts in ipaddress tests

2014-02-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 58be80e7e653 by Serhiy Storchaka in branch '3.3': Issue #20553. Use specific asserts in ipaddress tests. http://hg.python.org/cpython/rev/58be80e7e653 New changeset 2bcb574d579f by Serhiy Storchaka in branch 'default': Issue #20553. Use specific ass

[issue20406] Use application icon for IDLE

2014-02-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yes, it works right on Linux. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue3068] IDLE - Add an extension configuration dialog

2014-02-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: I tried applying the patch and Hg say this: abort: unable to strip away 1 of 1 dirs from Bindings.py Since the patch just adds a line, I do not understand the message. Do you have any ideas? -- ___ Python tracker

[issue20406] Use application icon for IDLE

2014-02-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: For 2.7, this substitution #root.wm_iconphoto(True, *icons) root.tk.call('wm', 'iconphoto', str(root), "-default", *icons) does not work on Windows. If I change the test string "Windows" to force execution to the tk.call above, the icon is a blac

[issue19772] str serialization of Message object may mutate the payload and CTE.

2014-02-08 Thread R. David Murray
R. David Murray added the comment: I'm guessing the problem is that copy is a shallow copy, and message objects can be deeply nested. Doing a deepcopy might work, but as things are currently, that could cost a lot of memory, so I don't want to do that. --

[issue20406] Use application icon for IDLE

2014-02-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset bda1739215b4 by Terry Jan Reedy in branch '3.3': Issue #20406: Use Python application icons for Idle window title bars. http://hg.python.org/cpython/rev/bda1739215b4 New changeset 3aa6fd1dc2c9 by Terry Jan Reedy in branch 'default': Issue #20406: Us

[issue20553] Use specific asserts in ipaddress tests

2014-02-08 Thread Nick Coghlan
Nick Coghlan added the comment: Changes look fine to me - I did just check in some other updates to test_ipaddress, but I believe they're far enough away from these that the patch should still apply. -- ___ Python tracker

[issue20534] Enum tests fail with pickle protocol 4

2014-02-08 Thread Ethan Furman
Ethan Furman added the comment: I do not recall if it was or not. The main difference would be in how aliases were handled. For example, if W and Z were the same value on system A, but different on system B, then going from A - B via pickle W and Z would still be the same using the current m

[issue20561] Decimal handling error in statistics module

2014-02-08 Thread Nick Coghlan
Changes by Nick Coghlan : -- resolution: -> duplicate status: open -> closed superseder: -> statistics._decimal_to_ratio() produces non-integer ratio ___ Python tracker ___ ___

  1   2   >