[issue35633] test_eintr: test_lockf() fails with "PermissionError: [Errno 13] Permission denied" on AIX

2019-01-05 Thread Michael Felt

Michael Felt  added the comment:

I had tried “wb+”, not “w+b”. Is there a difference? I forget if I tried just 
“w+”. 

But I’ll do them anyway/again to be sure. 

Sent from my iPhone

> On 4 Jan 2019, at 23:43, STINNER Victor  wrote:
> 
> 
> Change by STINNER Victor :
> 
> 
> --
> title: test_eintr fails on AIX since fcntl functions were modified -> 
> test_eintr: test_lockf() fails with "PermissionError: [Errno 13] Permission 
> denied" on AIX
> 
> ___
> Python tracker 
> 
> ___
>

--

___
Python tracker 

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



[issue35662] Windows #define _PY_EMULATED_WIN_CV 0 bug

2019-01-05 Thread Jeff Robbins


Jeff Robbins  added the comment:

I searched harder.  :-)

https://bugs.python.org/issue29871

I see that someone else already noticed this broken function, but I guess
it was left broken because of other issues with using condition variables
instead of the emulated ones?

Still, the code is wrong as written...

Jeff

On Sat, Jan 5, 2019, 1:11 AM Steve Dower 
> Steve Dower  added the comment:
>
> There's an existing issue for this somewhere - we've tried a couple times
> to switch over and run into various issues. I'm not in a place to find it
> right now, but worth looking.
>
> --
>
> ___
> Python tracker 
> 
> ___
>

--

___
Python tracker 

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



[issue35634] kwargs regression when there are multiple entries with the same key

2019-01-05 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

Ammar is right. This is a consequence of issue27358. Issue27358 was merely an 
optimization necessary for bytecode changes in 3.6. It was not noticed that it 
changes also the behavior for multidict kwargs. But I think that it was correct 
change. Specifying multiple keyword arguments with the same name is an error, 
and it does not matter whether names are duplicated in different kwargs or in 
the same kwarg. I think it is worth to ensure that duplicated names are 
forbidden in the case of a single kwarg too. Since kwarg should be converted to 
a dict, this check should not add significant overhead.

3.5 and 3.6 are in security-only fixes mode. And I think it is not worth to do 
such changes in 3.7. This could break working user code (even if can be 
considered incorrect), and we should avoid a breakage in bugfix releases 
without need.

I take it.

--
assignee:  -> serhiy.storchaka
components: +Interpreter Core
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



[issue35606] Add prod() function to the math module

2019-01-05 Thread Antoine Pitrou


Antoine Pitrou  added the comment:

For the record, I would have to look up the documentation everytime I encounter 
"comb" and "perm", while the full names are intuitive to me.

"prod" and "fact" feel somewhat less obscure.

I suppose there are two possible audiences here:
- the expert math / itertools developer that values concise names when typing 
in complex expressions
- the occasional math / itertools user that would have to look up any 
non-intuitive name on every encounter

--

___
Python tracker 

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



[issue35653] All regular expression match groups are the empty string

2019-01-05 Thread adiba


Change by adiba :


--
nosy:  -adiba, ezio.melotti, mrabarnett

___
Python tracker 

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



[issue35638] Introduce fixed point locale aware format type for floating point numbers

2019-01-05 Thread Łukasz Stelmach

Łukasz Stelmach  added the comment:

Indeed. Thank you. I was sure I had tried this. However, this is still only a 
workaround and not the solution I need. I am working on a project now which 
uses pint https://pint.readthedocs.io/en/latest/ which uses format() and its 
relatives.

With "n" format present Python is missing locale-aware "f" formatter anyway.

--

___
Python tracker 

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



[issue35634] kwargs regression when there are multiple entries with the same key

2019-01-05 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

> (Just curious, what does d['a'] return?)

I was curious too and some results

$ python
Python 3.7.1rc2 (v3.7.1rc2:6c06ef7dc3, Oct 13 2018, 05:10:29)
[Clang 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import multidict
>>> d = multidict.CIMultiDict([('a', 1), ('a', 2)])
>>> d['a']
1
>>> d.keys()
_KeysView('a', 'a')
>>> d.values()
_ValuesView(1, 2)
>>> d.items()
_ItemsView('a': 1, 'a': 2)
>>> dict(d)
{'a': 1}

In the original issue where PEP 448 was implemented there were some discussions 
around duplicates in kwargs. msg234413 for Guido's call on duplicates and the 
messages below discuss some more scenarios about overriding/rejecting 
duplicates. PEP 448 also has a note on duplicates in 
https://www.python.org/dev/peps/pep-0448/#specification

--
nosy: +xtreak

___
Python tracker 

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



[issue35665] Function ssl.create_default_context raises exception on Windows 10 when called with ssl.Purpose.SERVER_AUTH) attribute

