[issue33893] Linux terminal shortcuts support in python shell

2018-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Are you talking about the python shell, run in a text console window, or IDLE's GUI shell? The components you mark include both. If the former, do you mean only on linux or all systems? You and Python are more or less at the mercy of the console you use +

[issue31817] Compilation Error with Python 3.6.1/3.6.3 with Tkinter

2018-06-17 Thread dplusplus
dplusplus added the comment: Revisited this recently and found a fix. This problem seems to appear only if Tcl and/or Tk is installed in a non-standard folder. In the ./configure call, include `-ltcl8.6 -ltk8.6` (for Tcl/Tk 8.6.x) in the --with-tcltk-libs specification, so the command looks

[issue33892] doc Add a couple of "or she/her"

2018-06-17 Thread INADA Naoki
INADA Naoki added the comment: Andrés, would you create PR for 2.7? It can't be backported automatically. -- ___ Python tracker ___

[issue33892] doc Add a couple of "or she/her"

2018-06-17 Thread miss-islington
miss-islington added the comment: New changeset f14e8eaaa52f799958e77b426283df0f69a81725 by Miss Islington (bot) in branch '3.6': bpo-33892: Doc: Use gender neutral words (GH-7770) https://github.com/python/cpython/commit/f14e8eaaa52f799958e77b426283df0f69a81725 --

[issue33893] Linux terminal shortcuts support in python shell

2018-06-17 Thread sebastin
New submission from sebastin : simple linux terminal support in python shell, like clear, ctrl + r, up arrow would be really good to have. -- assignee: terry.reedy components: IDLE, IO, Interpreter Core messages: 319857 nosy: sebastin, terry.reedy priority: normal severity: normal

[issue33892] doc Add a couple of "or she/her"

2018-06-17 Thread miss-islington
miss-islington added the comment: New changeset 5f165851b9b6ae6e75b01d68f9a40ed95def4c9f by Miss Islington (bot) in branch '3.7': bpo-33892: Doc: Use gender neutral words (GH-7770) https://github.com/python/cpython/commit/5f165851b9b6ae6e75b01d68f9a40ed95def4c9f -- nosy:

[issue33892] doc Add a couple of "or she/her"

2018-06-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +7380 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33892] doc Add a couple of "or she/her"

2018-06-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +7379 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33892] doc Add a couple of "or she/her"

2018-06-17 Thread INADA Naoki
INADA Naoki added the comment: New changeset 5092439c2cb32112a5869b138011d38491db90a9 by INADA Naoki (Andrés Delfino) in branch 'master': bpo-33892: Doc: Use gender neutral words (GH-7770) https://github.com/python/cpython/commit/5092439c2cb32112a5869b138011d38491db90a9 -- nosy:

[issue33890] Pathlib does not compare Windows and MinGW paths as equal

2018-06-17 Thread Eryk Sun
Eryk Sun added the comment: > I don't think is cross-platform, because I'm still on Windows but > in different shells. MSYS/MINGW64 and Cygwin are POSIX runtime environments implemented in DLLs, but they're layered over Windows and can thus support Windows paths such as r"C:\Temp" in

[issue33887] doc Add TOC in Design and History FAQ

2018-06-17 Thread Andrés Delfino
Andrés Delfino added the comment: Sorry, Raymond, you are right. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue33869] doc Add set, frozen set, and tuple entries to Glossary

2018-06-17 Thread Andrés Delfino
Andrés Delfino added the comment: Sorry, INADA, you are right. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue33880] namedtuple should use NFKD to find duplicate members

2018-06-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: Of late, people have been very concerned with namedtuple construction time, so I'm disinclined to add this overhead for something that doesn't seem to have been a problem in the real world. Also, the SyntaxError seems reasonable. That is the same error

[issue33869] doc Add set, frozen set, and tuple entries to Glossary

2018-06-17 Thread INADA Naoki
INADA Naoki added the comment: Andrés, you seems making pull request to document at very high pace. First of all, thank you for trying improving document. But some of your pull request seems very little benefit for most readers. Your motivation seems consistency than real people. In PEP 8,

[issue33887] doc Add TOC in Design and History FAQ

2018-06-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: Please don't fill-up the tracker with dozens of micro-PRs for tiny documentation changes of dubious benefit or occasional detriment. On the balance, it isn't helpful to have a newcomer second-guess every little writing decision that has been made.

