[issue27045] Forward slashes in Windows paths

2016-05-17 Thread Senthil Kumaran
Senthil Kumaran added the comment: This is fixed and online docs will reflect it when they get built in their next build cycle. Thanks for the report. -- nosy: +orsenthil resolution: -> fixed stage: needs patch -> resolved status: open -> closed

[issue26536] Add the SIO_LOOPBACK_FAST_PATH option to socket.ioctl

2016-05-17 Thread Daniel Stokes
Daniel Stokes added the comment: Thank you for the review. I have made the changes suggested in the code and I have uploaded a new patch. -- Added file: http://bugs.python.org/file42888/loopback_fast_path_v2.patch ___ Python tracker

[issue26331] Tokenizer: allow underscores for grouping in numeric literals

2016-05-17 Thread Georg Brandl
Georg Brandl added the comment: Thanks Eric! Serhiy, do you want to do a review? The v6/v7 patches are based on your "strict" patch with the constructor changes adapted from v4. New version v7 addresses the review comments from Stefan and Martin. -- Added file:

[issue27051] Create PIP gui

2016-05-17 Thread Upendra Kumar
New submission from Upendra Kumar: This is new issue opened for creating a GUI (tkinter) front end for pip. It is in continuation with Issue #23551. -- components: Tkinter messages: 265810 nosy: terry.reedy, upendra-k14 priority: normal severity: normal status: open title: Create PIP

[issue23275] Can assign [] = (), but not () = []

2016-05-17 Thread Berker Peksag
Berker Peksag added the comment: Thanks Martin. Your edits look much better! :) I will be travelling for PyCon US later this week so I just committed issue23275_v4.diff with minor edits. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed

[issue23342] run() - unified high-level interface for subprocess

2016-05-17 Thread Nick Coghlan
Nick Coghlan added the comment: This change has made the subprocess docs intimidating and unapproachable again - this is a *LOWER* level swiss-army knife API than the 3 high level convenience functions. I've filed http://bugs.python.org/issue27050 to suggest changing the way this is

[issue23275] Can assign [] = (), but not () = []

2016-05-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8a0754fed986 by Berker Peksag in branch 'default': Issue #23275: Allow () = iterable assignment syntax https://hg.python.org/cpython/rev/8a0754fed986 -- nosy: +python-dev ___ Python tracker

[issue27050] Demote run() below the high level APIs in subprocess docs

2016-05-17 Thread Nick Coghlan
New submission from Nick Coghlan: The new subprocess.run() API is a swiss-army-knife API like subprocess.Popen before it. 1. You have to pass a boolean toggle to indicate whether or not you want the return code checked 2. You have to pass magic constants to keyword arguments to indicate

[issue21939] IDLE - Test Percolator

2016-05-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset eebccf05903e by Terry Jan Reedy in branch '3.5': Issue #21939: Test IDLE percolator. Original patch by Saimadhav Heblikar. https://hg.python.org/cpython/rev/eebccf05903e -- nosy: +python-dev ___ Python

[issue27045] Forward slashes in Windows paths

2016-05-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset e6e35ff744fe by Senthil Kumaran in branch '3.5': issue27045 - Use backslash in windows path to script file. https://hg.python.org/cpython/rev/e6e35ff744fe New changeset 2173063cbae8 by Senthil Kumaran in branch 'default': merge from 3.5

[issue27046] Emoji support in Pie Chart legend with matplotlib

2016-05-17 Thread vishvajit pathak
vishvajit pathak added the comment: I am unable to find this support for showing emoji in legend while drawing the pie chart with matplotlib. -- ___ Python tracker

[issue27046] Emoji support in Pie Chart legend with matplotlib

2016-05-17 Thread vishvajit pathak
New submission from vishvajit pathak: I unable to find this support for showing emoji in legend while drawing the pie chart with matplotlib. -- components: Library (Lib) messages: 265761 nosy: wishmore...@gmail.com priority: normal severity: normal status: open title: Emoji support in

