[issue27051] Create PIP gui

2016-06-14 Thread Upendra Kumar
Upendra Kumar added the comment: For executing it currently, we need to run it like this: python -m pip_tkinter Recently, I have changed code. Therefore we can't execute individual pages/layouts by running it with "python -m pip_tkinter.". I will change the code in "__main__" section so that

[issue27319] Multiple item arguments for selection operations

2016-06-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: I reverted the patch, restarted IDLE, and now I get () as I should. Lets forget about it. Apply or ignore comments as you wish. -- stage: patch review -> commit review ___ Python tracker

[issue27319] Multiple item arguments for selection operations

2016-06-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: splitlist() always returns a tuple. How selection() ca return a string?! -- ___ Python tracker ___

[issue26804] Prioritize lowercase proxy variables in urllib.request

2016-06-14 Thread Senthil Kumaran
Senthil Kumaran added the comment: Unfortunately no. 3.4 is only in security fixes mode and this doesn't qualify as a security fix. Usually the bug fixes and feature additions are incentives for developers to upgrade their python codebase. -- ___

[issue27319] Multiple item arguments for selection operations

2016-06-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I'm puzzled too. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue12855] linebreak sequences should be better documented

2016-06-14 Thread Martin Panter
Changes by Martin Panter : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue12855] linebreak sequences should be better documented

2016-06-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2e6fda267a20 by Martin Panter in branch '2.7': Issue #12855: Document what exactly unicode.splitlines() splits on https://hg.python.org/cpython/rev/2e6fda267a20 -- ___ Python tracker

[issue27311] Incorrect documentation for zipfile.writestr()

2016-06-14 Thread Martin Panter
Changes by Martin Panter : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___

[issue16182] readline: Wrong tab completion scope indices in Unicode terminals

2016-06-14 Thread Martin Panter
Martin Panter added the comment: Think I got all the bugs fixed here. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue27311] Incorrect documentation for zipfile.writestr()

2016-06-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 32af78a8b88f by Martin Panter in branch '3.5': Issue #27311: Fix ZipFile.writestr data argument name. https://hg.python.org/cpython/rev/32af78a8b88f New changeset e3bb87952c62 by Martin Panter in branch 'default': Issue #27311: Merge zipfile doc

[issue26923] asyncio.gather drops cancellation

2016-06-14 Thread Guido van Rossum
Guido van Rossum added the comment: I think I agree with Johannes. If all children refuse to be cancelled because they are already done, the outer _GatheringFuture might as well refuse to be cancelled as well. However I'm not sure I actually understand the mechanism whereby the calling Task

[issue27278] py_getrandom() uses an int for syscall() result

2016-06-14 Thread Martin Panter
Martin Panter added the comment: Yeah I think your change is enough. Adding a cast would solve this compiler warning: Python/random.c:168:17: warning: conversion to ‘int’ from ‘long int’ may alter its value [-Wconversion] n = syscall(SYS_getrandom, dest, n, flags);

[issue27319] Multiple item arguments for selection operations

2016-06-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: Code looks good, just a couple of comments. But I am puzzled by string return before patch >>> tv.selection() '' versus tuple return after patch (which seems correct). >>> tv.selection() () -- ___ Python tracker

[issue26839] Python 3.5 running on Linux kernel 3.17+ can block at startup or on importing the random module on getrandom()

2016-06-14 Thread STINNER Victor
STINNER Victor added the comment: Nick Coghlan: "One last fix needed to fully revert this is to remove the mention from the Python 3.5 What's New documentation: https://docs.python.org/3.5/whatsnew/3.5.html#os; This sentence? "The urandom() function now uses the getrandom() syscall on Linux

[issue26839] Python 3.5 running on Linux kernel 3.17+ can block at startup or on importing the random module on getrandom()

2016-06-14 Thread Nick Coghlan
Nick Coghlan added the comment: One last fix needed to fully revert this is to remove the mention from the Python 3.5 What's New documentation: https://docs.python.org/3.5/whatsnew/3.5.html#os -- ___ Python tracker