[issue28710] Sphinx incompatible markup in the standard library docstrings

2018-06-17 Thread Raymond Hettinger
Change by Raymond Hettinger : -- title: Sphinx incompatible markup in the standard library -> Sphinx incompatible markup in the standard library docstrings ___ Python tracker

[issue28710] Sphinx incompatible markup in the standard library

2018-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: In my last comment above, I forgot that this issue is about *docstrings*. We do not officially process docstrings with Sphinx, so there are no warnings to be suppressed. PEP 8, which covers style for the stdlib, refers to

[issue28710] Sphinx incompatible markup in the standard library

2018-06-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: This should probably be discussed on python-dev. In particular, changing from single backticks to double backticks is something that makes Sphinx happy but will uglify the docstrings for all other ways of viewing the docs. Also, note that most of our

[issue33890] Pathlib does not compare Windows and MinGW paths as equal

2018-06-17 Thread Patrick Lehmann
Patrick Lehmann added the comment: I don't think is cross-platform, because I'm still on Windows but in different shells. More over, pathlib currently support cross-platform comparison. I can save a configuration file on Linux and open it on Windows with such paths. I use myPath.as_posix()

[issue28710] Sphinx incompatible markup in the standard library

2018-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: master, and maybe backport from there, unless the PR never touches master. I wonder if we should bring this up on pydev. Without discussion and agreement, someone might object just because there are so many changes. Or someone might say that they want the

[issue33839] IDLE tooltips.py: refactor and add docstrings and tests

2018-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: As I mentioned elsewhere, I can a) imagine using this with dialogs to pop up hints about the particular entry widget, and b) would like the popups to respond keyboard (Tab) focus changes as well as mouse movement focus changes. Looking at the config

[issue33892] doc Add a couple of "or she/her"

2018-06-17 Thread Andrés Delfino
Andrés Delfino added the comment: Yeap, Ammar just told me the same suggestion on GitHub :) PR will be a little more ambitious now, as I'm replacing all he/him/she/her mentions. -- ___ Python tracker

[issue33892] doc Add a couple of "or she/her"

2018-06-17 Thread Emanuel Barry
Emanuel Barry added the comment: Nice initiative! I like the idea of moving towards more inclusive documentation; as an addition, I would recommend using they/them/their instead - it's less clumsy to read (also, singular they is perfectly valid English) and includes everyone, even those who

[issue33839] IDLE tooltips.py: refactor and add docstrings and tests

2018-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: What do you think of changing 'ToolTip' to 'Tooltip'? The me, the extra 'T' is over-aggressive camel-casing that impedes rather than aids reading. test_tooltip.py was missing the unittest invocation at the end, so I could not the tests from an editor.

[issue33892] doc Add a couple of "or she/her"

2018-06-17 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +7378 stage: -> patch review ___ Python tracker ___ ___

[issue33892] doc Add a couple of "or she/her"

2018-06-17 Thread Andrés Delfino
New submission from Andrés Delfino : PR adds some "or she/her". -- assignee: docs@python components: Documentation messages: 319840 nosy: adelfino, docs@python priority: normal severity: normal status: open title: doc Add a couple of "or she/her" type: enhancement versions: Python 2.7,

[issue28710] Sphinx incompatible markup in the standard library

2018-06-17 Thread Patrick Lehmann
Patrick Lehmann added the comment: Against what branch should I create the PR? I was a huge number of changes. I think I'll create multiple PRs to ease the review. -- ___ Python tracker

[issue28710] Sphinx incompatible markup in the standard library

2018-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree with David about replacing `x' with 'x' instead of ``x``, so please make this change. Do you know what ``x.y = v'' is supposed to mean? David, do you want one PR with 139+ changes, or should we start with fewer? Patrick, are these usages scattered

[issue28710] Sphinx incompatible markup in the standard library

2018-06-17 Thread R. David Murray
R. David Murray added the comment: Thanks for coming back to this. We're accepting PRs via github now, so the next step now would be to make it into a PR. Sometimes things just get forgotten and you have to nudge them to get them moving (see the devguide for guidelines about when it is

[issue33890] Pathlib does not compare Windows and MinGW paths as equal

2018-06-17 Thread R. David Murray
R. David Murray added the comment: Sorry, but these paths are not equal in in any sense that Python by itself can determine. Support for doing this kind of comparison would have to come from MingGW or cygwin, and even if a python library exposed those capabilities, it would be via some new

[issue33891] ntpath join doesnt check whether path variable None or not

2018-06-17 Thread Ömer FADIL USTA
New submission from Ömer FADIL USTA : In https://github.com/python/cpython/blob/master/Lib/ntpath.py#L76 def join(path, *paths): path = os.fspath(path) the path variable used directly in fspath method without checking is exist or not so it cause : File "d:\python\37\lib\runpy.py", line 193,

[issue33876] doc Mention the MicroPython implementation in Introduction

2018-06-17 Thread Andrés Delfino
Andrés Delfino added the comment: I have updated the PR with a FAQ that mentions all implementations mentioned here, except Cython and Stackless Python. I added RapydScript as it's used by VPython for Web visualization, in the category of client-side scripting pythonesque

[issue28710] Sphinx incompatible markup in the standard library

2018-06-17 Thread Patrick Lehmann
Patrick Lehmann added the comment: Any progress on that issue? 1.5 years passed by and it should be possible to fix the Python documentation in that time, right? -- ___ Python tracker

[issue33890] Pathlib does not compare Windows and MinGW paths as equal

2018-06-17 Thread Patrick Lehmann
New submission from Patrick Lehmann : pathlib does not compare absolute paths from Windows and MinGW as equal. Windows absolute path: "C:\path\to\tool" MinGW absolute path: "/c/path/to/tool" Cygwin absolute path: "/cygdrive/c/path/to/tool" I consider this a bug, because it's the same bug but

[issue33889] doc Mention Python on-line shell in Tutorial

2018-06-17 Thread Mariatta Wijaya
Change by Mariatta Wijaya : -- resolution: remind -> rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33889] doc Mention Python on-line shell in Tutorial

2018-06-17 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Thanks, but I just don't think this is needed but adding complexity. -- nosy: +Mariatta resolution: -> remind stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue29750] smtplib doesn't handle unicode passwords

2018-06-17 Thread R. David Murray
R. David Murray added the comment: We must continue to support at least ascii strings, for backward compatibility reasons. We can certainly improve the error messages, but the goal of this issue is to add support for bytes passwords. I lean toward continuing to only support ascii strings,

[issue33889] doc Mention Python on-line shell in Tutorial

2018-06-17 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +7377 stage: -> patch review ___ Python tracker ___ ___

[issue33889] doc Mention Python on-line shell in Tutorial

2018-06-17 Thread Andrés Delfino
New submission from Andrés Delfino : If having a link to that specific console is not deemed appropriate, perhaps we can point to PythonAnywhere. IMHO, it's good to let users know that they can try Python right away without needing to install. -- assignee: docs@python components:

[issue32498] urllib.parse.unquote raises incorrect errormessage when string parameter is bytes

2018-06-17 Thread stein-k
Change by stein-k : -- pull_requests: +7376 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue29750] smtplib doesn't handle unicode passwords

2018-06-17 Thread david
david added the comment: I would like to see the second option (allow both, warning on non-ascii) On 17 June 2018 at 21:03, Tal Einat wrote: > > Tal Einat added the comment: > > > And yes, by binary passwords I mean that the module needs to support > being passed a bytes-like object as the

[issue29750] smtplib doesn't handle unicode passwords

2018-06-17 Thread Tal Einat
Tal Einat added the comment: > And yes, by binary passwords I mean that the module needs to support being > passed a bytes-like object as the password, since clearly there are servers > "in the wild" that support non-ascii passwords and the only way to be sure > one can send the server the

[issue33884] [multiprocessing] Multiprocessing in spawn mode doesn't work when the target is a method in a unittest.TestCase subclass, when run either with unittest or with pytest

2018-06-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: While this is limitation of the spawn and forkserver modes, I don't see how this is a bug. Also, as you point out, making the method a classmethod or staticmethod works around the limitation. -- resolution: -> not a bug stage: -> resolved status:

[issue33888] Use CPython instead of Python when talking about implementation details

2018-06-17 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +7375 stage: -> patch review ___ Python tracker ___ ___

[issue33888] Use CPython instead of Python when talking about implementation details

2018-06-17 Thread Andrés Delfino
New submission from Andrés Delfino : The FAQ talks about list and dictionary implementation details using "Python". I believe this should be changed to CPython. -- assignee: docs@python components: Documentation messages: 319825 nosy: adelfino, docs@python priority: normal severity:

[issue33887] doc Add TOC in Design and History FAQ

2018-06-17 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +7374 stage: -> patch review ___ Python tracker ___ ___

[issue33887] doc Add TOC in Design and History FAQ

2018-06-17 Thread Andrés Delfino
New submission from Andrés Delfino : IHMO, having all questions put together is really useful. -- assignee: docs@python components: Documentation messages: 319824 nosy: adelfino, docs@python priority: normal severity: normal status: open title: doc Add TOC in Design and History FAQ

[issue33884] [multiprocessing] Multiprocessing in spawn mode doesn't work when the target is a method in a unittest.TestCase subclass, when run either with unittest or with pytest

2018-06-17 Thread Ned Deily
Change by Ned Deily : -- nosy: +davin, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33886] SSL on aiomysql hangs on reconnection

2018-06-17 Thread Andrey
New submission from Andrey : On reconnect from aiomysql (after the pool has recycled the old connection) by using ssl context it hangs forever. Interrupting gives the following Traceback: File "/usr/local/lib/python3.6/site-packages/aiomysql/connection.py", line 464, in _connect await

[issue33885] doc Replace "hook function" with "callable" in urllib.request.urlretrieve

2018-06-17 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +7373 stage: -> patch review ___ Python tracker ___ ___

[issue33885] doc Replace "hook function" with "callable" in urllib.request.urlretrieve

2018-06-17 Thread Andrés Delfino
New submission from Andrés Delfino : The reporthook of urllib.request.urlretrieve is treated as a function hook, while the right term is "callable". PR fixes this. -- assignee: docs@python components: Documentation messages: 319822 nosy: adelfino, docs@python priority: normal

[issue33529] Infinite loop on folding email if headers has no spaces

2018-06-17 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: -7371 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26917] unicodedata.normalize(): bug in Hangul Composition

2018-06-17 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue33872] doc Add list access time to list definition

2018-06-17 Thread INADA Naoki
INADA Naoki added the comment: Andrés Delfino : > > Andrés Delfino added the comment: > > IMHO, if we deem it useful for users not to expect the time complexity of > a linked list for list elements access to the extent of adding a comment in > the glossary, there's no reason it isn't useful

[issue33872] doc Add list access time to list definition

2018-06-17 Thread Andrés Delfino
Andrés Delfino added the comment: IMHO, if we deem it useful for users not to expect the time complexity of a linked list for list elements access to the extent of adding a comment in the glossary, there's no reason it isn't useful to someone who is reading the actual list definition.

[issue28657] cmd.Cmd.get_help() implementation can't see do_*() methods added dynamically by setattr()

2018-06-17 Thread Błażej Michalik
Błażej Michalik added the comment: Sorry for not describing this one particularly well. There is nothing wrong with setattr() here, that wasn't the point. Given the code below (py3, lambdas used for brevity): # coding: utf-8 from cmd import Cmd class MyCmd(Cmd): def

[issue33872] doc Add list access time to list definition

2018-06-17 Thread INADA Naoki
INADA Naoki added the comment: In case of "difference with linked-list", I don't want to make list definition longer and longer for readers only small part of people. I think that's why difference with "linked-list" is documented only in glossary. By adding all information for non-zero

[issue33220] Antivirus hits on python-2.7.14.amd64.msi file

2018-06-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. I think it's a false positive and the md5 you have attached matches with the official release of 2.7.14 installer that you can verify from https://www.python.org/downloads/release/python-2714/. There were similar cases

[issue33309] Unittest Mock objects do not freeze arguments they are called with

2018-06-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the issue. I think this is documented here : https://docs.python.org/3/library/unittest.mock-examples.html#coping-with-mutable-arguments Thanks -- nosy: +xtreak ___ Python tracker

[issue33095] Cross-reference isolated mode from relevant locations

2018-06-17 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: +7372 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue33872] doc Add list access time to list definition

2018-06-17 Thread Andrés Delfino
Andrés Delfino added the comment: INADA, I believe that piece of information is on the Glossary just to make the difference with a "linked list", but in that case, it should be in the list definition too, as it's fair to think people can learn what a list is by reading its definition first,

[issue32498] urllib.parse.unquote raises incorrect errormessage when string parameter is bytes

2018-06-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: @stein-k Thanks for the patch and tests. The patches apply cleanly on master branch. The project accepts pull requests and it will be helpful if you can make a PR for this on GitHub to get this merged. Since this is a bug fix I think it would

[issue33846] Misleading error message in urllib.parse.unquote

2018-06-17 Thread R. David Murray
R. David Murray added the comment: I thought there was a more general issue for the 'in' operator itself, but perhaps the issue you found was indeed the one I was thinking of. This one certainly seems to be a duplicate of that one ;) If you've a mind to, you could turn the patch in that

[issue33095] Cross-reference isolated mode from relevant locations

2018-06-17 Thread Nick Coghlan
Nick Coghlan added the comment: xtreak: if you're familiar with GitHub workflows, then we now accept docs and code updates as GitHub PRs: https://devguide.python.org/pullrequest/ The parts about running the tests aren't exactly relevant here, what's more relevant is building the

[issue33529] Infinite loop on folding email if headers has no spaces

2018-06-17 Thread Dong-hee Na
Change by Dong-hee Na : -- keywords: +patch pull_requests: +7371 stage: -> patch review ___ Python tracker ___ ___

[issue33878] Doc: Assignment statement to tuple or list: case missing.

2018-06-17 Thread Julien Palard
Change by Julien Palard : -- keywords: +patch pull_requests: +7370 stage: -> patch review ___ Python tracker ___ ___

[issue33884] [multiprocessing] Multiprocessing in spawn mode doesn't work when the target is a method in a unittest.TestCase subclass, when run either with unittest or with pytest

2018-06-17 Thread Yoni Rozenshein
New submission from Yoni Rozenshein : multiprocessing will attempt to pickle things using ForkingPickler when starting a new process in spawn mode (in Windows this is the only mode, in Linux this is a non-default but settable mode). When run within the context of a unit test, if it has to

[issue21145] Add the @cached_property decorator

2018-06-17 Thread Sergey Fedoseev
Change by Sergey Fedoseev : -- nosy: +sir-sigurd ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33780] [subprocess] Better Unicode support for shell=True on Windows

2018-06-17 Thread Yoni Rozenshein
Yoni Rozenshein added the comment: After reading your messages and especially after reading https://bugs.python.org/issue27179#msg267091 I admit I have been convinced this is much more complicated than I thought, and maybe more of a Windows bug than a Python bug :) --

[issue33576] Make exception wrapping less intrusive for __set_name__ calls

2018-06-17 Thread Sergey Fedoseev
Change by Sergey Fedoseev : -- nosy: +sir-sigurd ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33809] Expose `capture_locals` parameter in `traceback` convenience functions

2018-06-17 Thread Farhaan Bukhsh
Farhaan Bukhsh added the comment: Hey, I would like to work on this, where do I start or how can I help? -- nosy: +fhackdroid ___ Python tracker ___

[issue33872] doc Add list access time to list definition

2018-06-17 Thread INADA Naoki
INADA Naoki added the comment: List is documented in “sequence” section and O(1) index access is typical for sequences. At least, every builtin types have it. So adding such note only to list seems a bit curious to me. -- nosy: +inada.naoki ___

[issue33529] Infinite loop on folding email if headers has no spaces

2018-06-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I tried the test case on master branch. I ran the test case on 1GB RAM Linux based digitalocean droplet to have the script killed. Please find the results as below : # Python build ➜ cpython git:(master) ✗ ./python Python 3.8.0a0

[issue33586] 2.7.15 missing release notes on download page

2018-06-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This is tracked at https://github.com/python/pythondotorg/issues/1252 -- nosy: +xtreak ___ Python tracker ___

[issue33855] IDLE: Minimally test every non-startup module.

2018-06-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +7369 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14117] Turtledemo: exception and minor glitches.

2018-06-17 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33846] Misleading error message in urllib.parse.unquote

2018-06-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: @r.david.murray I googled the error message and I hope you are referring to the below issue which has a patch and test. issue : https://bugs.python.org/issue32498 -- nosy: +xtreak ___ Python tracker