2019-01-05 Thread Vladimir Perić

New submission from Vladimir Perić :

In Python 3.7.1 on Windows 10 ssl library function call 
ssl.create_default_context(ssl.Purpose.SERVER_AUTH) raises an ssl error:

File "C:\Python37\lib\ssl.py", line 471, in _load_windows_store_certs
self.load_verify_locations(cadata=certs)
ssl.SSLError: nested asn1 error (_ssl.c:3926)

In Python 3.6.4 same function call raises no error.

--
assignee: christian.heimes
components: SSL
messages: 333054
nosy: christian.heimes, pervlad
priority: normal
severity: normal
status: open
title: Function ssl.create_default_context raises exception on Windows 10  when 
called with  ssl.Purpose.SERVER_AUTH) attribute
type: behavior
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



[issue35665] Function ssl.create_default_context raises exception on Windows 10 when called with ssl.Purpose.SERVER_AUTH) attribute

2019-01-05 Thread Vladimir Perić

Vladimir Perić  added the comment:

Same outcome in Python 3.7.2.
See first comment for detailed explanation of issue.

--

___
Python tracker 

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



[issue24928] mock.patch.dict spoils order of items in collections.OrderedDict

2019-01-05 Thread Emmanuel Arias


Emmanuel Arias  added the comment:

Hi xtreak,

> Thanks @nekobon for the patch. I am triaging old mock related issues. I think 
> dict insertion order is maintained from 3.6 and guaranteed with 3.7 and 
> above. But it would be good to add the unit test in the patch as a PR. I ran 
> the test on master and it passes.

I am running the test on master and fail. I don't think that the orderdict on 
patch.dict is implement. 

Or maybe I am wronging somewhere

--

___
Python tracker 

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



[issue24928] mock.patch.dict spoils order of items in collections.OrderedDict

2019-01-05 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

Can you please post the error and the command to run the test? On applying the 
patch on master I cannot see any errors with below commands : 

# Applying the patch with only test

$ wget https://bugs.python.org/file40488/issue24928.patch
$ git apply issue24928.patch
$ git checkout Lib/unittest/mock.py # Only tests are needed

# Running tests with no errors

* ./python.exe Lib/unittest/test/testmock/ 
* ./python.exe -m unittest -v unittest.test.testmock
* ./python.exe -m unittest -v unittest.test.testmock.testpatch

I can see an error running the file separately using `./python.exe 
Lib/unittest/test/testmock/testpatch.py` but I don't think it's related to the 
patch : 

./python.exe Lib/unittest/test/testmock/testpatch.py
F
==
FAIL: test_special_attrs (__main__.PatchTest)
--
Traceback (most recent call last):
  File "Lib/unittest/test/testmock/testpatch.py", line 1870, in 
test_special_attrs
self.assertEqual(foo.__module__, 'unittest.test.testmock.testpatch')
AssertionError: '__main__' != 'unittest.test.testmock.testpatch'
- __main__
+ unittest.test.testmock.testpatch


--
Ran 97 tests in 0.704s

FAILED (failures=1)

Build info

$ ./python.exe
Python 3.8.0a0 (heads/master:47a2fced84, Jan  4 2019, 10:36:15)

--
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



[issue24928] mock.patch.dict spoils order of items in collections.OrderedDict

2019-01-05 Thread Emmanuel Arias


Emmanuel Arias  added the comment:

Sorry I was wrong.

On 

```python
foo = OrderedDict()
foo['a'] = object()
foo['b'] = 'something'
```

I was write "first" and "second" like key and fail in

```python
@patch.dict(foo, OrderedDict(update_values))
def test():
self.assertEqual(list(foo), sorted(foo))

test()
```

Sorry.

Now I am sending the PR

--

___
Python tracker 

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



[issue24928] mock.patch.dict spoils order of items in collections.OrderedDict

2019-01-05 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

No problem :) I think the test can use a context manager instead of using 
test() and a decorator but that can be discussed on the PR.

Thanks!

--

___
Python tracker 

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



[issue24928] mock.patch.dict spoils order of items in collections.OrderedDict

2019-01-05 Thread Emmanuel Arias


Change by Emmanuel Arias :


--
pull_requests: +10871

___
Python tracker 

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



[issue24928] mock.patch.dict spoils order of items in collections.OrderedDict

2019-01-05 Thread Emmanuel Arias


Change by Emmanuel Arias :


--
pull_requests: +10871, 10872

___
Python tracker 

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



[issue24928] mock.patch.dict spoils order of items in collections.OrderedDict

2019-01-05 Thread Emmanuel Arias


Change by Emmanuel Arias :


--
pull_requests: +10871, 10872, 10873

___
Python tracker 

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



[issue35584] Wrong statement about ^ in howto/regex.rst

2019-01-05 Thread Julien Palard


Julien Palard  added the comment:

yes.

--

___
Python tracker 

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



[issue35582] Argument Clinic: inline parsing code for functions with only positional parameters

2019-01-05 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
nosy: +vstinner

___
Python tracker 

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



[issue35625] Comprehension doc doesn't mention buggy class scope behavior

2019-01-05 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

See also issue3692.

--
nosy: +serhiy.storchaka

___
Python tracker 

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



[issue20182] Derby #13: Convert 50 sites to Argument Clinic across 5 files

2019-01-05 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:

Seems PR 11328 introduced a compiler warning:

In file included from ./Include/Python.h:64:0,
 from ./Python/sysmodule.c:17:
./Python/sysmodule.c:1597:14: warning: ‘sys_clear_type_cache__doc__’ defined 
but not used [-Wunused-variable]
 PyDoc_STRVAR(sys_clear_type_cache__doc__,
  ^
./Include/pymacro.h:70:37: note: in definition of macro ‘PyDoc_VAR’
 #define PyDoc_VAR(name) static char name[]
 ^~~~
./Python/sysmodule.c:1597:1: note: in expansion of macro ‘PyDoc_STRVAR’
 PyDoc_STRVAR(sys_clear_type_cache__doc__,
 ^~~~

--

___
Python tracker 

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



[issue35666] Update design FAQ about assignment expression

2019-01-05 Thread Carl Bordum Hansen


New submission from Carl Bordum Hansen :

Hi there,

In ``Doc/faq/design.rst`` there is an explanation of why Python does not have 
assignment in expressions. This is dated since PEP 572 / Python 3.8.

Online version: 
https://docs.python.org/3/faq/design.html#why-can-t-i-use-an-assignment-in-an-expression

I suggest updating it to the attached file. `git diff`:

```
diff --git a/Doc/faq/design.rst b/Doc/faq/design.rst
index e2d63a0323..e61284611d 100644
--- a/Doc/faq/design.rst
+++ b/Doc/faq/design.rst
@@ -149,7 +149,15 @@ to tell Python which namespace to use.
 Why can't I use an assignment in an expression?
 ---
 
-Many people used to C or Perl complain that they want to use this C idiom:
+In Python 3.8 and newer, you can use assignment in an expression with the
+``:=`` operator (as described in :pep:`572`)::
+
+while line := f.readline():
+...  # do something with line
+
+For more than 25 years it was not possible to do assignments in expressions in
+Python. Naturally, many people used to C or Perl would complain that they want
+to use this C idiom:
 
 .. code-block:: c
 
@@ -157,7 +165,7 @@ Many people used to C or Perl complain that they want to 
use this C idiom:
// do something with line
}
 
-where in Python you're forced to write this::
+where in Python you would be forced to write this::
 
while True:
line = f.readline()
@@ -165,8 +173,10 @@ where in Python you're forced to write this::
break
...  # do something with line
 
-The reason for not allowing assignment in Python expressions is a common,
-hard-to-find bug in those other languages, caused by this construct:
+The reason different operators are used for assignment and assignment in
+expressions (``=`` and ``:=``, respectively), and why Python didn't allow
+assignment in expressions for a long time is a common, hard-to-find bug in
+those other languages, caused by this construct:
 
 .. code-block:: c
 
@@ -180,11 +190,6 @@ hard-to-find bug in those other languages, caused by this 
construct:
 The error is a simple typo: ``x = 0``, which assigns 0 to the variable ``x``,
 was written while the comparison ``x == 0`` is certainly what was intended.
 
-Many alternatives have been proposed.  Most are hacks that save some typing but
-use arbitrary or cryptic syntax or keywords, and fail the simple criterion for
-language change proposals: it should intuitively suggest the proper meaning to 
a
-human reader who has not yet been introduced to the construct.
-
 An interesting phenomenon is that most experienced Python programmers recognize
 the ``while True`` idiom and don't seem to be missing the assignment in
 expression construct much; it's only newcomers who express a strong desire to

```

--
assignee: docs@python
components: Documentation
files: design.rst
messages: 333063
nosy: carlbordum, docs@python
priority: normal
severity: normal
status: open
title: Update design FAQ about assignment expression
type: enhancement
versions: Python 3.8
Added file: https://bugs.python.org/file48025/design.rst

___
Python tracker 

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



[issue35633] test_eintr fails on AIX since fcntl functions were modified

2019-01-05 Thread Michael Felt

Michael Felt  added the comment:

On 04/01/2019 23:42, STINNER Victor wrote:
> STINNER Victor  added the comment:
>
> Does the test pass if you open the file in read+write ("w+b") mode rather 
> than write-only ("wb") mode?
>
> I'm talking about this line:
>
> open(support.TESTFN, 'wb')
>
> Note: if you want to test, you have the modify the mode twice:
>   "with open('%s', 'wb') as f:" % support.TESTFN,
> and
>   with open(support.TESTFN, 'wb') as f:

Without except containing PermissionError:

  +500  with kill_on_error(proc):
  +501  with open(support.TESTFN, 'w+b') as f:
  +502  while True:  # synchronize the subprocess
  +503  dt = time.monotonic() - start_time
  +504  if dt > 60.0:
  +505  raise Exception("failed to sync child in
%.1f sec" % dt)
  +506  try:
  +507  lock_func(f, fcntl.LOCK_EX | fcntl.LOCK_NB)
  +508  lock_func(f, fcntl.LOCK_UN)
  +509  time.sleep(0.01)
  +510  except BlockingIOError:
  +511  break
FAILS on test_lockf, passes on test_flock -> with open(support.TESTFN,
'w+b') as f:

FAILS on both test_lockf and test_flock (as expected I am guessing) ->
with open(support.TESTFN, 'r+b') as f:

I am not python savvy enough to get it tested using the syntax: ' "with
open('%s', 'wb') as f:" % support.TESTFN, '

  +500  with kill_on_error(proc):
  +501  "with open('%s', 'wb') as f:" % support.TESTFN,
  +502  while True:  # synchronize the subprocess
  +503  dt = time.monotonic() - start_time
  +504  if dt > 60.0:
  +505  raise Exception("failed to sync child in
%.1f sec" % dt)
  +506  try:
  +507  lock_func(f, fcntl.LOCK_EX | fcntl.LOCK_NB)
  +508  lock_func(f, fcntl.LOCK_UN)
  +509  time.sleep(0.01)
  +510  except BlockingIOError:
  +511  break

--- run eintr_tester.py ---
  File
"/data/prj/python/git/python3-3.8/Lib/test/eintrdata/eintr_tester.py",
line 502
    while True:  # synchronize the subprocess
    ^
IndentationError: unexpected indent
--- eintr_tester.py completed: exit code 1 ---

>
> --
> nosy: +vstinner
>
> ___
> Python tracker 
> 
> ___
>

--
title: test_eintr: test_lockf() fails with "PermissionError: [Errno 13] 
Permission denied" on AIX -> test_eintr fails on AIX since fcntl functions were 
modified

___
Python tracker 

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



[issue35660] IDLE: Remove import * from window.py

2019-01-05 Thread Cheryl Sabella


Change by Cheryl Sabella :


--
pull_requests:  -10863

___
Python tracker 

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



[issue35660] IDLE: Remove import * from window.py

2019-01-05 Thread Cheryl Sabella


Change by Cheryl Sabella :


--
pull_requests:  -10864

___
Python tracker 

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



[issue35666] Update design FAQ about assignment expression

2019-01-05 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
dependencies: +PEP 572: Assignment Expressions

___
Python tracker 

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



[issue35666] Update design FAQ about assignment expression

2019-01-05 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

This can be changed only after implementing PEP 572.

--
nosy: +serhiy.storchaka

___
Python tracker 

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



[issue35634] kwargs regression when there are multiple entries with the same key

2019-01-05 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
keywords: +patch
pull_requests: +10875
stage: test needed -> patch review

___
Python tracker 

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



[issue35634] kwargs regression when there are multiple entries with the same key

2019-01-05 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
keywords: +patch, patch
pull_requests: +10875, 10876
stage: test needed -> patch review

___
Python tracker 

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



[issue35634] kwargs regression when there are multiple entries with the same key

2019-01-05 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
keywords: +patch, patch, patch
pull_requests: +10875, 10876, 10877
stage: test needed -> patch review

___
Python tracker 

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



[issue34838] Improve arg clinic code generation for cases with type checking

2019-01-05 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
dependencies: +Argument Clinic: inline parsing code for 1-argument functions, 
Argument Clinic: inline parsing code for functions with only positional 
parameters

___
Python tracker 

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



[issue35651] PEP 257 (active) references PEP 258 (rejected) as if it were active

2019-01-05 Thread Guido van Rossum


Guido van Rossum  added the comment:

A rejected PEP still exists in perpetuity, and can still be used as a 
reference. Also, the reason for PEP 258's rejection is not that it is invalid, 
but that it's not slated for stdlib inclusion. So I think that the reference is 
still useful, and I don't think there's anything that needs to be done here.

--
resolution:  -> wont fix
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



[issue35660] IDLE: Remove import * from window.py

2019-01-05 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

'import *' is a PEP 8 violation. Depending in the * import to import sys is a 
bug.

--
type: enhancement -> behavior

___
Python tracker 

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



[issue35636] remove redundant check in unicode_hash(PyObject *self)

2019-01-05 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

For historical reasons. In Python 2, str and unicode consisting of ASCII 
characters can be equal. Equal values should have the same hash. In Python 3, 
bytes and str are always different. This can cause subtle bugs in the code 
ported from Python 2. Options -b and -bb were added to help to catch such bugs. 
For increasing a chance of catching such bugs, hashes of bytes and str 
consisting of ASCII characters with same codes, should be equal.

--
resolution:  -> fixed
stage: patch review -> 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



[issue35603] table header in output of difflib.HtmlDiff.make_table is not escaped and can be rendered as code in the browser

2019-01-05 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

Yes, please make a documentation PR. Since this behavior can cause a security 
hole in the user code, make this note visually attractive (maybe use the "note" 
directive).

--
stage: patch review -> needs patch

___
Python tracker 

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



[issue35622] RFE: Add os.sched_setattr() and os.sched_getattr() functions

2019-01-05 Thread Michael Büsch

Michael Büsch  added the comment:

I would like to implement this feature.
So if somebody thinks that it's a bad idea to have this feature, please speak 
up now.

--
nosy: +vstinner

___
Python tracker 

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



[issue8538] Add FlagAction to argparse

2019-01-05 Thread Rémi Lapeyre

Rémi Lapeyre  added the comment:

> I also removed myself from the issue, I'm not interested to implement it.

I would like to try and implement the change. I will open a PR shortly.

--
nosy: +remi.lapeyre

___
Python tracker 

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



[issue35603] table header in output of difflib.HtmlDiff.make_table is not escaped and can be rendered as code in the browser

2019-01-05 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
pull_requests: +10878, 10879
stage: needs patch -> patch review

___
Python tracker 

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



[issue35603] table header in output of difflib.HtmlDiff.make_table is not escaped and can be rendered as code in the browser

2019-01-05 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
pull_requests: +10878, 10879, 10880
stage: needs patch -> patch review

___
Python tracker 

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



[issue35603] table header in output of difflib.HtmlDiff.make_table is not escaped and can be rendered as code in the browser

2019-01-05 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
pull_requests: +10878
stage: needs patch -> patch review

___
Python tracker 

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



[issue35603] table header in output of difflib.HtmlDiff.make_table is not escaped and can be rendered as code in the browser

2019-01-05 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

I have added a doc note under make_file docs which has docs for fromdesc and 
todesc. make_table refers to make_file for fromdesc and todesc docs. I have 
added a screenshot of the rendering using note and warning directive. I feel 
note directive is sufficient for this. Placement and wording suggestions are 
welcome.

--

___
Python tracker 

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



[issue23057] [Windows] asyncio: support signal handlers on Windows (feature request)

2019-01-05 Thread Andrew Svetlov


Andrew Svetlov  added the comment:


New changeset 67ba547cf001d6b975cf6900aaf2bd5508dc6a87 by Andrew Svetlov 
(Vladimir Matveev) in branch 'master':
bpo-23057: Use 'raise' to emulate ctrl-c in proactor tests (#11274)
https://github.com/python/cpython/commit/67ba547cf001d6b975cf6900aaf2bd5508dc6a87


--

___
Python tracker 

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



[issue35661] Store the venv prompt in pyvenv.cfg

2019-01-05 Thread Cheryl Sabella


Change by Cheryl Sabella :


--
keywords: +patch
pull_requests: +10881
stage: test needed -> patch review

___
Python tracker 

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



[issue35661] Store the venv prompt in pyvenv.cfg

2019-01-05 Thread Cheryl Sabella


Change by Cheryl Sabella :


--
keywords: +patch, patch, patch
pull_requests: +10881, 10882, 10883
stage: test needed -> patch review

___
Python tracker 

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



[issue35661] Store the venv prompt in pyvenv.cfg

2019-01-05 Thread Cheryl Sabella


Change by Cheryl Sabella :


--
keywords: +patch, patch
pull_requests: +10881, 10882
stage: test needed -> patch review

___
Python tracker 

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



[issue35661] Store the venv prompt in pyvenv.cfg

2019-01-05 Thread Cheryl Sabella


Change by Cheryl Sabella :


--
pull_requests:  -10882

___
Python tracker 

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



[issue35661] Store the venv prompt in pyvenv.cfg

2019-01-05 Thread Cheryl Sabella


Change by Cheryl Sabella :


--
pull_requests:  -10883

___
Python tracker 

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



[issue35616] Change references to '4.0'.

2019-01-05 Thread Marc-Andre Lemburg


Marc-Andre Lemburg  added the comment:

Why not change the wording to read "... will be considered for removal in the 
next major Python release".

Note that removal of Py_UNICODE APIs will not only break compatibility with 
Python 2, but also with the early Python 3 releases.

And please also consider that we may see another change in the Unicode 
implementation... I've heard discussions about using UTF-8 as internal 
representation to address the issues with the current unified approach.

--
nosy: +lemburg

___
Python tracker 

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



[issue35667] activate for venv containing apostrophe doesn't work in powershell

2019-01-05 Thread Cheryl Sabella


New submission from Cheryl Sabella :

On Windows 10, when I try to activate a venv in powershell where the name 
contains an apostrophe, I get the following error ("don't" is the name of the 
venv):

PS N:\projects\cpython\don't\Scripts> .\activate.ps1
At N:\projects\cpython\don't\Scripts\Activate.ps1:42 char:28
+ function global:prompt {
+~
Missing closing '}' in statement block or type definition.
At N:\projects\cpython\don't\Scripts\Activate.ps1:37 char:40
+ if (! $env:VIRTUAL_ENV_DISABLE_PROMPT) {
+~
Missing closing '}' in statement block or type definition.
At N:\projects\cpython\don't\Scripts\Activate.ps1:43 char:61
+ Write-Host -NoNewline -ForegroundColor Green '(don't) '
+ ~
Unexpected token ')' in expression or statement.
At N:\projects\cpython\don't\Scripts\Activate.ps1:43 char:63
+ Write-Host -NoNewline -ForegroundColor Green '(don't) '
+   ~
The string is missing the terminator: '.
+ CategoryInfo  : ParserError: (:) [], ParseException
+ FullyQualifiedErrorId : MissingEndCurlyBrace

This works OK in Command Prompt.

--
components: Library (Lib)
messages: 333075
nosy: cheryl.sabella
priority: normal
severity: normal
status: open
title: activate for venv containing apostrophe doesn't work in powershell
type: behavior
versions: Python 3.7, Python 3.8

___
Python tracker 

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



[issue35625] Comprehension doc doesn't mention buggy class scope behavior

2019-01-05 Thread Seval Geyik


Change by Seval Geyik :


--
components: +email
nosy: +barry, r.david.murray
type: behavior -> security
Added file: https://bugs.python.org/file48026/keyfile.png

___
Python tracker 

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



[issue35616] Change references to '4.0'.

2019-01-05 Thread Emmanuel Arias


Emmanuel Arias  added the comment:

Hello!

IMHO I don't think is good say  that they will remove on a version that is not 
planned yet. 

I agree with Marc-Andre is better say " they will be remove in the next major 
release"

--

___
Python tracker 

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



[issue35668] low test coverage for idlelib

2019-01-05 Thread anthony shaw


New submission from anthony shaw :

idlelib is one of the lesser-tested libraries in cpython:
https://codecov.io/gh/python/cpython/tree/master/Lib/idlelib

Raising this issue and also volunteering to extend the test module to get 
coverage across major behaviours and functions that are missing tests.

--
assignee: terry.reedy
components: IDLE, Library (Lib)
messages: 333077
nosy: anthony shaw, terry.reedy
priority: normal
severity: normal
status: open
title: low test coverage for idlelib
type: enhancement

___
Python tracker 

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



[issue31887] docs for email.generator are missing a comment on special multipart/signed handling

2019-01-05 Thread Cheryl Sabella


Change by Cheryl Sabella :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
versions:  -Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7

___
Python tracker 

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



[issue4696] email module does not unfold headers

2019-01-05 Thread Cheryl Sabella


Cheryl Sabella  added the comment:

Although email policies are marked as provisional, I believe the changes in 
issue14731 would fix the original request in this issue.  If so, would it be 
possible to close this issue as resolved?  Thanks.

--
nosy: +cheryl.sabella

___
Python tracker 

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



[issue33393] update config.guess and config.sub

2019-01-05 Thread Cheryl Sabella


Cheryl Sabella  added the comment:

Is this intended as a global ticket to be used to update these files on a 
regular basis?  Or should a new ticket be created every time the files are 
updated?  Thanks!

--
nosy: +cheryl.sabella

___
Python tracker 

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



[issue30487] DOC: automatically create a venv and install Sphinx when running make

2019-01-05 Thread Cheryl Sabella


Cheryl Sabella  added the comment:

I believe this can be closed as resolved?  Thanks.

--
nosy: +cheryl.sabella

___
Python tracker 

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



[issue13127] xml.dom.Attr.name is not labeled as read-only

2019-01-05 Thread Ashwin Ramaswami


Ashwin Ramaswami  added the comment:

This behavior appears to be working as expected per the documentation when 
using Python 3.7.1. I am able to change name, but changing localName gives me a 
NoModificationAllowedErr error.

--
nosy: +Ashwin Ramaswami
versions: +Python 3.7 -Python 2.7, Python 3.2, Python 3.3

___
Python tracker 

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



[issue34431] Docs does not eval allows code object as argument

2019-01-05 Thread Cheryl Sabella


Cheryl Sabella  added the comment:

Hi Jonathan,

Did you have any additional questions about opening a pull request for these 
changes?  Thanks!

--
nosy: +cheryl.sabella

___
Python tracker 

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



[issue35668] Improve test coverage for idlelib

2019-01-05 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

I (we) agree that idlelib needs even better test coverage.  Some history:
1. I added idle_test/ 5-1/2 years ago.  Only the calltip module had automated 
tests easily converted to unittests (test_calltip).
2. Other exiting tests, requiring human judgement, were debugged, completed, 
and converted to 'htests', driven by idle_test.htest.  Properly measuring 
idlelib coverage requires excluding htest code (up to 20% of a module).
3. idle_test/README.txt has information on testing IDLE and local conventions.  
Perhaps more should be added about mocking.
4. We should now be using ttk widgets whenever possible.  I would like to add 
an up-to-date widget-testing doc.

Some modules need doctests and a bit of refactoring before adding tests.  Tests 
for a specific module should be a separate issue.

Testing tkinter is hard. Can you tell us a bit about your python, tkinter, and 
testing experience?


Cheryl Sabella wrote the majority of tests added in the last year+, and Tal 
Einat wrote test_squeezer.  I suggest you review some of their recent work.  
They should be able to answer most questions as well as me.

--
nosy: +cheryl.sabella, taleinat
title: low test coverage for idlelib -> Improve test coverage for idlelib
versions: +Python 3.7, Python 3.8

___
Python tracker 

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



[issue35649] http.client doesn't close. Infinite loop

2019-01-05 Thread Roundup Robot


Change by Roundup Robot :


--
keywords: +patch, patch
pull_requests: +10884, 10885
stage:  -> patch review

___
Python tracker 

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



[issue35649] http.client doesn't close. Infinite loop

2019-01-05 Thread Roundup Robot


Change by Roundup Robot :


--
keywords: +patch
pull_requests: +10884
stage:  -> patch review

___
Python tracker 

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



[issue35649] http.client doesn't close. Infinite loop

2019-01-05 Thread Roundup Robot


Change by Roundup Robot :


--
keywords: +patch, patch, patch
pull_requests: +10884, 10885, 10887
stage:  -> patch review

___
Python tracker 

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



[issue35649] http.client doesn't close. Infinite loop

2019-01-05 Thread Roundup Robot


Change by Roundup Robot :


--
keywords: +patch, patch, patch, patch
pull_requests: +10884, 10885, 10886, 10887
stage:  -> patch review

___
Python tracker 

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



[issue35668] Improve test coverage for idlelib

2019-01-05 Thread anthony shaw


anthony shaw  added the comment:

thanks terry, 

Some great pointers there, I'll review the exiting work and the README doc.

With regards to my experience, I have quite extensive experience with python 
testing. Most of which would be open-source on my Github profile 
https://github.com/tonybaloney
Some of the larger Python projects I've contributed test suites to would be 
SaltStack, Apache Libcloud and StackStorm.
I've contributed to the tox project and pytest.
I also write tutorials on Python testing (mostly for beginners) like this one 
https://realpython.com/python-testing/

I admit I don't have much experience with tkinter. 

It does sound like a challenge, but definitely one that I'm willing to research 
and approach responsibly.

--

___
Python tracker 

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



[issue21257] Document parse_headers function of http.client

2019-01-05 Thread Ashwin Ramaswami


Change by Ashwin Ramaswami :


--
keywords: +patch
pull_requests: +10888
stage: needs patch -> patch review

___
Python tracker 

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



[issue21257] Document parse_headers function of http.client

2019-01-05 Thread Ashwin Ramaswami


Change by Ashwin Ramaswami :


--
keywords: +patch, patch, patch
pull_requests: +10888, 10889, 10890
stage: needs patch -> patch review

___
Python tracker 

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



[issue21257] Document parse_headers function of http.client

2019-01-05 Thread Ashwin Ramaswami


Change by Ashwin Ramaswami :


--
keywords: +patch, patch
pull_requests: +10888, 10889
stage: needs patch -> patch review

___
Python tracker 

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



[issue21257] Document parse_headers function of http.client

2019-01-05 Thread Ashwin Ramaswami


Change by Ashwin Ramaswami :


--
keywords: +patch, patch, patch, patch
pull_requests: +10888, 10889, 10890, 10891
stage: needs patch -> patch review

___
Python tracker 

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



[issue35668] Improve test coverage for idlelib

2019-01-05 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

Great.  I suggest then that you start with untested, normal, non-GUI 
(non-tkinter) code, assuming that you can find some.  This can mean segregating 
functional code from gui code if they are currently intertwined.  As point 1 
above suggested, IDLE, which dates from about 2000, was originally written 
without automated testing in mind.

I should have added above
5. 7 months ago, finished #33855 'Minimally test every implementation module'.
In a few cases, that meant import the file, create an instance of the main 
module, and make a couple of minimal assertions.  The 'coverage' of such files 
mostly means no syntax errors and X% ran without an exception.

Such code still needs 'does the right thing' tests.  Part of my intention was 
to make adding those easier by removing the initial boilerplate as a barrier.

--

___
Python tracker 

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



[issue35668] Improve test coverage for idlelib

2019-01-05 Thread anthony shaw


anthony shaw  added the comment:

I was looking at the debugger.py module as being a good place the start, 
writing test cases for the Idb, Debugger, StackViewer and NamespaceViewer by 
patching out the dependant components (bdb, Idb, etc.

I might start there, raise a PR against it and do a module at a time, then work 
my way up to some of the trickier, tkinter-based modules.

--

___
Python tracker 

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



[issue30487] DOC: automatically create a venv and install Sphinx when running make

2019-01-05 Thread Caleb Hattingh


Caleb Hattingh  added the comment:

@cheryl.sabella I am ok with closing this, but the original motivation for this 
work was from @zack.ware so he should weigh in.

I am not going to work on this any further for the forseeable future (I've got 
my hands full already with the asyncio docs I'm trying to write in #34831).

--

___
Python tracker 

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



[issue34831] Asyncio Tutorial

2019-01-05 Thread Caleb Hattingh


Caleb Hattingh  added the comment:

A quick note to say I have not abandoned this, it's just that life got 
complicated for me in late 2018. I intend to pick up progress again within the 
next month or two.

--

___
Python tracker 

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



[issue35668] Improve test coverage for idlelib

2019-01-05 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

I like that choice.  There are 15 open issues for debugger and I have notes on 
a few possible enhancements.

--

___
Python tracker 

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



[issue35606] Add prod() function to the math module

2019-01-05 Thread Tim Peters


Tim Peters  added the comment:

I'd like to divorce `prod()` from floating-point complications.  The `sum()` 
builtin has proved extremely handy, even for floats, in large part because it's 
type-agnostic and straightforward.  While I'd usually use `prod()` on ints and 
Fractions, in almost all cases I have for multiplying floats a dirt simple 
implementation would work fine too (e.g., I don't multiply NaNs or infinities 
to begin with, overflow and underflow can't occur in context, and I usually 
couldn't care less about the accuracy of the trailing bits).

Not that floats should suffer benign neglect forever, but heroically complex - 
and expensive - float implementations should get their own function, like 
`fprod()` (like they got their own `fsum()` function).  Likewise if, e.g., 
someone wants an `iprod()` that makes heroic efforts to reorder partial 
products to speed multiplying sequences of giant integers, or `matprod()` to 
re-associate matrix multiplications in an optimal way, or ...

--

___
Python tracker 

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



[issue20182] Derby #13: Convert 50 sites to Argument Clinic across 5 files

2019-01-05 Thread Tal Einat


Change by Tal Einat :


--
pull_requests: +10892

___
Python tracker 

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



[issue20182] Derby #13: Convert 50 sites to Argument Clinic across 5 files

2019-01-05 Thread Tal Einat


Change by Tal Einat :


--
pull_requests:  -10893

___
Python tracker 

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



[issue20182] Derby #13: Convert 50 sites to Argument Clinic across 5 files

2019-01-05 Thread Tal Einat


Change by Tal Einat :


--
pull_requests: +10892, 10893

___
Python tracker 

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



[issue20182] Derby #13: Convert 50 sites to Argument Clinic across 5 files

2019-01-05 Thread Tal Einat


Change by Tal Einat :


--
pull_requests: +10892, 10893, 10894

___
Python tracker 

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



[issue20182] Derby #13: Convert 50 sites to Argument Clinic across 5 files

2019-01-05 Thread Tal Einat


Change by Tal Einat :


--
pull_requests:  -10894

___
Python tracker 

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



[issue20182] Derby #13: Convert 50 sites to Argument Clinic across 5 files

2019-01-05 Thread Tal Einat


Tal Einat  added the comment:

Thanks Serhiy! The compiler doesn't warn about that on Windows.

See PR GH-11444 with a fix.

--

___
Python tracker 

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