[issue27311] Incorrect documentation for zipfile.writestr()

2016-06-14 Thread Martin Panter
Martin Panter added the comment: Thanks John -- stage: needs patch -> commit review ___ Python tracker ___

[issue27311] Incorrect documentation for zipfile.writestr()

2016-06-14 Thread John Hagen
John Hagen added the comment: Patch attached. -- keywords: +patch Added file: http://bugs.python.org/file43395/0001-Fix-ZipFile.writestr-data-argument-name.patch ___ Python tracker

[issue27321] Email parser creates a message object that can't be flattened

2016-06-14 Thread Mark Sapiro
Mark Sapiro added the comment: One additional observation. The original message contained no Content-Transfer-Encoding header even though the message body was raw koi8-r characters. Adding Content-Transfer-Encoding: 8bit to the message headers avoids the issue, but that is not a practical

[issue25843] code_richcompare() don't use constant type when comparing code constants

2016-06-14 Thread Larry Hastings
Larry Hastings added the comment: Yes, which doesn't help 3.5.2 final as I don't pull revisions by default after rc1. :p -- ___ Python tracker ___

[issue27051] Create PIP gui

2016-06-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: install_page.py fails with Traceback (most recent call last): File "F:\Python\mypy\tem2.py", line 611, in install_app = InstallPage(root) TypeError: __init__() missing 1 required positional argument: 'controller' manage_installed_modules_page.py would

[issue27321] Email parser creates a message object that can't be flattened

2016-06-14 Thread Maciej Szulik
Changes by Maciej Szulik : -- nosy: +maciej.szulik ___ Python tracker ___ ___

[issue27298] redundant iteration over digits in _PyLong_AsUnsignedLongMask

2016-06-14 Thread Oren Milman
Oren Milman added the comment: Ah, that's a cool alternative to divide and ceil. I would change my patch accordingly. And would write the patch also for _PyLong_AsUnsignedLongLongMask, and work on some micro-benchmarking for it and _PyLong_AsUnsignedLongMask. Indeed _testcapimodule.c is not

[issue27238] Bare except: usages in turtle.py

2016-06-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your contribution Jelle. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker

[issue27238] Bare except: usages in turtle.py

2016-06-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 78e5efa3dd9e by Serhiy Storchaka in branch '3.5': Issue #27238: Got rid of bare excepts in the turtle module. Original patch https://hg.python.org/cpython/rev/78e5efa3dd9e New changeset e9d023b7d676 by Serhiy Storchaka in branch '2.7': Issue

[issue27238] Bare except: usages in turtle.py

2016-06-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM. There is no case for bare except here. Actually it is a bug, since (in this file) a bare except can swallow KeyboardInterrupt. -- assignee: Jelle Zijlstra -> serhiy.storchaka stage: patch review -> commit review type: enhancement -> behavior

[issue12855] linebreak sequences should be better documented

2016-06-14 Thread Alexander Schrijver
Alexander Schrijver added the comment: Martin: Yes, it does, thank you. Sorry, I didn't know you where waiting for my approval. -- ___ Python tracker

[issue27298] redundant iteration over digits in _PyLong_AsUnsignedLongMask

2016-06-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The accurate number of digits is (sizeof(x) * 8 + PyLong_SHIFT - 1) / PyLong_SHIFT or (sizeof(x) * 8 - 1) / PyLong_SHIFT + 1. There is a similar code in _PyLong_AsUnsignedLongLongMask(). Changes of Modules/_testcapimodule.c look not related to the

[issue27301] Incorrect return codes in compile.c

2016-06-14 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Removed file: http://bugs.python.org/file43367/compile_rc-3.6.patch ___ Python tracker ___

[issue27301] Incorrect return codes in compile.c

2016-06-14 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Added file: http://bugs.python.org/file43393/compile_rc-3.5.patch ___ Python tracker ___

[issue27301] Incorrect return codes in compile.c

2016-06-14 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Added file: http://bugs.python.org/file43392/compile_rc-3.6_2.patch ___ Python tracker ___