[issue27036] Mark up of references in different form

2016-05-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think you make an accent on wrong thing. All these sentences look correct to me if remove any hyperlinks. Hyperlinks are optional. In the phrase "Level values are evaluated" the reference is to the term "evaluating", not to the eval() function. But since

[issue27036] Mark up of references in different form

2016-05-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Georg, is it possible to refer to function without changing a style? Something like :ref:`evaluated `? -- ___ Python tracker

[issue27046] Emoji support in Pie Chart legend with matplotlib

2016-05-17 Thread Berker Peksag
Berker Peksag added the comment: matplotlib is not part of the Python standard library. You can find my more information at http://matplotlib.org/ -- nosy: +berker.peksag resolution: -> third party stage: -> resolved status: open -> closed ___

[issue23420] python -m cProfile -s fails with non informative message

2016-05-17 Thread Charalampos Stratakis
Charalampos Stratakis added the comment: Any info regarding that? Patch seems good and it actually works. -- nosy: +cstratak ___ Python tracker ___

[issue23275] Can assign [] = (), but not () = []

2016-05-17 Thread Martin Panter
Martin Panter added the comment: Hi Berker. I updated your patch according to my comments in the documentation. I hope you don’t mind. I reverted all the changes about subscripting and slicing an iterable, since this bug is only about assigning to a “target list”. Actually it is true

[issue1222585] C++ compilation support for distutils

2016-05-17 Thread Stefan Krah
Changes by Stefan Krah : -- nosy: +skrah versions: +Python 3.5, Python 3.6 -Python 3.4 ___ Python tracker ___

[issue25910] Fixing links in documentation

2016-05-17 Thread Senthil Kumaran
Senthil Kumaran added the comment: On Mon, May 16, 2016 at 08:40:51PM +, Serhiy Storchaka wrote: > > zope should be http://www.zope.org/ > > Isn't this is a different legal entity? Is it? I don't know. I can find no references to zope.com being different than zope.org in my google searches

[issue27036] Mark up of references in different form

2016-05-17 Thread Georg Brandl
Georg Brandl added the comment: Not really, no. You have to add a :ref: target label for the function. If it's only a few instances, that should be manageable. -- ___ Python tracker

[issue27045] Forward slashes in Windows paths

2016-05-17 Thread R. David Murray
R. David Murray added the comment: Since windows users expect them to be backslahes, though, what's the motivation for using forward slashes instead? -- nosy: +r.david.murray ___ Python tracker

[issue22377] %Z in strptime doesn't match EST and others

2016-05-17 Thread R. David Murray
Changes by R. David Murray : -- versions: +Python 3.5, Python 3.6 -Python 3.4 ___ Python tracker ___

[issue22377] %Z in strptime doesn't match EST and others

2016-05-17 Thread R. David Murray
R. David Murray added the comment: Peter: yes, that is what I've been saying this issue is for :) Anything else is a new issue. Note that it *does* also recognize the strings in time.tzname in addition to UTC and GMT. -- ___ Python tracker

[issue27042] Incorrect grammar for function definitions

