[issue20616] Add tracemalloc.Traceback.format() method

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 132821b65e22 by Victor Stinner in branch '3.4':
Issue #20616: Add a format() method to tracemalloc.Traceback.
http://hg.python.org/cpython/rev/132821b65e22

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20616
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20199] status of module_for_loader and utils._module_to_load

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 1640e3b7def6 by R David Murray in branch '3.4':
whatsnew: importlib deprecations.
http://hg.python.org/cpython/rev/1640e3b7def6

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20199
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20526] python: Modules/gcmodule.c:379: visit_decref: Assertion `((gc)-gc.gc_refs (1)) != 0' failed.

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 9ce58a73b6b5 by Victor Stinner in branch '3.4':
Issue #20526, #19466: Revert changes of issue #19466 which introduces a
http://hg.python.org/cpython/rev/9ce58a73b6b5

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20526
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20711] inspect.getfullargspec does not correctly work with builtin module-level functions

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset ed1059f5507b by Yury Selivanov in branch '3.4':
inspect: Fix getfullargspec to support builtin module-level functions. Issue 
#20711
http://hg.python.org/cpython/rev/ed1059f5507b

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20711
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20619] lineno and col_offset attributes of _ast.arg objects are not set

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 3c01209ab697 by Benjamin Peterson in branch '3.4':
set line and column numbers for keyword-only arg nodes (closes #20619)
http://hg.python.org/cpython/rev/3c01209ab697

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20619
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 5d190cca2f47 by Nick Coghlan in branch '3.4':
Close #20568: install unversioned pip command on Windows
http://hg.python.org/cpython/rev/5d190cca2f47

New changeset 3f8ca67bde4d by Martin v. Löwis in branch '3.4':
Issue #20568: Fix typo in pip option.
http://hg.python.org/cpython/rev/3f8ca67bde4d

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20568
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20652] Example in asyncio task gives resource warning

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 36005fe2ab9b by Victor Stinner in branch '3.4':
Close #20652: asyncio doc: close the event loop in run_forever() example. Fix
http://hg.python.org/cpython/rev/36005fe2ab9b

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20652
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20710] Make pydoc consistent about bound methods

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset b2ee3fe195e2 by Larry Hastings in branch '3.4':
Issue #20710: The pydoc summary line no longer displays the self parameter
http://hg.python.org/cpython/rev/b2ee3fe195e2

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20710
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20939] test_geturl of test_urllibnet fails with 'https://www.python.org/' != 'http://www.python.org/'

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 7f4fba171a40 by Ned Deily in branch '3.4':
Issue #20939: merge from 3.3
http://hg.python.org/cpython/rev/7f4fba171a40

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20939
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16251] pickle special methods are looked up on the instance rather than the type

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 2514a577c7cb by Benjamin Peterson in branch '3.4':
look up __getnewargs__ and __getnewargs_ex__ on the object type (#16251)
http://hg.python.org/cpython/rev/2514a577c7cb

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16251
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20655] test_subprocess is not executed in python -m test.test_asyncio

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset b22b83ea719d by Victor Stinner in branch '3.4':
Issue #20655: Fix test_asyncio, run also subprocess tests. Patch written by
http://hg.python.org/cpython/rev/b22b83ea719d

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20655
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14512] Pydocs module docs server not working on Windows.

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset fa34ea4e9e47 by Martin v. Löwis in branch '3.4':
Issue #14512: Launch pydoc -b instead of pydocgui.pyw on Windows.
http://hg.python.org/cpython/rev/fa34ea4e9e47

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14512
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20653] Pickle enums by name

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 010723a7bd25 by Ethan Furman in branch '3.4':
Close issue20653: allow Enum subclasses to override __reduce_ex__
http://hg.python.org/cpython/rev/010723a7bd25

New changeset 737f2be5e80c by Ethan Furman in branch '3.4':
Close issue20653: improve functional API docs; minor code changes
http://hg.python.org/cpython/rev/737f2be5e80c

New changeset 2c5a5fa0692c by Ethan Furman in branch '3.4':
Issue20653: fix ReST for Enum
http://hg.python.org/cpython/rev/2c5a5fa0692c

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20653
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20505] Remove resolution from selectors and granularity from asyncio

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 4f1df287392c by Victor Stinner in branch '3.4':
Issue #20505: Use even shorter sleep in test_timeout_rounding() to make the
http://hg.python.org/cpython/rev/4f1df287392c

New changeset 6733d9dfffbb by Victor Stinner in branch '3.4':
Issue #20505: BaseEventLoop uses again the resolution of the clock to decide if
http://hg.python.org/cpython/rev/6733d9dfffbb

New changeset 375e4f9c9732 by Victor Stinner in branch '3.4':
Issue #20505: Fix TestLoop, set the clock resolution
http://hg.python.org/cpython/rev/375e4f9c9732

New changeset e44ff3b7a497 by Victor Stinner in branch '3.4':
Issue #20505: Improve debug info in asyncio event loop
http://hg.python.org/cpython/rev/e44ff3b7a497

New changeset af840e781700 by Victor Stinner in branch '3.4':
Issue #20505: Oops, only print debug info if selector.select(timeout) took less
http://hg.python.org/cpython/rev/af840e781700

New changeset 2faf4b7c52ed by Victor Stinner in branch '3.4':
Issue #20505: use also the monotonic time to decide if asyncio debug traces
http://hg.python.org/cpython/rev/2faf4b7c52ed

New changeset 702b20fa7af2 by Victor Stinner in branch '3.4':
Issue #20505: Remove debug code
http://hg.python.org/cpython/rev/702b20fa7af2

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20505
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset b52113fb58a5 by Guido van Rossum in branch '3.4':
asyncio: Change as_completed() to use a Queue, to avoid O(N**2) behavior. Fixes 
issue #20566.
http://hg.python.org/cpython/rev/b52113fb58a5

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20566
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20839] pkgutil.get_loader throws deprecation warning due to internal deprecation

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset a8b30fd6ee4f by Nick Coghlan in branch '3.4':
Close #20839: pkgutil.find_loader now uses importlib.util.find_spec
http://hg.python.org/cpython/rev/a8b30fd6ee4f

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20839
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20694] asyncio.docs: Document subprocess_exec and subprocess_shell

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 2dfc383b4907 by Yury Selivanov in branch '3.4':
asyncio.docs: Document subprocess_exec and subprocess_shell. Issue #20694.
http://hg.python.org/cpython/rev/2dfc383b4907

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20694
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20757] 3.4rc2 Traceback on Windows pip uninstall

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 6d0994805e18 by Nick Coghlan in branch '3.4':
Close #20757: return success for skipped pip uninstall
http://hg.python.org/cpython/rev/6d0994805e18

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20757
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20599] test_cleanup() of test_builtin failed

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 3d5154fa8413 by Serhiy Storchaka in branch '3.4':
Try to fix test_cleanup (issue #20599).
http://hg.python.org/cpython/rev/3d5154fa8413

New changeset c978dffb95ac by Victor Stinner in branch '3.4':
Issue #20599: Force ASCII encoding for stdout in test_cleanup() of test_builtin
http://hg.python.org/cpython/rev/c978dffb95ac

New changeset 1fb37d2d7d9d by Victor Stinner in branch '3.4':
Issue #20599: Don't clear environment in test_cleanup() of test_builtin
http://hg.python.org/cpython/rev/1fb37d2d7d9d

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20599
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19744] test_venv and installation fail if SSL/TLS is not available

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset cd39d4cab680 by Nick Coghlan in branch '3.4':
Issue #19744: Handle missing SSL/TLS in ensurepip
http://hg.python.org/cpython/rev/cd39d4cab680

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19744
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20641] Python installer needs elevated rights to install pip

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 31c7dc7ccbaa by Martin v. Löwis in branch '3.4':
Issue #20641: Run custom actions with the NoImpersonate flag to support UAC.
http://hg.python.org/cpython/rev/31c7dc7ccbaa

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20641
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20594] [PATCH] fail to compile posixmodule due to name clash with posix_close

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset fd49c1d2fd6c by Benjamin Peterson in branch '3.4':
merge 3.3 (#20594)
http://hg.python.org/cpython/rev/fd49c1d2fd6c

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20594
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20695] test_urllibnet.urlretrieveNetworkTests fails due to new python.org website

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset a5247ea950d5 by Benjamin Peterson in branch '3.4':
merge 3.3 (#20695)
http://hg.python.org/cpython/rev/a5247ea950d5

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20695
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20495] test_read_pty_output() hangs on FreeBSD 7.2 buildbot

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 2cf25865fc66 by Victor Stinner in branch '3.4':
Issue #20495: Skip test_read_pty_output() of test_asyncio on FreeBSD older than
http://hg.python.org/cpython/rev/2cf25865fc66

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20495
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19466] Clear state of threads earlier in Python shutdown

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 9ce58a73b6b5 by Victor Stinner in branch '3.4':
Issue #20526, #19466: Revert changes of issue #19466 which introduces a
http://hg.python.org/cpython/rev/9ce58a73b6b5

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19466
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20493] asyncio: OverflowError('timeout is too large')

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 41c6c066feb2 by Victor Stinner in branch '3.4':
Issue #20493: Document that asyncio should not exceed one day
http://hg.python.org/cpython/rev/41c6c066feb2

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20493
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20696] asyncio.docs: Document StreamReader an other streams module APIs

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset dc8331171f14 by Yury Selivanov in branch '3.4':
asyncio.docs: Improve documentation of Streams. Issue #20696.
http://hg.python.org/cpython/rev/dc8331171f14

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20696
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20748] 3.4rc2 MSI uninstallation leaves behind ensurepip _uninstall .pyc

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset b018a33c7db4 by Martin v. Löwis in branch '3.4':
Issue #20748: Uninstalling pip does not leave behind the pyc of
http://hg.python.org/cpython/rev/b018a33c7db4

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20748
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17159] Remove explicit type check from inspect.Signature.from_function()

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset fa5127cdfe9d by Yury Selivanov in branch '3.4':
inspect.signature: Check for function-like objects before builtins. Issue #17159
http://hg.python.org/cpython/rev/fa5127cdfe9d

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17159
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19255] Don't wipe builtins at shutdown

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 5d3b9862f1bc by Serhiy Storchaka in branch '3.4':
Issue #19255: The builtins module is restored to initial value before
http://hg.python.org/cpython/rev/5d3b9862f1bc

New changeset a0bc45a50e43 by Serhiy Storchaka in branch '3.4':
Temporary silence test broken by issue19255.
http://hg.python.org/cpython/rev/a0bc45a50e43

New changeset af8f856db136 by Serhiy Storchaka in branch '3.4':
Issue #19255: Clear error after failed PyDict_SetItem() on shutdown.
http://hg.python.org/cpython/rev/af8f856db136

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19255
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20649] Minor grammatical mistake for asyncio dev docs

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 38516b2ffe92 by Victor Stinner in branch '3.4':
Close #20649: Fix typo in asyncio doc. Patch written by Brett Cannon.
http://hg.python.org/cpython/rev/38516b2ffe92

--
stage: needs patch - committed/rejected

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20649
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20621] Issue with zipimport in 3.3.4 and 3.4.0rc1

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 27b738209a60 by Benjamin Peterson in branch '3.4':
merge backout for #20621
http://hg.python.org/cpython/rev/27b738209a60

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20621
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20896] test_ssl.test_get_server_certificate() should use PROTOCOL_SSLv23, not PROTOCOL_SSLv3

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 9b91c23f071c by Benjamin Peterson in branch '3.4':
merge 3.3 (#20896)
http://hg.python.org/cpython/rev/9b91c23f071c

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20896
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20609] Always running kill_python breaks building x64 on 32-bit Windows machine

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 6b4225607cf1 by Zachary Ware in branch '3.4':
Issue #20609: Merge with 3.3.
http://hg.python.org/cpython/rev/6b4225607cf1

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20609
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20667] asyncio: KqueueEventLoopTests.test_read_pty_output() of test_asyncio hangs on OpenBSD 5.4

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 5f1a4782184f by Victor Stinner in branch '3.4':
Issue #20667: test_asyncio: Skip KqueueEventLoopTests.test_read_pty_output() on
http://hg.python.org/cpython/rev/5f1a4782184f

New changeset add2c31ecfb1 by Victor Stinner in branch '3.4':
Issue #20667: KqueueEventLoopTests.test_read_pty_output() hangs also on OpenBSD 
5.5.
http://hg.python.org/cpython/rev/add2c31ecfb1

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20667
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20786] inspect.getargspec() returns wrong answer with property.__delete__()

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 7ad0e19cc682 by Yury Selivanov in branch '3.4':
Issue #20786: Fix signatures for dict.__delitem__ and property.__delete__
http://hg.python.org/cpython/rev/7ad0e19cc682

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20786
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20706] asyncio.docs: Fix wording in 'this method returns a coroutine object'

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 0f26daac85bb by Yury Selivanov in branch '3.4':
asyncio.docs: Improve wordings; add a note to the Coroutines section. Issue 
#20706
http://hg.python.org/cpython/rev/0f26daac85bb

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20706
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20625] Argument names in __annotations__ are not mangled for functions defined inside class scope

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 4d7c3cbd8515 by Yury Selivanov in branch '3.4':
Mangle __parameters in __annotations__ dict properly. Issue #20625.
http://hg.python.org/cpython/rev/4d7c3cbd8515

New changeset 3bced76d2706 by Victor Stinner in branch '3.4':
Issue #20625: Fix compilation issue
http://hg.python.org/cpython/rev/3bced76d2706

New changeset e5cde3fd7c74 by Benjamin Peterson in branch '3.4':
update magic number for #20625
http://hg.python.org/cpython/rev/e5cde3fd7c74

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20625
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20128] Re-enable test_modules_search_builtin() in test_pydoc

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 7cfb3db36ec6 by Eric Snow in branch '3.4':
Issue #20484: Disable the 2 remaining modules tests in test_pydoc.
http://hg.python.org/cpython/rev/7cfb3db36ec6

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20128
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20763] old sys.path_hooks importer does not work with Python 3.4.0rc1

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 149be7000c11 by Brett Cannon in branch '3.4':
Issue #20763: Fix importlib.machinery.PathFinder to support
http://hg.python.org/cpython/rev/149be7000c11

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20763
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20465] Upgrade SQLite to 3.8.3 with 3.4.0 Windows and OS X installers

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 7260dffad495 by Ned Deily in branch '3.4':
Issue #20465: Update OS X installer build to use SQLite 3.8.0.1.
http://hg.python.org/cpython/rev/7260dffad495

New changeset 1f922e9742b7 by Ned Deily in branch '3.4':
Issue #20465: fix NEWS typo (it's 3.8.3.1)
http://hg.python.org/cpython/rev/1f922e9742b7

New changeset 9be3bf7b5b8d by Martin v. Löwis in branch '3.4':
Issue #20465: Update Windows installer to SQLite 3.8.3.1.
http://hg.python.org/cpython/rev/9be3bf7b5b8d

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20465
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20221] #define hypot _hypot conflicts with existing definition

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 033d686af4c1 by Zachary Ware in branch '3.4':
Issue #20221: Removed conflicting (or circular) hypot definition
http://hg.python.org/cpython/rev/033d686af4c1

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20221
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20484] calling pydoc.Helper()('modules') in the test suite sometimes causes failures

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 7cfb3db36ec6 by Eric Snow in branch '3.4':
Issue #20484: Disable the 2 remaining modules tests in test_pydoc.
http://hg.python.org/cpython/rev/7cfb3db36ec6

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20484
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20682] test_create_ssl_unix_connection() of test_asyncio failed on x86 Tiger 3.x

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 9aac931d7bf5 by Victor Stinner in branch '3.4':
Issue #20682: test_asyncio, _basetest_create_connection() checks also the
http://hg.python.org/cpython/rev/9aac931d7bf5

New changeset 472a4988489e by Victor Stinner in branch '3.4':
Close #20682: Fix UNIX sockets tests of test_asyncio on Mac OS X Tiger
http://hg.python.org/cpython/rev/472a4988489e

New changeset f38a7d61c4c2 by Victor Stinner in branch '3.4':
Issue #20682: Oops, fix test_create_connection() of test_asyncio (fix my 
previous commit)
http://hg.python.org/cpython/rev/f38a7d61c4c2

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20682
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19060] docs: note that subprocess doesn't replace os.exec*

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset d2ad2e04dc9d by Benjamin Peterson in branch '3.4':
merge 3.3 (#19060)
http://hg.python.org/cpython/rev/d2ad2e04dc9d

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19060
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20681] asyncio: New error handling API

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 3e592444da2f by Yury Selivanov in branch '3.4':
asyncio: New error handling API. Issue #20681.
http://hg.python.org/cpython/rev/3e592444da2f

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20681
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20814] tracemalloc example - Pretty Top

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 027ca483a7e5 by Victor Stinner in branch '3.4':
Close #20814: doc: Fix Pretty top example of tracemalloc
http://hg.python.org/cpython/rev/027ca483a7e5

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20814
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20627] Add context manager support to xmlrpc.client.ServerProxy

2014-03-17 Thread Claudiu.Popa

Claudiu.Popa added the comment:

Now that the 3.5 branch is the default, can this feature be committed?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20627
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19385] dbm.dumb should be consistent when the database is closed

2014-03-17 Thread Claudiu.Popa

Claudiu.Popa added the comment:

Can this patch be committed, now that 3.5 is active?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19385
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20853] pdb args crashes when an arg is not printable

2014-03-17 Thread Jurjen N.E. Bos

Jurjen N.E. Bos added the comment:

I did figure it out.
It almost works, except when a argument lost its value, and the same name 
exists in the global context.
To be more specific: I simplified do_args to the following code
(that obviously ugly by explicitly evaluating repr in context, but
that is not the point)
def do_args(self, arg):
a(rgs)
Print the argument list of the current function.
Modified by Jurjen

co = self.curframe.f_code
n = co.co_argcount
if co.co_flags  4: n = n+1
if co.co_flags  8: n = n+1
for i in range(n):
name = co.co_varnames[i]
expr = 'repr(%s)' % (name,)
self.message('%s = %s' % (name, self._getval_except(expr)))

At it works perfectly, except for this little surprise:
 bar = BAR
 def foo(bar):
...del bar
...return 5
 pdb.runcall(f, 10)
 stdin(2)f()
-del bar
(Pdb) a
bar = 5
(Pdb) n
 stdin(3)f()
- return 5
(Pdb) a
bar = 'BAR'  # Huh? Expected undefined

I'll leave it to the experts to patch this in proper Python coding style.
So, the conclusion is we need a way to safely evaluate the call to repr() in 
context, with self.curframe_locals[co.co_varnames[i]] as argument.

I did not find a good supporting routine for that elsewhere in pdb.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20853
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20887] stdlib compatibility with pypy, test_zipfile.py

2014-03-17 Thread Éric Araujo

Éric Araujo added the comment:

If you want to provide two patches for the two major lines, that’d be ideal.  
Please post both on this one ticket though.  Thank you!

--
nosy: +eric.araujo

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20887
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20265] Bring Windows docs up to date

2014-03-17 Thread Mark Lawrence

Mark Lawrence added the comment:

IIRC PTVS can't be used with the express editions so please mention this.

--
nosy: +BreamoreBoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20265
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20954] Bug in subprocess._args_from_interpreter_flags causes MemoryError

2014-03-17 Thread Marc Schlaich

New submission from Marc Schlaich:

Steps to reproduce:

- clone pytest-cov at 
https://bitbucket.org/schlamar/pytest-cov/commits/ac14225a67d715b6649f8158e05d2389b78620d2
- remove `@pytest.mark.skipif` from `test_multiprocessing_subprocess` in 
test_pytest_cov.py
- run: `tox --develop -e py27 -- -x`

Result: it fails with MemoryError in `subprocess._args_from_interpreter_flags` 
because sys.flags.hash_randomization has a value of 2147483647 and it tries to 
build a string with such a length. Find more details in attached log. Patch is 
following.

--
components: Library (Lib), Windows
files: output.log
messages: 213844
nosy: schlamar
priority: normal
severity: normal
status: open
title: Bug in subprocess._args_from_interpreter_flags causes MemoryError
type: crash
versions: Python 2.7
Added file: http://bugs.python.org/file34452/output.log

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20954
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20954] Bug in subprocess._args_from_interpreter_flags causes MemoryError

2014-03-17 Thread Marc Schlaich

Marc Schlaich added the comment:

Patch added.

--
keywords: +patch
Added file: http://bugs.python.org/file34453/Issue20954.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20954
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20939] test_geturl of test_urllibnet fails with 'https://www.python.org/' != 'http://www.python.org/'

2014-03-17 Thread Ned Deily

Ned Deily added the comment:

Here are patches to change network use of www.python.org to www.example.com so 
that the tests should pass even if the interpreter is built without SSL 
support.  It turns out that there are references to www.python.org in 
unexpected places (like test_site) so, while I ran all tests and tested the 
changes both with and without SSL availability, it wouldn't surprise me if I 
missed a few spots. Also, as requested by Benjamin, I produced patches for and 
tested on 3.1 and 3.2.  I'm +0 on applying the changes there as there are 
other, unrelated test failures with those releases on some platforms, but with 
the patches no one can blame the new python.org website for them.

--
assignee:  - ned.deily
keywords: +patch
nosy: +benjamin.peterson, georg.brandl
stage: needs patch - patch review
versions: +Python 3.1, Python 3.2, Python 3.5
Added file: http://bugs.python.org/file34454/issue20939_all_27.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20939
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20939] test_geturl of test_urllibnet fails with 'https://www.python.org/' != 'http://www.python.org/'

2014-03-17 Thread Ned Deily

Changes by Ned Deily n...@acm.org:


Added file: http://bugs.python.org/file34456/issue20939_all_32.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20939
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20939] test_geturl of test_urllibnet fails with 'https://www.python.org/' != 'http://www.python.org/'

2014-03-17 Thread Ned Deily

Changes by Ned Deily n...@acm.org:


Added file: http://bugs.python.org/file34455/issue20939_all_31.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20939
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20939] test_geturl of test_urllibnet fails with 'https://www.python.org/' != 'http://www.python.org/'

2014-03-17 Thread Ned Deily

Changes by Ned Deily n...@acm.org:


Added file: http://bugs.python.org/file34457/issue20939_all_33.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20939
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20218] Add methods to `pathlib.Path`: `write_text`, `read_text`, `write_bytes`, `read_bytes`

2014-03-17 Thread Ram Rachum

Changes by Ram Rachum r...@rachum.com:


--
title: Add `pathlib.Path.write` and `pathlib.Path.read` - Add methods to 
`pathlib.Path`: `write_text`, `read_text`, `write_bytes`, `read_bytes`

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20218
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20939] test_geturl of test_urllibnet fails with 'https://www.python.org/' != 'http://www.python.org/'

2014-03-17 Thread Ned Deily

Changes by Ned Deily n...@acm.org:


Added file: http://bugs.python.org/file34458/issue20939_all_3x.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20939
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20954] Bug in subprocess._args_from_interpreter_flags causes MemoryError

2014-03-17 Thread Marc Schlaich

Marc Schlaich added the comment:

This comes from http://bugs.python.org/issue12098. Python 3.3 is affected, too.

Reproduction can be minimized by running the following script:


import multiprocessing


def main():
p = multiprocessing.Process(target=lambda: None)
p.start()
p.join()


if __name__ == '__main__':
main()

as

$ PYTHONHASHSEED=2147483647 python test.py
Traceback (most recent call last):
  File test.py, line 12, in module
main()
  File test.py, line 7, in main
p.start()
  File c:\Python27\lib\multiprocessing\process.py, line 130, in start
self._popen = Popen(self)
  File c:\Python27\lib\multiprocessing\forking.py, line 258, in __init__
cmd = get_command_line() + [rhandle]
  File c:\Python27\lib\multiprocessing\forking.py, line 364, in 
get_command_line
opts = util._args_from_interpreter_flags()
  File c:\Python27\lib\subprocess.py, line 508, in 
_args_from_interpreter_flags
args.append('-' + opt * v)
MemoryError

--
versions: +Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20954
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20954] Bug in subprocess._args_from_interpreter_flags causes MemoryError

2014-03-17 Thread Marc Schlaich

Marc Schlaich added the comment:

Added TestCase.

--
Added file: http://bugs.python.org/file34459/20954_test.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20954
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20954] Bug in subprocess._args_from_interpreter_flags causes MemoryError

2014-03-17 Thread Marc Schlaich

Marc Schlaich added the comment:

BTW, patches are for 2.7 branch.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20954
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20954] Bug in subprocess._args_from_interpreter_flags causes MemoryError

2014-03-17 Thread Marc Schlaich

Marc Schlaich added the comment:

Merged test case and fix in a single commit/patch.

--
Added file: http://bugs.python.org/file34460/Issue20954.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20954
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20955] Unexpected behavior in sqlite3.Connection.set_progress_handler

2014-03-17 Thread cheeleong

New submission from cheeleong:

I discovered this bug accidentally when i'm trying to test the Python 3.4 
package
$ make test

I've encountered the unittest assertion error at CheckOpcodeCount 
with the message, 5 is not greater than 5.

at line 144 here 
http://hg.python.org/cpython/file/04f714765c13/Lib/sqlite3/test/hooks.py

I read this 
http://docs.python.org/2/library/sqlite3.html#sqlite3.Connection.set_progress_handler
As I understood, n is the step.

I took it out and tried to test it with Python 2.7 and 3.3.5. But the expected 
results was as the same as 3.4.

I've tried to replace the n with others number and the results returned don't 
really look like n is the step.

I have no idea if I'm wrong about this. But #python recommended me to submit 
this as a ticket.

--
components: Library (Lib)
messages: 213851
nosy: klrkdekira
priority: normal
severity: normal
status: open
title: Unexpected behavior in sqlite3.Connection.set_progress_handler
type: behavior
versions: Python 2.7, Python 3.3, Python 3.4

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20955
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11949] Make float('nan') unorderable

2014-03-17 Thread Marc Schlaich

Changes by Marc Schlaich marc.schla...@googlemail.com:


--
nosy:  -schlamar

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11949
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20955] Unexpected behavior in sqlite3.Connection.set_progress_handler

2014-03-17 Thread cheeleong

cheeleong added the comment:

Found out about this is a duplicate
http://bugs.python.org/issue20901

--
resolution:  - duplicate

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20955
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20955] Unexpected behavior in sqlite3.Connection.set_progress_handler

2014-03-17 Thread Berker Peksag

Changes by Berker Peksag berker.pek...@gmail.com:


--
stage:  - committed/rejected
status: open - closed
superseder:  - test_sqlite fails with SQLite 3.8.4

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20955
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20954] Bug in subprocess._args_from_interpreter_flags causes MemoryError

2014-03-17 Thread STINNER Victor

Changes by STINNER Victor victor.stin...@gmail.com:


--
nosy: +haypo

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20954
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20956] tokenize module claims generate_tokens returns namedtuple, but it doesn't

2014-03-17 Thread Curtis Maloney

New submission from Curtis Maloney:

Although 3.x does yield a named-tuple, 2.x does not, despite the documentation:

The exact type can be determined by checking the token string field on the 
named tuple returned from tokenize.tokenize() for the character sequence that 
identifies a specific operator token.

(I'd much rather this functionality be back-ported from 3, as it's quite simple)

--
assignee: docs@python
components: Documentation
messages: 213853
nosy: FunkyBob, docs@python
priority: normal
severity: normal
status: open
title: tokenize module claims generate_tokens returns namedtuple, but it doesn't
versions: Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20956
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20956] tokenize module claims generate_tokens returns namedtuple, but it doesn't

2014-03-17 Thread Eric V. Smith

Eric V. Smith added the comment:

The 2.x documentation says generate_tokens returns a 5-tuple, not a namedtuple:

http://docs.python.org/2/library/tokenize.html
The generator produces 5-tuples with these members: ...

The section you quote is talking about tokenize.tokenize, and I think that 
documentation should be fixed. Changing to namedtuple would be a new feature, 
which are not being added to 2.7.

--
nosy: +eric.smith

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20956
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20957] test_smptnet Fail instead of Skip if SSL-port is unavailable

2014-03-17 Thread Lukas Lueg

New submission from Lukas Lueg:

If the SSL-port is unavailable due to firewall settings (or the host simply 
being down), the SSL-tests in test_smtpnet.py fail instead of being skipped.

The tests should be skipped if the smtp.google.com can't be reached and fail 
only in case of unexpected behaviour.

--
components: Tests
files: test_smptnet.txt
messages: 213855
nosy: ebfe
priority: normal
severity: normal
status: open
title: test_smptnet Fail instead of Skip if SSL-port is unavailable
type: behavior
versions: Python 3.4
Added file: http://bugs.python.org/file34461/test_smptnet.txt

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20957
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20956] tokenize module claims tokenize.tokenize returns namedtuple, but it doesn't

2014-03-17 Thread Curtis Maloney

Curtis Maloney added the comment:

Corrected title.

And, yeah, figured it wouldn't be added as a new feature, hence reporting this 
as a Documentation bug.

--
title: tokenize module claims generate_tokens returns namedtuple, but it 
doesn't - tokenize module claims tokenize.tokenize returns namedtuple, but it 
doesn't

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20956
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20957] test_smptnet Fail instead of Skip if SSL-port is unavailable

2014-03-17 Thread Lukas Lueg

Lukas Lueg added the comment:

Diff the make test_smtpnet pass if the network-resource is available but 
smtp.google.com's ssl-port can't be reached. Most probably there is a better 
way to do this.

--
keywords: +patch
Added file: http://bugs.python.org/file34462/cpython_hg_89810_to_89811.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20957
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20927] Different behaviour on Posix and Windows when using subprocess.Popen(..., cwd=path)

2014-03-17 Thread Jovik

Jovik added the comment:

As requested I did extra tests with extension. Same result as before:
 proc = subprocess.Popen(plink.exe, stdout=subprocess.PIPE, 
 cwd=c:\\python33\\workspace)
 proc = subprocess.Popen(.\plink.exe, stdout=subprocess.PIPE, 
 cwd=c:\\python33\\workspace)
 proc = subprocess.Popen(.\\plink.exe, stdout=subprocess.PIPE, 
 cwd=c:\\python33\\workspace)
 proc = subprocess.Popen(.\plink.exe, stdout=subprocess.PIPE, 
 cwd=c:/python33/workspace)
 proc = subprocess.Popen(plink.exe, stdout=subprocess.PIPE, 
 cwd=c:/python33/workspace)

Traceback (most recent call last):
  File C:\Python33\lib\subprocess.py, line 1104, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File stdin, line 1, in module
  File C:\Python33\lib\subprocess.py, line 819, in __init__
restore_signals, start_new_session)
  File C:\Python33\lib\subprocess.py, line 1110, in _execute_child
raise WindowsError(*e.args)
FileNotFoundError: [WinError 2] The system cannot find the file specified

I believe it's a wider issue, since my colleagues insisted on using shell=True 
on Windows by default (I didn't understand why, until now)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20927
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20927] Different behaviour on Posix and Windows when using subprocess.Popen(..., cwd=path)

2014-03-17 Thread Eric V. Smith

Eric V. Smith added the comment:

Where is plink.exe? If it's not in cwd (c:\python33\workspace), note that the 
documentation for cwd says:
If cwd is not None, the function changes the working directory to cwd before 
executing the child. In particular, the function looks for executable (or for 
the first item in args) relative to cwd if the executable path is a relative 
path.

Although confusingly, the 2.7 documentation says:
If cwd is not None, the child’s current directory will be changed to cwd 
before it is executed. Note that this directory is not considered when 
searching the executable, so you can’t specify the program’s path relative to 
cwd.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20927
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20927] Different behaviour on Posix and Windows when using subprocess.Popen(..., cwd=path)

2014-03-17 Thread Jovik

Jovik added the comment:

plink.exe is located in c:\python33\workspace. I'm aware of the docstring 
difference between Python 2 and 3, thus submitted the bug for Python 3 only.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20927
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20958] Undefined behavior flagged by Clang 3.4 (Python 3.4.0)

2014-03-17 Thread Jeffrey Walton

New submission from Jeffrey Walton:

Python 3.4.0 downloaded from website 
(https://www.python.org/download/releases/3.4.0/).

Objects/dictobject.c:756:5: runtime error: left shift of negative value -2
Objects/funcobject.c:907:5: runtime error: left shift of negative value -2
Objects/funcobject.c:726:5: runtime error: left shift of negative value -2
Modules/gcmodule.c:1718:5: runtime error: left shift of negative value -2
Objects/tupleobject.c:120:5: runtime error: left shift of negative value -3
Objects/typeobject.c:905:9: runtime error: left shift of negative value -3
Objects/dictobject.c:818:5: runtime error: left shift of negative value -3
Objects/methodobject.c:45:5: runtime error: left shift of negative value -3
Objects/listobject.c:178:5: runtime error: left shift of negative value -3
Modules/gcmodule.c:1703:9: runtime error: left shift of negative value -2
Modules/gcmodule.c:1693:5: runtime error: left shift of negative value -3
Objects/descrobject.c:9:5: runtime error: left shift of negative value -2
Modules/gcmodule.c:484:13: runtime error: left shift of negative value -3
Objects/tupleobject.c:195:5: runtime error: left shift of negative value -2
Modules/gcmodule.c:503:13: runtime error: left shift of negative value -4
Objects/exceptions.c:2205:5: runtime error: left shift of negative value -2
Objects/longobject.c:40:42: runtime error: index -3 out of bounds for type 
'PyLongObject [262]'
Objects/frameobject.c:736:5: runtime error: left shift of negative value -3
Objects/funcobject.c:64:5: runtime error: left shift of negative value -3
Objects/methodobject.c:149:5: runtime error: left shift of negative value -2
Objects/funcobject.c:552:5: runtime error: left shift of negative value -2
Objects/descrobject.c:1364:5: runtime error: left shift of negative value -2
Objects/cellobject.c:16:5: runtime error: left shift of negative value -3
Objects/listobject.c:2744:5: runtime error: left shift of negative value -3
Objects/listobject.c:2751:5: runtime error: left shift of negative value -2
Objects/dictobject.c:3232:5: runtime error: left shift of negative value -3
Objects/dictobject.c:2826:5: runtime error: left shift of negative value -3
Objects/exceptions.c:89:5: runtime error: left shift of negative value -2
Objects/classobject.c:68:5: runtime error: left shift of negative value -3
Objects/classobject.c:193:5: runtime error: left shift of negative value -2
Objects/tupleobject.c:1079:5: runtime error: left shift of negative value -3
Objects/genobject.c:526:5: runtime error: left shift of negative value -3
Objects/tupleobject.c:948:5: runtime error: left shift of negative value -2
Objects/genobject.c:48:5: runtime error: left shift of negative value -2
Objects/genobject.c:53:5: runtime error: left shift of negative value -3
Objects/genobject.c:58:5: runtime error: left shift of negative value -2
Objects/cellobject.c:49:5: runtime error: left shift of negative value -2
Objects/typeobject.c:1170:9: runtime error: left shift of negative value -3
Objects/exceptions.c:662:5: runtime error: left shift of negative value -2
Objects/exceptions.c:1010:5: runtime error: left shift of negative value -2
Objects/exceptions.c:513:5: runtime error: left shift of negative value -2
./Modules/_io/fileio.c:479:5: runtime error: left shift of negative value -2
Objects/unicodeobject.c:15267:5: runtime error: left shift of negative value -3
Objects/unicodeobject.c:15128:5: runtime error: left shift of negative value -2
Objects/typeobject.c:6720:5: runtime error: left shift of negative value -2
Objects/setobject.c:944:5: runtime error: left shift of negative value -3
Objects/bytesobject.c:3006:5: runtime error: left shift of negative value -3
Objects/bytesobject.c:2869:5: runtime error: left shift of negative value -2
Objects/bytearrayobject.c:3094:5: runtime error: left shift of negative value -3
Objects/bytearrayobject.c:2959:5: runtime error: left shift of negative value -2
Objects/descrobject.c:1001:9: runtime error: left shift of negative value -3
Objects/descrobject.c:873:5: runtime error: left shift of negative value -2
Modules/gcmodule.c:861:13: runtime error: left shift of negative value -3
Objects/typeobject.c:2865:5: runtime error: left shift of negative value -2
Objects/iterobject.c:26:5: runtime error: left shift of negative value -3
Objects/iterobject.c:33:5: runtime error: left shift of negative value -2
Objects/dictobject.c:2643:9: runtime error: left shift of negative value -2
Objects/descrobject.c:1262:9: runtime error: left shift of negative value -3
Objects/memoryobject.c:74:5: runtime error: left shift of negative value -3
Objects/memoryobject.c:639:5: runtime error: left shift of negative value -3
Objects/memoryobject.c:1060:5: runtime error: left shift of negative value -2
Objects/memoryobject.c:108:5: runtime error: left shift of negative value -2
./Modules/_io/bufferedio.c:402:5: runtime error: left shift of negative value -2
./Modules/_io/textio.c:1156:5: runtime error: left shift of negative value 

[issue20627] Add context manager support to xmlrpc.client.ServerProxy

2014-03-17 Thread Brett Cannon

Brett Cannon added the comment:

Yes it can. I do my Python work typically on Fridays so I will get to it then.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20627
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20265] Bring Windows docs up to date

2014-03-17 Thread Kathleen Weaver

Kathleen Weaver added the comment:

There is also a separate version of the Python Tools depending on which version 
of Visual Studio.  I'm testing this out, and may add it to the current patch.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20265
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20958] Undefined behavior flagged by Clang 3.4 (Python 3.4.0)

2014-03-17 Thread Zachary Ware

Zachary Ware added the comment:

Unless I'm mistaken, this was already fixed in #20929.  Since 3.4.0 was in RC 
stage when you reported #20929 and the fix was not release-critical, it was not 
cherry-picked into 3.4.0 final.  It will be fixed in 3.4.1 and 3.5.

If I'm wrong and this is unrelated to #20929, please reopen :)

--
nosy: +zach.ware
resolution:  - duplicate
stage:  - committed/rejected
status: open - closed
superseder:  - Undefined behavior flagged by Clang 3.4 (Python 3.4-RC3)

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20958
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10203] sqlite3.Row doesn't support sequence protocol

2014-03-17 Thread Claudiu.Popa

Claudiu.Popa added the comment:

What can be done to move this forward?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10203
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20927] Different behaviour on Posix and Windows when using subprocess.Popen(..., cwd=path)

2014-03-17 Thread Eric V. Smith

Eric V. Smith added the comment:

I think the 2.7 documentation is correct: the current directory when the call 
is made, and not cwd, is included in the search path. I'd suggest specifying 
args as [c:\\python33\\workspace\\plink.exe].

I think I may have mislead you earlier on the search path. The Windows call is:
CreateProcess(lpApplicationName, lpCommandLine, other stuff, 
lpCurrentDirectory, other stuff)

The first parameter to Popen (args) becomes lpCommandLine. The executable 
parameter to Popen, which you're not setting, becomes lpApplicationName. So, 
you're calling CreateProcess(NULL, plink.exe, ..., 
lpCurrentDirectory=c:\\python33\\workspace).

In this case, .exe would be added if missing. But, the search path rules seem 
to not include the directory pointed to by lpCurrentDirectory (aka cwd).

So I think this would work:
subprocess.Popen([c:\\python33\\workspace\\plink.exe], 
stdout=subprocess.PIPE, cwd=c:\\python33\\workspace)
or
subprocess.Popen([plink], executable=c:\\python33\\workspace\\plink.exe, 
stdout=subprocess.PIPE, cwd=c:\\python33\\workspace)

Unfortunately, I don't have a copy of 3.x on my Windows machine to test with.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20927
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19643] shutil rmtree fails on readonly files in Windows

2014-03-17 Thread Jovik

Jovik added the comment:

This could be at least part of docs; I found that people tend to avoid 
shutil.rmtree(...) on Windows because of such issues. Some of them call 
subprocess(rmdir /S /Q path) to get desired behavior.

--
nosy: +Jovik

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19643
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10203] sqlite3.Row doesn't support sequence protocol

2014-03-17 Thread Mark Lawrence

Mark Lawrence added the comment:

I've changed the versions, hope I've got them correct.

--
nosy: +BreamoreBoy
versions: +Python 2.7, Python 3.4

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10203
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20959] print gives wrong error when printing *generator

2014-03-17 Thread Jurjen N.E. Bos

New submission from Jurjen N.E. Bos:

One of the more interesting ways to use print is printing output of a 
generator, as print(*generator()).
But if the generator generates a typeError, you get a very unhelpful error 
message:
 #the way it works OK
 def f(): yield 'a'+'b'
...
 print(*f())
ab
 #Now with a type error
 def f(): yield 'a'+5
...
 print(*f())
Traceback (most recent call last):
  File stdin, line 1, in module
TypeError: print() argument after * must be a sequence, not generator

The problem is twofold:
- the message is plainly wrong, since it does work with a generator
- the actual error is hidden from view

--
components: IO
messages: 213869
nosy: jneb
priority: normal
severity: normal
status: open
title: print gives wrong error when printing *generator
type: behavior
versions: Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20959
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20960] Fix usage of the versionchanged directive in the sys.hash_info documentation

2014-03-17 Thread Berker Peksag

Changes by Berker Peksag berker.pek...@gmail.com:


--
assignee: docs@python
components: Documentation
files: sys-versionchanged.diff
keywords: patch
nosy: berker.peksag, docs@python
priority: normal
severity: normal
stage: patch review
status: open
title: Fix usage of the versionchanged directive in the sys.hash_info 
documentation
versions: Python 3.4, Python 3.5
Added file: http://bugs.python.org/file34463/sys-versionchanged.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20960
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20927] Different behaviour on Posix and Windows when using subprocess.Popen(..., cwd=path)

2014-03-17 Thread Jovik

Jovik added the comment:

Why this feature works on Posix systems, but not Windows? If my memory is 
correct, it didn't work anywhere when I used Python 2.7 (according with docs).

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20927
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20961] Fix usages of the note directive in the documentation

2014-03-17 Thread Berker Peksag

New submission from Berker Peksag:

Here's a patch to fix all ERROR: Error in note directive:
invalid option block. errors in the stdlib documentation.

--
assignee: docs@python
components: Documentation
files: fix-note-directive.diff
keywords: patch
messages: 213871
nosy: berker.peksag, docs@python
priority: normal
severity: normal
stage: patch review
status: open
title: Fix usages of the note directive in the documentation
versions: Python 3.4, Python 3.5
Added file: http://bugs.python.org/file34464/fix-note-directive.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20961
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20112] The documentation for http.server error_message_format is inadequate.

2014-03-17 Thread Anastasia.Filatova

Anastasia.Filatova added the comment:

Thank you, David, for review! I understood your point of view, an updated patch 
will be added soon.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20112
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20927] Different behaviour on Posix and Windows when using subprocess.Popen(..., cwd=path)

2014-03-17 Thread Eric V. Smith

Eric V. Smith added the comment:

The underlying APIs are very different. It's debatable how much of a shim we 
should provide to make all platforms look alike.

I think first we should understand what it currently takes to make something 
work in both environments. Then we can talk about how or if we can make them 
look more similar.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20927
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16296] Patch to fix building on Win32/64 under VS 2010

2014-03-17 Thread Max Naumov

Max Naumov added the comment:

Wouldn't this be more correct?
--- Lib/distutils/msvc9compiler.py  2013-08-03T16:17:08+04:00
+++ Lib/distutils/msvc9compiler.py  2014-03-17T18:36:50.078672+04:00
@@ -411,7 +411,11 @@
   '/Z7', '/D_DEBUG']
 
 self.ldflags_shared = ['/DLL', '/nologo', '/INCREMENTAL:NO']
-if self.__version = 7:
+if self.__version = 10:
+self.ldflags_shared = [
+'/DLL', '/nologo', '/INCREMENTAL:NO', '/DEBUG', '/pdb:None', 
'/Manifest'
+]
+elif self.__version = 7:
 self.ldflags_shared_debug = [
 '/DLL', '/nologo', '/INCREMENTAL:no', '/DEBUG', '/pdb:None'
 ]

--
nosy: +Max.Naumov
Added file: http://bugs.python.org/file34465/msvc9compilerpatch.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16296
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20960] Fix usage of the versionchanged directive in the sys.hash_info documentation

2014-03-17 Thread Roundup Robot

New submission from Roundup Robot:

New changeset a2fd7e452167 by R David Murray in branch '3.4':
closes #20960
http://hg.python.org/cpython/rev/a2fd7e452167

New changeset 3a3a5467baa9 by R David Murray in branch 'default':
Merge fix for #20960
http://hg.python.org/cpython/rev/3a3a5467baa9

--
nosy: +python-dev
resolution:  - fixed
stage: patch review - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20960
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10203] sqlite3.Row doesn't support sequence protocol

2014-03-17 Thread Éric Araujo

Éric Araujo added the comment:

Thanks Mark.  There will be a last 3.3 release with bugfixes before it switches 
to security fixes only.

--
versions: +Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10203
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10203] sqlite3.Row doesn't support sequence protocol

2014-03-17 Thread Éric Araujo

Éric Araujo added the comment:

I would like another core developer more intimate with C to review the patch.

--
stage: patch review - commit review

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10203
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19903] Idle: Use inspect.signature for calltips

2014-03-17 Thread Terry J. Reedy

Terry J. Reedy added the comment:

I have not decided yet whether to apply to 3.4.

--
versions: +Python 3.5 -Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19903
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1350] IDLE - CallTips enhancement - show full doc-string in new window

2014-03-17 Thread Terry J. Reedy

Terry J. Reedy added the comment:

Calltips will be rewritten for 3.5, maybe 3.4 in #19903, to use 
inspect.signature. Once that is done, I would like to revisit this issue, as I 
agree that it would be useful, and it should be fairly easy. I though of being 
able to rightclick on the calltip box to ask for more but a key would be fine 
to start. The current code uses .__doc__ but only after checking that it exists.
if isinstance(ob_call, types.MethodType):
doc = ob_call.__doc__
else:
doc = getattr(ob, __doc__, )
if doc:
I would not start this until the new code is in place.

--
assignee: kbk - terry.reedy
dependencies: +Idle: Use inspect.signature for calltips
priority: low - normal
resolution: rejected - 
stage: committed/rejected - test needed
status: closed - open
versions: +Python 3.5 -Python 3.2

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1350
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10203] sqlite3.Row doesn't support sequence protocol

2014-03-17 Thread Éric Araujo

Éric Araujo added the comment:

Ah, 3.3 won’t follow that custom given that it had a bugfix release very 
recently.

--
versions:  -Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10203
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16296] Patch to fix building on Win32/64 under VS 2010

2014-03-17 Thread Martin v . Löwis

Martin v. Löwis added the comment:

What is the procedure to test this patch? Under what circumstances exactly is 
it needed?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16296
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16296] Patch to fix building on Win32/64 under VS 2010

2014-03-17 Thread Max Naumov

Max Naumov added the comment:

It allows to install numpy on windows python 3.4. Just like the patch in the 
original post. Actually my patch is merely the original patch refactored.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16296
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



  1   2   >