[issue30290] IDLE: add tests for help_about.py

2017-06-09 Thread Terry J. Reedy

Changes by Terry J. Reedy :


--
pull_requests: +2132

___
Python tracker 

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



[issue19180] some RFC references could be updated

2017-06-09 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Needed to regenerate Argument Clinic code.

--
status: closed -> open

___
Python tracker 

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



[issue30605] re.compile fails when compiling bytes under `-bb` mode

2017-06-09 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
stage: patch review -> backport needed

___
Python tracker 

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



[issue30605] re.compile fails when compiling bytes under `-bb` mode

2017-06-09 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:


New changeset 171b9a354e816eebc6d4c3a8553303942e9c5025 by Serhiy Storchaka (Roy 
Williams) in branch 'master':
bpo-30605: Fix compiling binary regexs with BytesWarnings enabled. (#2016)
https://github.com/python/cpython/commit/171b9a354e816eebc6d4c3a8553303942e9c5025


--

___
Python tracker 

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



[issue30600] Error message incorrect when index is called with keyword argument ("[].index(x=2)")

2017-06-09 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

The PR LGTM. Thank you for your contribution SylvainDe!

--
resolution:  -> fixed
stage: needs patch -> resolved
status: open -> closed
versions:  -Python 3.6

___
Python tracker 

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



[issue30600] Error message incorrect when index is called with keyword argument ("[].index(x=2)")

2017-06-09 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:


New changeset 7445381c606faf20e253da42656db478a4349f8e by Serhiy Storchaka 
(Sylvain) in branch 'master':
bpo-30600: Fix error messages (condition order in Argument Clinic) (#2051)
https://github.com/python/cpython/commit/7445381c606faf20e253da42656db478a4349f8e


--

___
Python tracker 

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



[issue25409] fnmatch.fnmatch normalizes slashes/backslashes on Windows

2017-06-09 Thread Mariatta Wijaya

Changes by Mariatta Wijaya :


--
pull_requests: +2131

___
Python tracker 

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



[issue25409] fnmatch.fnmatch normalizes slashes/backslashes on Windows

2017-06-09 Thread Mariatta Wijaya

Changes by Mariatta Wijaya :


--
pull_requests: +2130

___
Python tracker 

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



[issue25409] fnmatch.fnmatch normalizes slashes/backslashes on Windows

2017-06-09 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:


New changeset e5f6e86c48c7b2eb9e1d6a0e72867b4d8b4720f3 by Mariatta (csabella) 
in branch 'master':
bpo-25409: Clarify fnmatch and fnmatchcase documentation (GH-1535)
https://github.com/python/cpython/commit/e5f6e86c48c7b2eb9e1d6a0e72867b4d8b4720f3


--

___
Python tracker 

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



[issue25409] fnmatch.fnmatch normalizes slashes/backslashes on Windows

2017-06-09 Thread Mariatta Wijaya

Changes by Mariatta Wijaya :


--
pull_requests: +2129

___
Python tracker 

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



[issue30266] AbstractContextManager should support __method__ = None

2017-06-09 Thread Jelle Zijlstra

Jelle Zijlstra added the comment:

Thanks for doing the merge and backport!

--

___
Python tracker 

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



[issue30603] textwrap: declining indent level has no test case

2017-06-09 Thread Jonathan Eunice

Changes by Jonathan Eunice :


--
pull_requests: +2128

___
Python tracker 

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



[issue30620] textwrap: dedent contains logic that can never execute

2017-06-09 Thread Jonathan Eunice

Changes by Jonathan Eunice :


--
pull_requests: +2126

___
Python tracker 

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



[issue30591] textwrap: placeholder backtracking special case lacks test coverage

2017-06-09 Thread Jonathan Eunice

Changes by Jonathan Eunice :


--
pull_requests: +2127

___
Python tracker 

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



[issue30266] AbstractContextManager should support __method__ = None

2017-06-09 Thread Guido van Rossum

Guido van Rossum added the comment:

Thanks Mariatta!

--

___
Python tracker 

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



[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2017-06-09 Thread Yury Selivanov

Changes by Yury Selivanov :


--
pull_requests: +2125

___
Python tracker 

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



[issue30620] textwrap: dedent contains logic that can never execute

2017-06-09 Thread Jonathan Eunice

New submission from Jonathan Eunice:

textwrap.dedent contains a bit of code that appears logical at first blush, but 
in fact can never execute under any input conditions.

Not only are the lines "dead code," they are the only thing (i.e. only 
non-debugging lines) now standing in the way of textwrap having 100% test 
coverage.

Here is the proof: 
https://gist.github.com/jonathaneunice/86f6a721e48c89e272a778530e8f758c

A PR removing the bogus lines is imminent.

--
components: Library (Lib)
messages: 295606
nosy: jonathaneunice
priority: normal
severity: normal
status: open
title: textwrap: dedent contains logic that can never execute
type: enhancement
versions: Python 3.7

___
Python tracker 

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



[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2017-06-09 Thread Yury Selivanov

Changes by Yury Selivanov :


--
pull_requests: +2124

___
Python tracker 

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



[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2017-06-09 Thread Yury Selivanov

Yury Selivanov added the comment:


New changeset a608d2d5a7f1aabe9bcbfc220135c5e126189390 by Yury Selivanov 
(Nikolay Kim) in branch 'master':
bpo-29406: asyncio SSL contexts leak sockets after calling close with certain 
servers (#409)
https://github.com/python/cpython/commit/a608d2d5a7f1aabe9bcbfc220135c5e126189390


--

___
Python tracker 

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



Re: Access flles on a Android device from Windows PC (Posting On Python-List Prohibited)

2017-06-09 Thread Fred Fishbin
Lawrence_D?Oliveiro  wrote:
>On Thursday, June 8, 2017 at 3:41:35 PM UTC+12, Fred Fishbin wrote:
>> Yup, that seems to be the deal, and there doesn't seem tpo be a really 
>>simple 
>> way to deal with this.
>
>The preferred way to do file transfers to/from Android devices over USB seems 
>to be via MTP nowadays .

Excellent!  Exactly what I was looking for!

thank you, Freddie
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: In which order many functions are executed in a python code

2017-06-09 Thread Terry Reedy

On 6/9/2017 8:14 PM, Erik wrote:

On 10/06/17 00:18, Terry Reedy wrote:

On 6/9/2017 6:00 PM, Erik wrote:

On 09/06/17 19:39, sondes kalboussi wrote:

Am a bit confused I was thinking that the order of execution of
functions in a code is from the first to the last function but
sometimes it is the opposite, for instance, some parameters or
outputs from the second function are called in the first one even
thou they are not global, any hints ?


As a complete and utter guess, I assume you are talking about 
something like:


result = func1(1, 2, func2(x, y))


On the right side of '=', Python evaluates expressions, to the extent 
possible, left to right.  The result of each evaluation is an object. 
In the above, the order is func1, 1, 2, func2, x, y, _tem = func2(x, 
y), func1(1, 2, _tem).  Note that function expressions can be more 
complicated than just a name, as in func_array[selector].


Terry, how does this help the OP who is obviously a learner, understand 
their problem?


Which is unclear in the absence of any example.

Erik, calm down.  I did not jump on what you said, I added detail. 
python-list is a public forum and answers are for any one who reads the 
thread, either now or in the future.  That is why answers are posted 
publicly, not privately.  (I happen to more often answer questions on 
StackOverflow, where questions and answers are more explicitly intended 
to constitute a growing database of programming knowledge, and where 
they are much more easily searched.)


That said, Python's uniform left-to-right rule is a simplifying rule 
which I found very helpful when *I* was a beginner.  It was a relief 
after my previous experience with a language (C) where so many behaviors 
are 'implementation defined' or worse, 'undefined'.  So I thought it 
might be helpful to this beginner and I expect it will be to someone. 
Knowing order of evaluation is crucial to understanding code where most 
anything might have a side-effect.


For example, what should be the order of output of this code?

def echo(x):
print(x)
return x

d = {echo(1): echo(2), echo(3): echo(4)}

In 3.5+, it is 1,2,3,4, as the rule says.  In early 3.x, 2.7, and some 
undetermined earlier versions, it was 2,1,4,3*.  When the bug was 
discovered, there was a thought that we should just document the 
exception, because fixing the bug could break code.  The decision was to 
leave maintenance versions, including 2.x, alone and fix the bug in the 
next py 3 version.


* If one views dict displays as abbreviating a series of assignments, 
such as d[echo(1)] = echo(2); d[echo(3)] = echo(4), the reversal makes 
some sense.


--
Terry Jan Reedy

--
https://mail.python.org/mailman/listinfo/python-list


Re: Access flles on a Android device from Windows PC (Posting On Python-List Prohibited)

2017-06-09 Thread Fred Fishbin
Lawrence_D?Oliveiro  wrote:
>On Thursday, June 8, 2017 at 3:41:35 PM UTC+12, Fred Fishbin wrote:
>> Yup, that seems to be the deal, and there doesn't seem tpo be a really 
>>simple 
>> way to deal with this.
>
>The preferred way to do file transfers to/from Android devices over USB seems 
>to be via MTP nowadays .

Excellent!  Exactly what I was looking for!

thank you, Freddie
-- 
https://mail.python.org/mailman/listinfo/python-list


[issue25958] Implicit ABCs have no means of "anti-registration"

2017-06-09 Thread Mariatta Wijaya

Changes by Mariatta Wijaya :


--
pull_requests:  -2123

___
Python tracker 

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



[issue30266] AbstractContextManager should support __method__ = None

2017-06-09 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:

PR has been backported to 3.6.

Thanks :)

--
resolution:  -> fixed
stage: backport needed -> resolved
status: open -> closed

___
Python tracker 

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



[issue25958] Implicit ABCs have no means of "anti-registration"

2017-06-09 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:


New changeset 753422f6e32e13d96319b090788f0474f1e21fc4 by Mariatta in branch 
'3.6':
bpo-30266: support "= None" pattern in AbstractContextManager (GH-1448) 
(GH-2054)
https://github.com/python/cpython/commit/753422f6e32e13d96319b090788f0474f1e21fc4


--
nosy: +Mariatta

___
Python tracker 

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



[issue30266] AbstractContextManager should support __method__ = None

2017-06-09 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:


New changeset 753422f6e32e13d96319b090788f0474f1e21fc4 by Mariatta in branch 
'3.6':
bpo-30266: support "= None" pattern in AbstractContextManager (GH-1448) 
(GH-2054)
https://github.com/python/cpython/commit/753422f6e32e13d96319b090788f0474f1e21fc4


--

___
Python tracker 

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



[issue25958] Implicit ABCs have no means of "anti-registration"

2017-06-09 Thread Mariatta Wijaya

Changes by Mariatta Wijaya :


--
pull_requests: +2123

___
Python tracker 

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



[issue30417] [buildbot] Disable the cpu resources on slow buildbots

2017-06-09 Thread Zachary Ware

Zachary Ware added the comment:


New changeset 3c7b67bb34bc537b6c0dd9c6e1e4a07dc227b467 by Zachary Ware in 
branch '2.7':
[2.7] bpo-30417: Disable `cpu` resource on AppVeyor (GH-1951)
https://github.com/python/cpython/commit/3c7b67bb34bc537b6c0dd9c6e1e4a07dc227b467


--

___
Python tracker 

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



[issue30417] [buildbot] Disable the cpu resources on slow buildbots

2017-06-09 Thread Zachary Ware

Zachary Ware added the comment:


New changeset 91581d4225e91e581f44d60d0b87c80778c36d1d by Zachary Ware in 
branch '3.5':
[3.5] bpo-30417: Disable `cpu` resource on AppVeyor (GH-1951)
https://github.com/python/cpython/commit/91581d4225e91e581f44d60d0b87c80778c36d1d


--

___
Python tracker 

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



[issue30417] [buildbot] Disable the cpu resources on slow buildbots

2017-06-09 Thread Zachary Ware

Zachary Ware added the comment:


New changeset e380c19b7e88d97d3497016f1065d6922415db1c by Zachary Ware in 
branch '3.6':
[3.6] bpo-30417: Disable `cpu` resource on AppVeyor (GH-1951)
https://github.com/python/cpython/commit/e380c19b7e88d97d3497016f1065d6922415db1c


--

___
Python tracker 

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



[issue29905] TypeErrors not formatting values correctly

2017-06-09 Thread Yury Selivanov

Changes by Yury Selivanov :


--
pull_requests: +2122

___
Python tracker 

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



[issue29905] TypeErrors not formatting values correctly

2017-06-09 Thread Yury Selivanov

Changes by Yury Selivanov :


--
pull_requests: +2121

___
Python tracker 

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



Re: Passing arguments to & executing, a python script on a remote machine from a python script on local machine (using ssh ?)

2017-06-09 Thread niteesh . k80
hey did you find the answer for this
-- 
https://mail.python.org/mailman/listinfo/python-list


[issue30617] IDLE: Add docstrings and unittests to outwin.py

2017-06-09 Thread Terry J. Reedy

Terry J. Reedy added the comment:

A1: yes, add
if __name__ == '__main__':
import unittest
unittest.main('idlelib.idle_test.test_outwin', verbosity=2, exit=False)

I will have to think about whether and how to add an htest.  The grep (find in 
files) test actually displays greps results in an outwin, and suggests rt 
clicking within the result window, so it really tests both grep and outwin 
modules.  Maybe this htest should be split.

A2. The current code tests whether the file exists *and* can be read.  It must 
have been read to appear in grep output.  But I am not sure this is true for 
names in tracebacks.  

B1. This is first test of an editor window.  Having the least code, it it 
probably the best place to start and learn ;-).

B2. The class level patterns are compiled to an instance array for each 
instance in which a user tries to go to file/line.  That should be most.  This 
looks to me like an attempted optimization (don't compile unless needed) that 
is a pessimization.  I think either A) the compiled patterns should be stored 
back on the class or B) raw and compiled patterns should be stored at module 
level.  They are not instance attributes and not really class attributes 
either.  Also, the code blocks that create file_line_progs and use it really 
belong in module level functions.  So lets try B.

Move stuff from class to module scope:

file_line_pats = [
   ...]
file_line_progs = None

def compile_progs():
global file_line_progs
file_line_progs = [re.compile(pat, re.IGNORECASE)
   for pat in file_line_pats]

def find_file_line(line_of_text):


# and simply method
   def goto_file_line(self, event=None): # in class
if not file_line_progs:
compile_progs()

Test for compile_progs (:
for pat, regex in zip(file_line_pats, file_line_progs):
assertEqual(regex.pattern, pat)

Then feed find_file_line lines that should and should not match.  Try to find 
at least 1 true-to-life line for each pattern. 

B3. In re, \d "matches any Unicode decimal digit (that is, any character in 
Unicode character category [Nd])". Builtin int (at least) accepts strings 
consisting of string literal, which is restricted to ascii digit. msg90878 says 
"int and float currently accept characters in category 'Nd'".  I am not sure if 
that mean *all* Nd chars.  We could test.  If the exception is impossible, it 
should not be caught.  (Dead code should be removed, but we must be sure it is 
dead ;-)

--

___
Python tracker 

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



[issue25958] Implicit ABCs have no means of "anti-registration"

2017-06-09 Thread Mariatta Wijaya

Changes by Mariatta Wijaya :


--
pull_requests:  -2115

___
Python tracker 

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



Re: Access flles on a Android device from Windows PC

2017-06-09 Thread Fred Fishbin
Um, no.  I *now* understand that USB Mass drive is no longer supported, but it 
was a legit question.

I'd still love if someone could post a code sample, or point me in the 
direction to a code snippet that would show me how to access the phone.  I know 
it can be done, its just not simple anymore.

Freddie

wxjmfa...@gmail.com wrote:
Le mardi 6 juin 2017 21:37:24 UTC+2, Fred Fishbin a écrit :
>> Hi
>> 
>> I want to write little program that my friend can run - he'll plug a USB 
>>drive 
>> into his Windows 7 PC, plug his phone in a USB port on same PC, then run my 
>> program and it'll xfer some audiobook files over for him.
>> 
>> I plugged the USB drive in and it became "G:\", but the phone plugged in and 
>> became just "SAMSUNG-SM-G930V", no drive designation, just a Portable Media 
>> Device.  Windows Explore can go there so the files are accessible, the phone 
>> isn't looking him out, but what do I use for a path?  I tried several 
>>different 
>> listdir()'s nothing worked.
>> 
>> Thoughts?
>> 
>> thanks, Freddie
>
>I hope your mounted external device is full of file names
>with plenty of Emojis...
>It will be very funny.

-- 
https://mail.python.org/mailman/listinfo/python-list


[issue30335] Document deprecated alias of assertNotRegex

2017-06-09 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:

Thanks!

--
resolution:  -> fixed
stage: backport needed -> resolved
status: open -> closed

___
Python tracker 

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



[issue30417] [buildbot] Disable the cpu resources on slow buildbots

2017-06-09 Thread Zachary Ware

Changes by Zachary Ware :


--
pull_requests: +2120

___
Python tracker 

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



[issue30335] Document deprecated alias of assertNotRegex

2017-06-09 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:


New changeset cabdba24b5cee036bd4963d2dcf5bf667e6d63c9 by Mariatta in branch 
'3.5':
[3.5] bpo-30335: Add deprecation alias entry for assertNotRegexpMatches 
(GH-1536) (GH-2056)
https://github.com/python/cpython/commit/cabdba24b5cee036bd4963d2dcf5bf667e6d63c9


--

___
Python tracker 

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



[issue30335] Document deprecated alias of assertNotRegex

2017-06-09 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:


New changeset 10c9a09ef4810f0235f5f585dcce70eca049604a by Mariatta in branch 
'3.6':
[3.6] bpo-30335: Add deprecation alias entry for assertNotRegexpMatches 
(GH-1536) (GH-2055)
https://github.com/python/cpython/commit/10c9a09ef4810f0235f5f585dcce70eca049604a


--

___
Python tracker 

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



[issue30417] [buildbot] Disable the cpu resources on slow buildbots

2017-06-09 Thread Zachary Ware

Changes by Zachary Ware :


--
pull_requests: +2119

___
Python tracker 

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



[issue30417] [buildbot] Disable the cpu resources on slow buildbots

2017-06-09 Thread Zachary Ware

Changes by Zachary Ware :


--
pull_requests: +2118

___
Python tracker 

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



[issue30417] [buildbot] Disable the cpu resources on slow buildbots

2017-06-09 Thread Zachary Ware

Zachary Ware added the comment:


New changeset 42e3acda86829def9adc354fbee77597b849bf9e by Zachary Ware in 
branch 'master':
bpo-30417: Disable `cpu` resource on AppVeyor (GH-1951)
https://github.com/python/cpython/commit/42e3acda86829def9adc354fbee77597b849bf9e


--

___
Python tracker 

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



[issue30335] Document deprecated alias of assertNotRegex

2017-06-09 Thread Mariatta Wijaya

Changes by Mariatta Wijaya :


--
pull_requests: +2117

___
Python tracker 

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



[issue30335] Document deprecated alias of assertNotRegex

2017-06-09 Thread Mariatta Wijaya

Changes by Mariatta Wijaya :


--
pull_requests: +2116

___
Python tracker 

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



[issue25958] Implicit ABCs have no means of "anti-registration"

2017-06-09 Thread Mariatta Wijaya

Changes by Mariatta Wijaya :


--
pull_requests: +2115

___
Python tracker 

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



[issue30266] AbstractContextManager should support __method__ = None

2017-06-09 Thread Mariatta Wijaya

Changes by Mariatta Wijaya :


--
pull_requests: +2114

___
Python tracker 

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



[issue30619] typing.Union doc incoherence in case a class and its subclass are present

2017-06-09 Thread khyox

New submission from khyox:

In https://docs.python.org/3.6/library/typing.html#typing.Union, when giving 
details for Union and in the case when a class and its subclass are present, 
the doc states:

When a class and its subclass are present, the former is skipped, e.g.:

Union[int, object] == object

But it is the example (and not the text) which is consistent with PEP 483:

Corollary: Union[..., object, ...] returns object

So, the proposed correction would be substitute 'former' for 'latter':

When a class and its subclass are present, the latter is skipped, e.g.:

Union[int, object] == object

--
assignee: docs@python
components: Documentation
messages: 295593
nosy: docs@python, khyox
priority: normal
severity: normal
status: open
title: typing.Union doc incoherence in case a class and its subclass are present
versions: Python 3.5, Python 3.6

___
Python tracker 

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



Re: In which order many functions are executed in a python code

2017-06-09 Thread Erik

On 10/06/17 00:18, Terry Reedy wrote:

On 6/9/2017 6:00 PM, Erik wrote:

On 09/06/17 19:39, sondes kalboussi wrote:

Am a bit confused I was thinking that the order of execution of
functions in a code is from the first to the last function but
sometimes it is the opposite, for instance, some parameters or
outputs from the second function are called in the first one even
thou they are not global, any hints ?


As a complete and utter guess, I assume you are talking about 
something like:


result = func1(1, 2, func2(x, y))


On the right side of '=', Python evaluates expressions, to the extent 
possible, left to right.  The result of each evaluation is an object. In 
the above, the order is func1, 1, 2, func2, x, y, _tem = func2(x, y), 
func1(1, 2, _tem).  Note that function expressions can be more 
complicated than just a name, as in func_array[selector].


Terry, how does this help the OP who is obviously a learner, understand 
their problem?


In this case, func2() will be called before func1(). This is because 
func1() needs three parameters and one of those parameters is the 
return value of func2().


Given r = f[a](1, g[b](c)), your rule above does not determine whether 
f[a] or g[b] is determined first.  In at least some C implementations, 
g[b] would be.  Since the call g[b](c) could affect the bindings of f, 
a, and the result of f[a], the rule that f[a] is calculated before g, b, 
c, g[b], and g[b](c) may make a real difference.


Terry, how does this help the OP who is obviously a learner, understand 
their problem?


Python can not know the return value of func2() without calling it. 
Therefore, to be able to call func1() and give it its three 
parameters, it must first call func2() to find out what that third 
parameter value is.


It's equivalent to:

func2result = func2(x, y)
result = func1(1, 2, func2result)


Since the func2 call could have the side effect of rebinding 'func1', 
this is not exactly equivalent.


Whilst this is strictly correct, Terry, how does this help the OP who is 
obviously a learner, understand their problem?


I was trying to help someone by writing in terms I thought would help 
them to understand the question they posed (if I was correct in my 
assumption of what that question actually meant).


Why have you just jumped on everything I've said with responses that are 
really not what someone posting to -list for the first time might even 
understand?


If you want to prove something to me, then send something to me. I 
really don't understand why you would respond in this way.


E.
--
https://mail.python.org/mailman/listinfo/python-list


[issue30618] readlink for pathlib paths

2017-06-09 Thread smheidrich

New submission from smheidrich:

Is there any reason why there is no equivalent of os.readlink in pathlib.Path? 
Note that Path.resolve does *not* fit the bill, as it always produces an 
absolute path, whereas readlink just spits out the symlink target exactly the 
way it is stored, which may be relative to the symlink itself:

>>> import pathlib, os
>>> p = pathlib.Path("/lib64/libc.so.6")
>>> p.resolve()
PosixPath('/lib64/libc-2.24.so')
>>> os.readlink(str(p))
'libc-2.24.so'

--
components: Library (Lib)
messages: 295592
nosy: smheidrich
priority: normal
severity: normal
status: open
title: readlink for pathlib paths
type: enhancement
versions: Python 3.7

___
Python tracker 

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



[issue30600] Error message incorrect when index is called with keyword argument ("[].index(x=2)")

2017-06-09 Thread SylvainDe

Changes by SylvainDe :


--
pull_requests: +2113

___
Python tracker 

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



Re: In which order many functions are executed in a python code

2017-06-09 Thread Terry Reedy

On 6/9/2017 6:00 PM, Erik wrote:

On 09/06/17 19:39, sondes kalboussi wrote:

Am a bit confused I was thinking that the order of execution of
functions in a code is from the first to the last function but
sometimes it is the opposite, for instance, some parameters or
outputs from the second function are called in the first one even
thou they are not global, any hints ?


As a complete and utter guess, I assume you are talking about something 
like:


result = func1(1, 2, func2(x, y))


On the right side of '=', Python evaluates expressions, to the extent 
possible, left to right.  The result of each evaluation is an object. 
In the above, the order is func1, 1, 2, func2, x, y, _tem = func2(x, y), 
func1(1, 2, _tem).  Note that function expressions can be more 
complicated than just a name, as in func_array[selector].


In this case, func2() will be called before func1(). This is because 
func1() needs three parameters and one of those parameters is the return 
value of func2().


Given r = f[a](1, g[b](c)), your rule above does not determine whether 
f[a] or g[b] is determined first.  In at least some C implementations, 
g[b] would be.  Since the call g[b](c) could affect the bindings of f, 
a, and the result of f[a], the rule that f[a] is calculated before g, b, 
c, g[b], and g[b](c) may make a real difference.


Python can not know the return value of func2() without calling it. 
Therefore, to be able to call func1() and give it its three parameters, 
it must first call func2() to find out what that third parameter value is.


It's equivalent to:

func2result = func2(x, y)
result = func1(1, 2, func2result)


Since the func2 call could have the side effect of rebinding 'func1', 
this is not exactly equivalent.


If that is _not_ what you are talking about, then like Thomas says - you 
need to paste some code and explain what you are confused by.


Indeed.

--
Terry Jan Reedy

--
https://mail.python.org/mailman/listinfo/python-list


[issue30508] "Task exception was never retrieved" reported for a canceled task

2017-06-09 Thread Yury Selivanov

Changes by Yury Selivanov :


--
pull_requests: +2112

___
Python tracker 

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



[issue29870] ssl socket leak

2017-06-09 Thread Yury Selivanov

Changes by Yury Selivanov :


--
pull_requests: +2111

___
Python tracker 

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



[issue29870] ssl socket leak

2017-06-09 Thread Yury Selivanov

Changes by Yury Selivanov :


--
pull_requests: +2110

___
Python tracker 

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



[issue29743] Closing transport during handshake process leaks open socket

2017-06-09 Thread Yury Selivanov

Yury Selivanov added the comment:

Merged. Thank you Nikolay!

--
nosy: +yselivanov
resolution:  -> fixed
stage:  -> resolved
status: open -> closed

___
Python tracker 

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



[issue30038] Race condition in how trip_signal writes to wakeup fd

2017-06-09 Thread Yury Selivanov

Yury Selivanov added the comment:

> It sounds like a bug to me, and thus suitable to backport, but it certainly 
> would be worth getting other opinions since this is a tricky and critical 
> area.

I think it's safe to merge this in 3.6.

--

___
Python tracker 

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



[issue29870] ssl socket leak

2017-06-09 Thread Yury Selivanov

Changes by Yury Selivanov :


--
pull_requests: +2109

___
Python tracker 

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



[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2017-06-09 Thread Yury Selivanov

Yury Selivanov added the comment:

> There are two PRs for this issue. Is one depending on the other?

No, they all address slightly different bugs. All need to be merged though.

> PR 409 has merge conflict that needs to be resolved.

Yes, it seems that it's based on 3.6 branch. I asked the author to rebase it.

--

___
Python tracker 

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



[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2017-06-09 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:

There are two PRs for this issue. Is one depending on the other?

PR 409 has merge conflict that needs to be resolved.

--
nosy: +Mariatta

___
Python tracker 

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



[issue30617] IDLE: Add docstrings and unittests to outwin.py

2017-06-09 Thread Cheryl Sabella

Cheryl Sabella added the comment:

Questions about outwin.py:

1. Should a main() be added for htest and unittest?

2. In _file_line_helper, to test if the file exists, the file is opened, then 
closed.  Would os.path.isfile work here?

Questions about tests:
1. OutputWindow is an EditorWindow and EditorWindow has a superclass of Object. 
 I didn't know how to make tests to test the text binding for goto-file-line.  
Or how to test the other functions.  I tried emulating the dialogs, but 
couldn't get it to work.  Is there any existing test for another module I can 
study and copy?  EditorWindow didn't really have any tests for this yet, but if 
I learn how to do it here, I can apply it there.

2. The `goto_line_file` function compiles the class attribute for the matching 
patterns `file_line_pats` which is then used by `_file_line_helper`.  I had 
trouble writing a test just for the helper without copying this pattern compile 
code from the other function.  I wasn't sure how to get around that.  Are the 
patterns at the class level so that they are cahced for all the calls?  How 
should I change the test?  Can the patterns be compiled inside 
`_file_line_helper`?

3.  Is the test of `_file_line_helper` the right way to go with the tests?  
Should examples of each pattern be included?  I didn't add a test for the 
TypeError because the pattens didn't seem like they would match on anything but 
digits.  Should I add a pattern for testing just for code coverage?

Thanks!

--

___
Python tracker 

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



[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2017-06-09 Thread Mariatta Wijaya

Changes by Mariatta Wijaya :


--
stage:  -> patch review
versions: +Python 3.7

___
Python tracker 

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



Re: In which order many functions are executed in a python code

2017-06-09 Thread Erik

On 09/06/17 19:39, sondes kalboussi wrote:

Am a bit confused I was thinking that the order of execution of
functions in a code is from the first to the last function but
sometimes it is the opposite, for instance, some parameters or
outputs from the second function are called in the first one even
thou they are not global, any hints ?


As a complete and utter guess, I assume you are talking about something 
like:


result = func1(1, 2, func2(x, y))

In this case, func2() will be called before func1(). This is because 
func1() needs three parameters and one of those parameters is the return 
value of func2().


Python can not know the return value of func2() without calling it. 
Therefore, to be able to call func1() and give it its three parameters, 
it must first call func2() to find out what that third parameter value is.


It's equivalent to:

func2result = func2(x, y)
result = func1(1, 2, func2result)

If that is _not_ what you are talking about, then like Thomas says - you 
need to paste some code and explain what you are confused by.


E.
--
https://mail.python.org/mailman/listinfo/python-list


[issue30617] IDLE: Add docstrings and unittests to outwin.py

2017-06-09 Thread Cheryl Sabella

New submission from Cheryl Sabella:

For issue 30422.

--

___
Python tracker 

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



[issue30617] IDLE: Add docstrings and unittests to outwin.py

2017-06-09 Thread Cheryl Sabella

Changes by Cheryl Sabella :


--
pull_requests: +2108

___
Python tracker 

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



[issue30617] IDLE: Add docstrings and unittests to outwin.py

2017-06-09 Thread Cheryl Sabella

Changes by Cheryl Sabella :


--
assignee: terry.reedy
components: IDLE
nosy: csabella, terry.reedy
priority: normal
severity: normal
status: open
title: IDLE: Add docstrings and unittests to outwin.py
type: enhancement
versions: Python 3.7

___
Python tracker 

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



[issue29743] Closing transport during handshake process leaks open socket

2017-06-09 Thread Yury Selivanov

Changes by Yury Selivanov :


--
pull_requests: +2107

___
Python tracker 

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



[issue29743] Closing transport during handshake process leaks open socket

2017-06-09 Thread Yury Selivanov

Changes by Yury Selivanov :


--
pull_requests: +2106

___
Python tracker 

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



[issue30192] hashlib module breaks with 64-bit kernel and 32-bit user space

2017-06-09 Thread Neil Schemenauer

Changes by Neil Schemenauer :


--
pull_requests: +2105

___
Python tracker 

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



[issue28907] test_pydoc fails if build is in sub-directory

2017-06-09 Thread Neil Schemenauer

Changes by Neil Schemenauer :


--
pull_requests: +2104

___
Python tracker 

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



[issue30609] Python 3.6.1 fails to generate 256 colors on Cygwin based 64-bit Windows 10

2017-06-09 Thread Terry J. Reedy

Terry J. Reedy added the comment:

Richard, when replying by email, please strip quoted text except for an 
occasional line or two.  (See example of limited in-context quote below.)

A bug, for the purpose of this tracker, is a discrepancy between between the 
docs written by the PSF's core development team and the code provided by the 
same.  The PSF curses module is documented as unix-only.  In particular, "This 
extension module is designed to match the API of ncurses, an open-source curses 
library hosted on Linux and the BSD variants of Unix."  It does not run on the 
PSF (python.org) Windows distribution, because there is no C interface to a 
Windows implementation of curses.

>>> import curses  # 64-bit 3.6.1 on Win 10 using python.org installer
Traceback (most recent call last):
  File "", line 1, in 
import curses
  File "C:\Programs\Python36\lib\curses\__init__.py", line 13, in 
from _curses import *
ModuleNotFoundError: No module named '_curses'

Anything Cygwin does to improve on this is their responsibility.

> how do you explain my success in running my wxPython emulation on all Cygwin 
> releases since 2007

One or more people on the wxPython and/or Cygwin and/or other teams exerted the 
effort to make this happen.

--
nosy: +terry.reedy
resolution:  -> third party
stage: test needed -> resolved
status: open -> closed

___
Python tracker 

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



Re: Time Calculation to Tag a Sentence/File (Posting On Python-List Prohibited)

2017-06-09 Thread subhabangalore
On Saturday, June 10, 2017 at 1:53:07 AM UTC+5:30, Paul Barry wrote:
> This is a strange statement.  Python 3 doesn't even clash with Python 2, so
> I can't think of how it might cause problems with Java.  I've run 2 and 3
> on Windows 7, Vista, and 10 without any issues.
> 
> Paul.
> 
> On 9 June 2017 at 20:14,  wrote:
> 
> > On Friday, June 9, 2017 at 1:18:35 PM UTC+5:30, Lawrence D’Oliveiro wrote:
> > > 
> > > > ... (with Python2.7 on MS-Windows 7) ...
> > >
> > > Why?
> >
> > Are you asking why not Python3? My Java based colleagues say it clashes
> > with Java, so we try to work around Python2.x.
> > --
> > https://mail.python.org/mailman/listinfo/python-list
> >
> 
> 
> 
> -- 
> 
> Lecturer, Computer Networking: Institute of Technology, Carlow, Ireland.

Dear Sir,
I believe I can take your word. I'd take your word and send to my project 
manager, let me check his view now. 
Regards,
RP
-- 
https://mail.python.org/mailman/listinfo/python-list


[issue30192] hashlib module breaks with 64-bit kernel and 32-bit user space

2017-06-09 Thread Neil Schemenauer

Neil Schemenauer added the comment:

Create PR 2042 for backport to 3.6 branch.

--

___
Python tracker 

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



[issue29324] test_aead_aes_gcm fails on Kernel 4.9

2017-06-09 Thread Neil Schemenauer

Neil Schemenauer added the comment:

This bug can be closed.  The fix is in the master branch (commit 
9764c151c51480a) and has also been backported to the "3.6" branch (git commit 
4ac01f0ff3e).  The fork for 3.6.1rc1 happened before the backport which is why 
3.6.1 doesn't have the fix.

--
resolution:  -> fixed
stage:  -> resolved
status: open -> closed

___
Python tracker 

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



[issue30395] deadlocked child process after forking on pystate.c's head_mutex

2017-06-09 Thread Łukasz Langa

Łukasz Langa added the comment:

If you'd like to fix the miniscule leak this introduces, feel free but I don't 
think it's worth the additional complexity. Closing this for now as it solved 
an issue for us internally and we haven't observed any memory-related issues 
due to it.

--
resolution: not a bug -> fixed
stage: needs patch -> resolved
status: open -> closed

___
Python tracker 

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



[issue30608] argparse calculates string widths incorrectly

2017-06-09 Thread Terry J. Reedy

Terry J. Reedy added the comment:

For future reference, small code examples should be including in the message or 
uploaded as a .py file.

A unicode string is a sequence of codepoints.  The length is defined as the 
number of codepoints.  I cannot see that your example demonstrates a bug in 
argparse.

--
nosy: +terry.reedy
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

___
Python tracker 

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



[issue30039] Resuming a 'yield from' stack is broken if a signal arrives in the middle

2017-06-09 Thread Yury Selivanov

Yury Selivanov added the comment:

I don't think we need to. Isn't 3.5 is in security/important bug fix mode? I 
don't view this change as an important one (it's just a nice thing to have).

--

___
Python tracker 

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



[issue30039] Resuming a 'yield from' stack is broken if a signal arrives in the middle

2017-06-09 Thread STINNER Victor

STINNER Victor added the comment:

Why not backporting the fix to 3.5 as well?

--

___
Python tracker 

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



[issue27585] asyncio.Lock deadlock after cancellation

2017-06-09 Thread Yury Selivanov

Changes by Yury Selivanov :


--
resolution:  -> fixed
stage:  -> resolved
status: open -> closed
versions: +Python 3.5, Python 3.7

___
Python tracker 

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



[issue30039] Resuming a 'yield from' stack is broken if a signal arrives in the middle

2017-06-09 Thread Yury Selivanov

Changes by Yury Selivanov :


--
resolution:  -> fixed
stage:  -> resolved
status: open -> closed
type:  -> behavior

___
Python tracker 

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



[issue30039] Resuming a 'yield from' stack is broken if a signal arrives in the middle

2017-06-09 Thread Yury Selivanov

Yury Selivanov added the comment:


New changeset e89f95bfd0881a9b80c3b1430d154a77bdf5a824 by Yury Selivanov in 
branch '3.6':
[3.6] bpo-30039: Don't run signal handlers while resuming a yield from stack 
(GH-1081) (#1640)
https://github.com/python/cpython/commit/e89f95bfd0881a9b80c3b1430d154a77bdf5a824


--

___
Python tracker 

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



[issue30569] Tutorial section 2.1 has *nix example at 3.7, but Windows at 3.6

2017-06-09 Thread Terry J. Reedy

Terry J. Reedy added the comment:

There is a lot more wrong with the Windows part:

 "On Windows machines, the Python installation is usually placed in 
C:\Python36," is no longer true.  All-users install is, by default, in Program 
Files.  Current-user install is, by default, buried somewhere forgettable in 
the hidden /users/USER/appdata dir.

" you can type the following command into the command prompt in a DOS box:"  It 
has been a long time since Command Prompt was widely called a 'DOS box'.

set path=%path%

The is not permanent, at least for non-admin user.  One can add the install 
dir, whatever it is, to path during installation.  Or one can use 'py -3.6'

--
nosy: +steve.dower, terry.reedy

___
Python tracker 

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



[issue30609] Python 3.6.1 fails to generate 256 colors on Cygwin based 64-bit Windows 10

2017-06-09 Thread Richard S. Gordon

Richard S. Gordon added the comment:

> On Jun 9, 2017, at 4:41 PM, STINNER Victor  wrote:
> 
> 
> STINNER Victor added the comment:
> 
> Cygwin is not currently supported by CPython, so I suggest to close this
> issue. I mean: please report the issue to Cygwin, not CPython.
> 
> --
> 
> ___
> Python tracker 
> 
> ___

Before you close this issue, answer how do you explain my success in running my 
wxPython emulation on all Cygwin releases since 2007 (Python 2.6.8) to 2017 
(2.7.13 and Python 3.0-3.5.2 and 3.6.0-3.6.2)?

Richard S. Gordon

--

___
Python tracker 

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



[issue30609] Python 3.6.1 fails to generate 256 colors on Cygwin based 64-bit Windows 10

2017-06-09 Thread Masayuki Yamamoto

Masayuki Yamamoto added the comment:

@rigordo Are you using mintty? If I remember rightly, mintty hasn't been set 
256 colors after installation (at least in past release, I'm not sure 
currently).

--

___
Python tracker 

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



[issue30594] Refcounting mistake in _ssl.c

2017-06-09 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Yes, this is now resolved, thanks to Nathaniel.

--
resolution:  -> fixed
stage: backport needed -> resolved
status: open -> closed

___
Python tracker 

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




[issue30561] sync-up gammavariate and expovariate code

2017-06-09 Thread Terry J. Reedy

Changes by Terry J. Reedy :


--
nosy: +rhettinger

___
Python tracker 

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



[issue30594] Refcounting mistake in _ssl.c

2017-06-09 Thread Jim Jewett

Jim Jewett added the comment:

Serhiy -- do your last two messages mean that this is now resolved?

--
nosy: +Jim.Jewett

___
Python tracker 

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



[issue30524] iter(classmethod, sentinel) broken for Argument Clinic class methods?

2017-06-09 Thread STINNER Victor

STINNER Victor added the comment:

Sorry for the regression, sadly, it wasn't catch before by any test. I added a 
lot of new tests, so we should cover more cases. Oh, and the bug has been fixed 
in 3.6 :-)

--
resolution:  -> fixed
stage: needs patch -> resolved
status: open -> closed

___
Python tracker 

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



[issue27585] asyncio.Lock deadlock after cancellation

2017-06-09 Thread Guido van Rossum

Changes by Guido van Rossum :


--
nosy:  -gvanrossum

___
Python tracker 

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



[issue27425] Tests fail because of git's newline preferences on Windows

2017-06-09 Thread STINNER Victor

STINNER Victor added the comment:

Wait, why is this issue still open? Tests now pass on Windows on all
branches. The issue can be closed, except if I missed something?

--

___
Python tracker 

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



[issue30609] Python 3.6.1 fails to generate 256 colors on Cygwin based 64-bit Windows 10

2017-06-09 Thread STINNER Victor

STINNER Victor added the comment:

Cygwin is not currently supported by CPython, so I suggest to close this
issue. I mean: please report the issue to Cygwin, not CPython.

--

___
Python tracker 

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



[issue27585] asyncio.Lock deadlock after cancellation

2017-06-09 Thread Yury Selivanov

Changes by Yury Selivanov :


--
pull_requests: +2103

___
Python tracker 

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



[issue29324] test_aead_aes_gcm fails on Kernel 4.9

2017-06-09 Thread STINNER Victor

STINNER Victor added the comment:

The fix was also merged to master. It should be backported to 3.6. Neil, do
you want to try to backport it?

--

___
Python tracker 

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



[issue27585] asyncio.Lock deadlock after cancellation

2017-06-09 Thread Yury Selivanov

Changes by Yury Selivanov :


--
pull_requests: +2102

___
Python tracker 

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



[issue27585] asyncio.Lock deadlock after cancellation

2017-06-09 Thread Yury Selivanov

Yury Selivanov added the comment:


New changeset 7be651c7aad8e4d46012205811b58ef127b08e0e by Yury Selivanov in 
branch 'master':
bpo-27585: Add a NEWS entry for #1031 (#2036)
https://github.com/python/cpython/commit/7be651c7aad8e4d46012205811b58ef127b08e0e


--

___
Python tracker 

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



[issue30593] sqlite3 executescript does not respect isolation_level?

2017-06-09 Thread Jim Jewett

Jim Jewett added the comment:

Do you have a test case that could be used to verify a patch?
(Or even a full patch?)

--
nosy: +Jim.Jewett
stage:  -> needs patch
type:  -> behavior

___
Python tracker 

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



[issue30335] Document deprecated alias of assertNotRegex

2017-06-09 Thread Mariatta Wijaya

Changes by Mariatta Wijaya :


--
assignee: docs@python -> Mariatta

___
Python tracker 

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



[issue30524] iter(classmethod, sentinel) broken for Argument Clinic class methods?

2017-06-09 Thread STINNER Victor

STINNER Victor added the comment:


New changeset b7577456c430283f8b7ec4e914b701cb943cc69b by Victor Stinner in 
branch '3.6':
bpo-30524: Write unit tests for FASTCALL (#2022) (#2030)
https://github.com/python/cpython/commit/b7577456c430283f8b7ec4e914b701cb943cc69b


--

___
Python tracker 

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



[issue30335] Document deprecated alias of assertNotRegex

2017-06-09 Thread Mariatta Wijaya

Changes by Mariatta Wijaya :


--
assignee:  -> docs@python
components: +Documentation -Tests
nosy: +docs@python
stage:  -> backport needed
versions: +Python 3.5, Python 3.6

___
Python tracker 

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



[issue30335] Document deprecated alias of assertNotRegex

2017-06-09 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:


New changeset 74921ed8941fce14c2a53dc7280f43eb01fe4ed8 by Mariatta (Jim 
Fasarakis-Hilliard) in branch 'master':
bpo-30335: Add deprecation alias entry for assertNotRegexpMatches (GH-1536)
https://github.com/python/cpython/commit/74921ed8941fce14c2a53dc7280f43eb01fe4ed8


--
nosy: +Mariatta

___
Python tracker 

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



  1   2   3   >