2016-05-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 451dd29ebae3 by Benjamin Peterson in branch '3.5': Backed out changeset 71ff2235bb4c (closes #27042) https://hg.python.org/cpython/rev/451dd29ebae3 New changeset d13999a6be8c by Benjamin Peterson in branch '3.5': class definitions only get argument

[issue27047] O(1) deque indexing

2016-05-17 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Proposed patch changes the complexity of deque indexing from linear to constant. All other operations preserves its amortized cost. New deque implementation use two-level array instead of linked list. Since free space is reserved at both side, new blocks

[issue27048] Breakages in subprocess.Popen with non-ascii characters in environment

2016-05-17 Thread Emanuel Barry
New submission from Emanuel Barry: I got a random UnicodeDecodeError while trying to install a module with distutils. Traced it back and it being my name having a non-ascii character floating around in my environment. I'm including two patches: subprocess_errors_simple_1.patch simply adds

[issue27048] Breakages in subprocess.Popen with non-ascii characters in environment

2016-05-17 Thread Emanuel Barry
Changes by Emanuel Barry : Added file: http://bugs.python.org/file42881/subprocess_distutils_errors_1.patch ___ Python tracker ___

[issue27048] Breakages in subprocess.Popen with non-ascii characters in environment

2016-05-17 Thread R. David Murray
R. David Murray added the comment: I would not think errors=replace would be the right answer...that would lose information, wouldn't it? What is the data being used for that causes the problem? Normally in situations like this we'd use surrogateescape at the system boundary, but I don't

[issue27048] Breakages in subprocess.Popen with non-ascii characters in environment

2016-05-17 Thread Emanuel Barry
Changes by Emanuel Barry : Added file: http://bugs.python.org/file42883/subprocess_distutils_errors_2.patch ___ Python tracker ___

[issue27048] Breakages in subprocess.Popen with non-ascii characters in environment

2016-05-17 Thread Emanuel Barry
Emanuel Barry added the comment: The data that causes the issue is my name (Émanuel), which is present in a couple of places in my environment. I also completely forgot about surrogateescape, my bad. Here are two new patches with the surrogateescape error handler instead of the replace one.

[issue18410] Idle: test SearchDialog.py

2016-05-17 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy versions: +Python 3.6 -Python 2.7, Python 3.4 ___ Python tracker ___

[issue27048] Breakages in subprocess.Popen with non-ascii characters in environment

2016-05-17 Thread STINNER Victor
STINNER Victor added the comment: Hi, > I got a random UnicodeDecodeError while trying to install a module with > distutils. Please provide more context to your issue: * What is your operating system? * What is your locale? (locale encoding on UNIX, ANSI and OEM code pages on Windows) *

[issue27048] Breakages in subprocess.Popen with non-ascii characters in environment

2016-05-17 Thread Emanuel Barry
Emanuel Barry added the comment: Oops, I thought I had written that - must have accidentally deleted it. I'm on Windows 7, my locale is fr-CA / cp1252, and the non-ascii data (my name =) comes from my environment. I discussed a bit with R. David Murray off-issue, and in the end it seems that

[issue18410] Idle: test SearchDialog.py

2016-05-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2aee50cb27d0 by Terry Jan Reedy in branch '3.5': Issue #18410: Test IDLE's search dialog; original patch by Westley Martínez. https://hg.python.org/cpython/rev/2aee50cb27d0 -- nosy: +python-dev ___

[issue18410] Idle: test SearchDialog.py

2016-05-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: I only made two changes to the test class itself: 1. move "requires('gui')" to the top to quit as soon as possible. 2. add "del class.root" to prevent exit error message. Westley is already in misc.ACKS. -- resolution: -> fixed stage: patch review

[issue27048] Breakages in subprocess.Popen with non-ascii characters in environment

2016-05-17 Thread STINNER Victor
STINNER Victor added the comment: Copy of https://gist.github.com/Vgr255/67fc0245056454d6a68608790a9d417b E:\LGP_Test\LGP-0.1>py setup.py install running install running build running build_ext building 'lgp' extension Traceback (most recent call last): File "setup.py", line 10, in

[issue18410] Idle: test SearchDialog.py

2016-05-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset a2cb99027646 by Terry Jan Reedy in branch '3.5': Issue #18410: add missing parent argument. https://hg.python.org/cpython/rev/a2cb99027646 -- ___ Python tracker

[issue27048] Breakages in subprocess.Popen with non-ascii characters in environment

2016-05-17 Thread STINNER Victor
Changes by STINNER Victor : -- components: +Distutils, Windows nosy: +dstufft, eric.araujo, paul.moore, steve.dower, tim.golden, zach.ware versions: +Python 3.5 ___ Python tracker

[issue27048] Breakages in subprocess.Popen with non-ascii characters in environment

2016-05-17 Thread STINNER Victor
STINNER Victor added the comment: > File "E:\Python\3.5.0\lib\distutils\_msvccompiler.py", line 92, in > _get_vc_env >universal_newlines=True, This function was added in Python 3.5 by the issue #23970: "Adds distutils._msvccompiler for new Visual Studio versions." (VS 2015, I guess).

[issue27048] Breakages in subprocess.Popen with non-ascii characters in environment

2016-05-17 Thread STINNER Victor
STINNER Victor added the comment: > The module distutils._msvccompiler doesn't exist in Python 3.5. Oops, I mean: it *only* exists in Python 3.5 (and newer, it doesn't exist in Python 3.4). -- ___ Python tracker