[issue27321] Email parser creates a message object that can't be flattened

2016-06-14 Thread Mark Sapiro
New submission from Mark Sapiro: The attached file, bad_email, can be parsed via msg = email.message_from_binary_file(open('bad_email', 'rb')) but then msg.as_string() prodices the following: Traceback (most recent call last): File "", line 1, in File

[issue18378] locale.getdefaultlocale() fails on Mac OS X with default language set to English

2016-06-14 Thread Ilya Kulakov
Ilya Kulakov added the comment: Could someone provide a patch for Python 3.5? -- nosy: +Ilya.Kulakov ___ Python tracker ___

[issue25782] CPython hangs on error __context__ set to the error itself

2016-06-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: For reference: the correct issue number is #27122. Are there examples of creating a loop not involving ExitStack or explicit setting the __context__ attribute? -- ___ Python tracker

[issue27122] Hang with contextlib.ExitStack and subprocess.Popen (regression)

2016-06-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Is it worth to add more specific tests for __context__ and __cause__ attributes of an exception? -- nosy: +serhiy.storchaka ___ Python tracker

[issue27320] ./setup.py --help-commands should sort extra commands

2016-06-14 Thread Antony Lee
New submission from Antony Lee: Currently, `./setup.py --help-commands` displays extra commands in a random (dict iteration, probably?) order, as can be seen with the following minimal example: from distutils.command.build_py import build_py from distutils.core import setup class

[issue26386] tkinter - Treeview - .selection_add and selection_toggle

2016-06-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Terry. Opened issue27319 for changing the signature of selection methods. -- assignee: -> serhiy.storchaka resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python

[issue27319] Multiple item arguments for selection operations

2016-06-14 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: For now methods selection_set(), selection_add(), selection_remove() and selection_toggle() of ttk.TreeView take the single argument that should be either the single item id or a tuple or list of item ids. In contrary methods delete() and detach() take

[issue27123] Allow `install_headers` command to follow specific directory structure

2016-06-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6bb68eae63e8 by Gregory P. Smith in branch '3.5': issue27122: fix typo in the news file, wrong issue #. not issue27123. https://hg.python.org/cpython/rev/6bb68eae63e8 New changeset 4e1dbfcc9449 by Gregory P. Smith in branch 'default': issue27122:

[issue27122] Hang with contextlib.ExitStack and subprocess.Popen (regression)

2016-06-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6bb68eae63e8 by Gregory P. Smith in branch '3.5': issue27122: fix typo in the news file, wrong issue #. not issue27123. https://hg.python.org/cpython/rev/6bb68eae63e8 New changeset 4e1dbfcc9449 by Gregory P. Smith in branch 'default': issue27122:

[issue27122] Hang with contextlib.ExitStack and subprocess.Popen (regression)

2016-06-14 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- resolution: -> fixed stage: -> resolved status: open -> closed type: -> behavior ___ Python tracker

[issue27123] Allow `install_headers` command to follow specific directory structure

2016-06-14 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- nosy: -gregory.p.smith ___ Python tracker ___ ___

[issue27123] Allow `install_headers` command to follow specific directory structure