[issue6135] subprocess seems to use local encoding and give no choice

2016-05-17 Thread Martin Panter
Martin Panter added the comment: This seems like a request for extra feature(s), rather than a bug report. FWIW I agree with Victor’s hesitation in . I doubt it is worth adding special support to have multiple pipes that all use text mode

[issue27048] Breakages in subprocess.Popen with non-ascii characters in environment

2016-05-17 Thread STINNER Victor
STINNER Victor added the comment: Python 3.4 has a similar function: query_vcvarsall() in Lib/distutils/msvc9compiler.py. -- ___ Python tracker ___

[issue27014] maximum recursion depth when using typing options

2016-05-17 Thread Guido van Rossum
Guido van Rossum added the comment: See also https://github.com/python/mypy/issues/1546 -- possibly it's the same issue. -- ___ Python tracker ___

[issue27048] Breakages in subprocess.Popen with non-ascii characters in environment

2016-05-17 Thread Martin Panter
Martin Panter added the comment: IMO adding a Popen(errors=...) parameter would be a new feature for 3.6+ only. Also, the patch does not take the error handler into account when encoding and decoding multiple PIPEs in communicate(). I think it would be better to fix this bug in

[issue27014] maximum recursion depth when using typing options

2016-05-17 Thread Guido van Rossum
Guido van Rossum added the comment: Actually, see https://github.com/python/typing/issues/222 instead. -- ___ Python tracker ___

[issue27048] distutils._msvccompiler._get_vc_env() fails with UnicodeDecodeError if an env var is not encodable

2016-05-17 Thread STINNER Victor
Changes by STINNER Victor : -- title: Breakages in subprocess.Popen with non-ascii characters in environment -> distutils._msvccompiler._get_vc_env() fails with UnicodeDecodeError if an env var is not encodable ___ Python

[issue27048] distutils._msvccompiler._get_vc_env() fails with UnicodeDecodeError if an env var is not encodable

2016-05-17 Thread Emanuel Barry
Emanuel Barry added the comment: You are right Martin, this also fixes it, and it seems much less controversial :) Here you go. -- Added file: http://bugs.python.org/file42885/distutils_windows_non_ascii_1.patch ___ Python tracker

[issue27048] distutils._msvccompiler._get_vc_env() fails with UnicodeDecodeError if an env var is not encodable

2016-05-17 Thread STINNER Victor
STINNER Victor added the comment: Ok, I now understood the issue: the distutils._msvccompiler._get_vc_env() functions runs the "C:\Program Files (x86)\Microsoft visual studio 14.0\VC\vcvarsall.bat" program in a shell and then run the "set" command in the same shell to retrieve environment

[issue6135] subprocess seems to use local encoding and give no choice

2016-05-17 Thread Martin Panter
Martin Panter added the comment: I added some review comments for Florian’s patches. Also, I suspect the code will not affect the text encoding when communicate() is used with multiple PIPE streams. -- ___ Python tracker

[issue21676] IDLE - Test Replace Dialog

2016-05-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset d8ed90a35505 by Terry Jan Reedy in branch '3.5': Issue #21676: test IDLE replace dialog. Original patch by Saimadhav Heblikar. https://hg.python.org/cpython/rev/d8ed90a35505 -- nosy: +python-dev ___

[issue21676] IDLE - Test Replace Dialog

2016-05-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: The 'Theme changed' message is maddening. I verified that is was not occurring without this patch. I made sure all widgets were passed cls.root as master, and that all were delected. Running the class with "def test_dummy(self): pass" and all other methods

[issue27049] Typo in "The Python Language Reference" 7.11 -- "individiual"

2016-05-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset da67d32c2f74 by Ned Deily in branch '3.5': Issue #27049: fix doc typo https://hg.python.org/cpython/rev/da67d32c2f74 New changeset ba71905dd010 by Ned Deily in branch 'default': Issue #27049: fix doc typo

[issue27049] Typo in "The Python Language Reference" 7.11 -- "individiual"

2016-05-17 Thread Ned Deily
Ned Deily added the comment: Thanks for the report! Fixed in 3.5 and later; Python 3.3 and 3.4 no longer receive documentation updates. -- nosy: +ned.deily resolution: -> fixed stage: -> resolved status: open -> closed type: behavior -> versions: -Python 3.3, Python 3.4

[issue27047] O(1) deque indexing

2016-05-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: Sorry Serhiy, I really don't want to do this. Indexing is the least important part of the API and should not drive the overall structure. This optimization is at odds with the design goal of a structure that is efficient at near end-points and is not

[issue26647] ceval: use Wordcode, 16-bit bytecode

2016-05-17 Thread Demur Rumed
Changes by Demur Rumed : Removed file: http://bugs.python.org/file42835/wpy8.patch ___ Python tracker ___

[issue26647] ceval: use Wordcode, 16-bit bytecode

2016-05-17 Thread Demur Rumed
Demur Rumed added the comment: I've replaced wpy8 which I uploaded a few days ago as the previous version had a blank line removed from dis.rst by accident -- Added file: http://bugs.python.org/file42886/wpy8.patch ___ Python tracker

[issue27045] Forward slashes in Windows paths

2016-05-17 Thread Tim Golden
Tim Golden added the comment: I haven't tested everywhere but some versions of Windows don't in fact accept forward slashes on the cmd.exe command line. Suggest changing to backslashes as there's no reason to do otherwise. -- nosy: +tim.golden ___

[issue27045] Forward slashes in Windows paths

2016-05-17 Thread Zachary Ware
Changes by Zachary Ware : -- assignee: -> docs@python resolution: not a bug -> stage: resolved -> needs patch status: closed -> open versions: +Python 3.6 ___ Python tracker

[issue27045] Forward slashes in Windows paths

2016-05-17 Thread Tim Peters
Tim Peters added the comment: All versions of cmd.exe want backslashes in paths for the commands implemented _by_ cmd.exe - those interpret a forward slash as indicating an option. For example, here on Win10 Pro: C:\WINDOWS\system32>dir c:\Windows\System32\xwreg.dll Volume in drive C is OS

[issue27045] Forward slashes in Windows paths

2016-05-17 Thread Tim Golden
Tim Golden added the comment: The key point here is that if I run the example as given on my Win 8.1 box, it doesn't work. (The venv I'm using is called nw0). d:\tim\.venvs>dir nw0\Scripts\activate.bat Volume in drive D is New Volume Volume Serial Number is 2639-22DA Directory of

[issue21939] IDLE - Test Percolator

2016-05-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Tal, thanks for the suggestions. Saimadhav added tests for at least some of them. Part of the difficulty in adding IDLE tests is that it is too easy to write tests to the code instead of the use of the code. This is especially true when side-effects

[issue27050] Demote run() below the high level APIs in subprocess docs

2016-05-17 Thread Nick Coghlan
Nick Coghlan added the comment: Likely revised structure: * Move the high level convenience API back to the first section under a subheading like "Common operations" * Give the new run() function its own subheading like "Flexible command invocation" * Move the exception definitions to the