2016-06-14 Thread Gregory P. Smith
Gregory P. Smith added the comment: (ignore that... typo in the commit log for issue27122's fix) -- nosy: +gregory.p.smith ___ Python tracker ___

[issue27122] Hang with contextlib.ExitStack and subprocess.Popen (regression)

2016-06-14 Thread Gregory P. Smith
Gregory P. Smith added the comment: (with a follow up change to fix the typo in the news file which the bot hasn't seen fit to mention here yet) i'm removing the 25782 dependency as that isn't blocking fixing this. -- dependencies: -CPython hangs on error __context__ set to the error

[issue27122] Hang with contextlib.ExitStack and subprocess.Popen (regression)

2016-06-14 Thread Gregory P. Smith
Gregory P. Smith added the comment: Fixes are in 3.5 and default: remote: notified python-check...@python.org of incoming changeset 9ee36b74b432 remote: notified python-check...@python.org of incoming changeset 9fadeee05880 -- ___ Python tracker

[issue25782] CPython hangs on error __context__ set to the error itself

2016-06-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9ee36b74b432 by Gregory P. Smith in branch '3.5': Issue #27123: When an exception is raised within the context being https://hg.python.org/cpython/rev/9ee36b74b432 New changeset 9fadeee05880 by Gregory P. Smith in branch 'default': Issue #27123:

[issue27123] Allow `install_headers` command to follow specific directory structure

2016-06-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9ee36b74b432 by Gregory P. Smith in branch '3.5': Issue #27123: When an exception is raised within the context being https://hg.python.org/cpython/rev/9ee36b74b432 New changeset 9fadeee05880 by Gregory P. Smith in branch 'default': Issue #27123:

[issue26804] Prioritize lowercase proxy variables in urllib.request

2016-06-14 Thread Hans-Peter Jansen
Hans-Peter Jansen added the comment: In a couple of systems, I have to stick with 3.4. Is there a chance to have this patch in 3.4 as well, if a new release 3.4 is made? -- ___ Python tracker

[issue25782] CPython hangs on error __context__ set to the error itself

2016-06-14 Thread Gregory P. Smith
Gregory P. Smith added the comment: I think I'm with Nick on this, the re-ordering fix is the closest to the right thing to do for 3.5 as it at least leaves all exceptions present in the chain. As a more accurate long term fix, it would be great if we could express the tree via tuples in

[issue27130] zlib: OverflowError while trying to compress 2^32 bytes or more

2016-06-14 Thread Xiang Zhang
Xiang Zhang added the comment: Hello Martin. I've finished a patch to add 64bit support to zlib. I think it solves the 9 problems you mentioned and let the input and output both be larger than UINT_MAX. Hope you are willing to review and we can move this forward. :) -- keywords:

[issue25782] CPython hangs on error __context__ set to the error itself

2016-06-14 Thread Nick Coghlan
Nick Coghlan added the comment: > But fixing this issue by reordering the exception chain will only mask bugs > that just better to be fixed. And sometimes, this will cause weird > exceptions chains, that will make *some* people spend a lot of time > debugging/googling to understand what's

[issue27318] Add support for symlinks to zipfile

2016-06-14 Thread Eryk Sun
Eryk Sun added the comment: os.symlink needs the target_is_directory argument on Windows. Maybe extract() can search for the link target in namelist() to determine if it's a directory (i.e. ends in "/"). Note that the flag gets set automatically if the target exists, so this is only a problem

[issue27316] [PDB] NameError in list comprehension in PDB

2016-06-14 Thread SilentGhost
Changes by SilentGhost : -- resolution: -> works for me stage: -> resolved status: open -> closed ___ Python tracker ___

[issue27316] [PDB] NameError in list comprehension in PDB

2016-06-14 Thread Diaa Jad
Diaa Jad added the comment: I actually drop to pdb from nosetests on test failure using --pdb option. I use a Fedora 23 machine. Anyway, it looks like this issue is specific to the virtual environment we use at work that uses version 3.4.4, as I couldn't reproduce it on native 3.4 . As this

[issue27278] py_getrandom() uses an int for syscall() result

2016-06-14 Thread STINNER Victor
STINNER Victor added the comment: Martin: What do you think of my change? Is it enough? Or would you prefer an explicit cast on syscall() result? I hesitated to use a wider type since the manual page shows an "int" type, not long. -- ___ Python

[issue27278] py_getrandom() uses an int for syscall() result

2016-06-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset e028e86a5b73 by Victor Stinner in branch '3.5': Fix os.urandom() using getrandom() on Linux https://hg.python.org/cpython/rev/e028e86a5b73 New changeset 0d39bd9028e8 by Victor Stinner in branch 'default': Merge 3.5 (os.urandom, issue #27278)

[issue27010] email library could "recover" from bad mime boundary like (some?) email clients do

2016-06-14 Thread Andrea De Pasquale
Andrea De Pasquale added the comment: Hello, did you have a chance to look at my patch? -- ___ Python tracker ___

[issue25843] code_richcompare() don't use constant type when comparing code constants

2016-06-14 Thread STINNER Victor
STINNER Victor added the comment: Oh, I fixed the typo in the Misc/NEWS in 3.5 and default branches. -- ___ Python tracker ___

[issue25843] code_richcompare() don't use constant type when comparing code constants

2016-06-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset a36238de31ae by Victor Stinner in branch '3.5': Issue #25843: Fix the NEWS entry https://hg.python.org/cpython/rev/a36238de31ae -- ___ Python tracker

[issue25843] code_richcompare() don't use constant type when comparing code constants

2016-06-14 Thread Larry Hastings
Larry Hastings added the comment: Someone asked on reddit. The Misc/NEWS entry for this reads: Issue #25843: When compiling code, don’t merge constants if they are equal but have a different types. For example, f1, f2 = lambda: 1, lambda: 1.0 is now correctly compiled to two different

[issue16864] sqlite3.Cursor.lastrowid isn't populated when executing a SQL REPLACE statement

2016-06-14 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patch, Alex. -- nosy: +berker.peksag resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue16864] sqlite3.Cursor.lastrowid isn't populated when executing a SQL REPLACE statement

2016-06-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2126e8cbc12f by Berker Peksag in branch 'default': Issue #16864: Cursor.lastrowid now supports REPLACE statement https://hg.python.org/cpython/rev/2126e8cbc12f -- nosy: +python-dev ___ Python tracker

[issue27318] Add support for symlinks to zipfile

2016-06-14 Thread SilentGhost
Changes by SilentGhost : -- nosy: +alanmcintyre, serhiy.storchaka, twouters versions: +Python 3.6 -Python 2.7 ___ Python tracker

[issue27318] Add support for symlinks to zipfile

2016-06-14 Thread Lukáš Doktor
New submission from Lukáš Doktor: Currently the zipfile library extracts all files as simple files, even though it contains the information of the file attributes. This patch uses them to detect if the original file was a symlink and creates it when there is a support for symlink creation.

[issue27317] Handling data_files: too much is removed in uninstall

2016-06-14 Thread Sylvain Corlay
New submission from Sylvain Corlay: When specifying an empty list for the list of data_files in a given directory, the entire directory is being deleted on uninstall of the wheel, even if it contained other resources. Example: ``` from setuptools import setup setup(name='remover',

[issue26862] android: SYS_getdents64 does not need to be defined on android API 21

2016-06-14 Thread STINNER Victor
STINNER Victor added the comment: Stefan Krah: "posixmodule_3.patch looks good to me. Gregory has already approved the approach, so I think you can go ahead and commit this" I concur with Stefan: LGTM. -- nosy: +haypo ___ Python tracker

[issue16182] readline: Wrong tab completion scope indices in Unicode terminals

2016-06-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset ef234a5c5817 by Martin Panter in branch '3.5': Issue #16182: One more check for set_pre_input_hook() https://hg.python.org/cpython/rev/ef234a5c5817 New changeset 241bae60cef8 by Martin Panter in branch 'default': Issue #16182: Merge test_readline

[issue26862] android: SYS_getdents64 does not need to be defined on android API 21

2016-06-14 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- assignee: -> xdegaye stage: -> commit review ___ Python tracker ___

[issue22636] avoid using a shell in ctypes.util: replace os.popen with subprocess

2016-06-14 Thread Martin Panter
Martin Panter added the comment: Updated Py 2 patch to handle OSError when shell=True is not used -- Added file: http://bugs.python.org/file43387/ctypes_util_popen-6.py2.patch ___ Python tracker

[issue27270] 'parentheses-equality' warnings when building with clang and ccache

2016-06-14 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue26386] tkinter - Treeview - .selection_add and selection_toggle

2016-06-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0885477fecfd by Serhiy Storchaka in branch '3.5': Issue #26386: Fixed ttk.TreeView selection operations with item id's https://hg.python.org/cpython/rev/0885477fecfd New changeset d1c0bc1d0625 by Serhiy Storchaka in branch 'default': Issue #26386:

[issue27270] 'parentheses-equality' warnings when building with clang and ccache

2016-06-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 18e960f930ab by Xavier de Gaye in branch 'default': Issue #27270: `parentheses-equality` warnings when building with clang and ccache. https://hg.python.org/devguide/rev/18e960f930ab -- nosy: +python-dev

[issue16182] readline: Wrong tab completion scope indices in Unicode terminals

2016-06-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 005cab4f5629 by Martin Panter in branch '3.5': Issue #16182: set_pre_input_hook() may not exist; document, and update test https://hg.python.org/cpython/rev/005cab4f5629 New changeset c4dd384ee3fa by Martin Panter in branch 'default': Issue #16182:

[issue24363] httplib fails to handle semivalid HTTP headers

2016-06-14 Thread Martin Panter
Martin Panter added the comment: I made a patch to fix all header section parsing by default in the email module (see Issue 26686). I’m not 100% sure if it is safe in general, but if it is, it would fix this bug. -- dependencies: +email.parser stops parsing headers too soon.

[issue1927] Change input() to always prompt to stderr

2016-06-14 Thread Adam Bartoš
Adam Bartoš added the comment: Regarding the comment by Martin Panter from 2015-11-22: It would be nice if PyOS_StdioReadline worked that way. Unfortunately, it's still based on C file objects and char* for the prompt string rather than using actual Python objects. The relevant issue is

[issue27316] [PDB] NameError in list comprehension in PDB

2016-06-14 Thread SilentGhost
SilentGhost added the comment: I cannot reproduce this issue on 3.5, do you have a chance to test this on a 3.5 or some other version of python? Also, could you provide any more details of your system? -- nosy: +SilentGhost ___ Python tracker

[issue27316] [PDB] NameError in list comprehension in PDB

2016-06-14 Thread SilentGhost
Changes by SilentGhost : -- nosy: +georg.brandl type: crash -> behavior ___ Python tracker ___

[issue16182] readline: Wrong tab completion scope indices in Unicode terminals

2016-06-14 Thread Martin Panter
Martin Panter added the comment: Also need a fix for missing set_pre_input_hook() on the AIX buildbot: == FAIL: test_nonascii (test.test_readline.TestReadline)

[issue27315] pydoc: prefer the pager command in favor of the specifc less command

2016-06-14 Thread Matthias Klose
Matthias Klose added the comment: Debian prefers to set these defaults without relying on env vars. There is no env var set by default. /etc/security/pam_env.conf:# be useful to be set: NNTPSERVER, LESS, PATH, PAGER, MANPAGER . /etc/security/pam_env.conf:#PAGER DEFAULT=less

[issue27316] [PDB] NameError in list comprehension in PDB

2016-06-14 Thread Diaa Jad
New submission from Diaa Jad: This code fails in the python debugger: (Pdb) z = True (Pdb) p [x for x in [1,2] if z] *** NameError: name 'z' is not defined While the same code works in the interactive shell: >>> [x for x in [1,2] if z] [1, 2] -- ___

[issue27316] [PDB] NameError in list comprehension in PDB

2016-06-14 Thread Diaa Jad
Changes by Diaa Jad : -- components: +Library (Lib) -Extension Modules ___ Python tracker ___

[issue27315] pydoc: prefer the pager command in favor of the specifc less command

2016-06-14 Thread Martin Panter
Martin Panter added the comment: Does Debian use PAGER or MANPAGER? What’s the advantage of the “pager” command in addition? -- nosy: +martin.panter ___ Python tracker

[issue27316] [PDB] NameError in list comprehension in PDB

2016-06-14 Thread Diaa Jad
Changes by Diaa Jad : -- components: Extension Modules nosy: Diaa Jad priority: normal severity: normal status: open title: [PDB] NameError in list comprehension in PDB type: crash versions: Python 3.4 ___ Python tracker

[issue26923] asyncio.gather drops cancellation

2016-06-14 Thread Martin Altmayer
Martin Altmayer added the comment: I don't think this is a mere documentation problem: If a future cannot be cancelled because it is already done, cancel must return False. As Johannes' example demonstrates, a wrong return value from cancel might lead to a cancelled task being continued as if

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2016-06-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset a062c60c9f7d by doko in branch 'default': - Issue #23968: Update distutils/sysconfig.py to look for the renamed https://hg.python.org/cpython/rev/a062c60c9f7d -- ___ Python tracker

[issue27313] test case failures in test_widgets.ComboboxTest.of test_ttk_guionly on OS X with Cocoa Tk 8.5.18

2016-06-14 Thread Ned Deily
Ned Deily added the comment: test_ttk_guionly runs test_identify, doesn't it? (I'll try to take a look at it later when I have more time.) $ /usr/local/bin/python3.5 -m test -vu gui test_ttk_guionly == CPython 3.5.2rc1 (v3.5.2rc1:68feec6488b2, Jun 11 2016, 21:59:53) [GCC 4.2.1 (Apple Inc.

[issue8637] Add MANPAGER envvar to specify pager for pydoc

2016-06-14 Thread Martin Panter
Martin Panter added the comment: Thanks, that version looks more sensible -- ___ Python tracker ___ ___

[issue8637] Add MANPAGER envvar to specify pager for pydoc

2016-06-14 Thread Matthias Klose
Matthias Klose added the comment: sorry, updated. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue8637] Add MANPAGER envvar to specify pager for pydoc

2016-06-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset dea9f9b5582b by doko in branch 'default': - Issue #8637: Honor a pager set by the env var MANPAGER (in preference to https://hg.python.org/cpython/rev/dea9f9b5582b -- ___ Python tracker

[issue27313] test case failures in test_widgets.ComboboxTest.of test_ttk_guionly on OS X with Cocoa Tk 8.5.18

2016-06-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Are there failures if run tests separately? $ ./python -m test -vu gui -m test_identify test_ttk_guionly If no, could you please find a test running before test_identify or test_virtual_event that provokes a failure? I can't reproduce failures on Linux.

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2016-06-14 Thread Matthias Klose
Matthias Klose added the comment: now checked in, after 3.6.0a2, to watch behaviour on different platforms. Still needs doc updates. -- ___ Python tracker

[issue8637] Add MANPAGER envvar to specify pager for pydoc

2016-06-14 Thread Martin Panter
Martin Panter added the comment: Matthias: your change causes pydoc to raise KeyError if I set MANPAGER but not PAGER. I’m guessing you intended something else? -- nosy: +martin.panter versions: +Python 3.6 -Python 3.3 ___ Python tracker

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2016-06-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 78d2cb7f66b6 by doko in branch 'default': - Issue #23968: Rename the platform directory from plat-$(MACHDEP) to https://hg.python.org/cpython/rev/78d2cb7f66b6 -- nosy: +python-dev ___ Python tracker

[issue8637] Add MANPAGER envvar to specify pager for pydoc

2016-06-14 Thread Matthias Klose
Matthias Klose added the comment: fixed for 3.6.0a3 -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue8637] Add MANPAGER envvar to specify pager for pydoc

2016-06-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 820d21c97d66 by doko in branch 'default': - Issue #8637: Honor a pager set by the env var MANPAGER (in preference to https://hg.python.org/cpython/rev/820d21c97d66 -- nosy: +python-dev ___ Python tracker

[issue8637] Add MANPAGER envvar to specify pager for pydoc

2016-06-14 Thread Matthias Klose
Matthias Klose added the comment: adding MANPAGER, with the simpler logic. -- nosy: +doko title: Add PYDOCPAGER envvar to specify pager for pydoc -> Add MANPAGER envvar to specify pager for pydoc ___ Python tracker

[issue27315] pydoc: prefer the pager command in favor of the specifc less command

2016-06-14 Thread Matthias Klose
New submission from Matthias Klose: pydoc: prefer the pager command in favor of the specifc less command. the pager command on Debian/Ubuntu systems is an alternative which is provided by specific pagers like less or more. References: