[issue40152] Coroutine hangs if it performs async operations when handling exception sent using throw()

2020-04-02 Thread Guilherme Salgado


New submission from Guilherme Salgado :

A coroutine will hang forever if it that catches an exception sent via its 
throw() method and then makes async calls while handling that exception. The 
same coroutine will complete just fine if the exception is instead raised from 
within it. Here's a script that demonstrates that:

```
import asyncio
import sys

async def sleep_on_exc(inject):
if inject:
asyncio.ensure_future(inject_exc(coro))
try:
await asyncio.sleep(0.2)
if not inject:
print("Raising KeyboardInterrupt")
raise KeyboardInterrupt()
except KeyboardInterrupt:
print("I'm not done yet")
await asyncio.sleep(0.1)
print("Now I'm done")

async def inject_exc(coro):
await asyncio.sleep(0.1)
print("Injecting KeyboardInterrupt")
coro.throw(KeyboardInterrupt)

coro = sleep_on_exc(sys.argv[1] == "inject")
loop = asyncio.get_event_loop()
loop.run_until_complete(coro)
```

```
$ python throw.py raise
Raising KeyboardInterrupt
I'm not done yet
Now I'm done
```

```
$ python throw.py inject
Injecting KeyboardInterrupt
I'm not done yet # It hangs forever here until you Ctrl-C
^CTraceback (most recent call last):
...
```

--
components: asyncio
messages: 365572
nosy: asvetlov, salgado, yselivanov
priority: normal
severity: normal
status: open
title: Coroutine hangs if it performs async operations when handling exception 
sent using throw()
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



[issue39503] [security][CVE-2020-8492] Denial of service in urllib.request.AbstractBasicAuthHandler

2020-04-02 Thread Tapas Kundu


Change by Tapas Kundu :


--
nosy: +tapakund
nosy_count: 6.0 -> 7.0
pull_requests: +18661
pull_request: https://github.com/python/cpython/pull/19299

___
Python tracker 

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



[issue40152] Coroutine hangs if it performs async operations when handling exception sent using throw()

2020-04-02 Thread Guilherme Salgado


Change by Guilherme Salgado :


--
versions: +Python 3.8

___
Python tracker 

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



[issue40144] resource: RLIMIT_xxx and RUSAGE_xxx constants are missing on macOS 10.15.4

2020-04-02 Thread Ned Deily


Ned Deily  added the comment:

There's nothing wrong with the Azure CI job, AFAICT.  The issue seems to be in 
the changes made by the PR itself.  Testing on 10.15.4 from master HEAD, 
test_resource passes as always.  But after applying the PR under test in the 
CI, PR 19252 from Issue1635741, the test fails.  It wasn't obvious to me from a 
quick glance what the problem is but it's late here :)

--

___
Python tracker 

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



[issue38576] CVE-2019-18348: CRLF injection via the host part of the url passed to urlopen()

2020-04-02 Thread Tapas Kundu


Change by Tapas Kundu :


--
pull_requests: +18662
pull_request: https://github.com/python/cpython/pull/19300

___
Python tracker 

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



[issue40083] No run option available in python idle in version 3.8.2

2020-04-02 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

I cannot do anything until you answer all 6 question.  Perhaps you should post 
on python-list to get help doing so.

--

___
Python tracker 

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



[issue39503] [security][CVE-2020-8492] Denial of service in urllib.request.AbstractBasicAuthHandler

2020-04-02 Thread Tapas Kundu


Change by Tapas Kundu :


--
pull_requests: +18663
pull_request: https://github.com/python/cpython/pull/19301

___
Python tracker 

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



[issue40144] resource: RLIMIT_xxx and RUSAGE_xxx constants are missing on macOS 10.15.4

2020-04-02 Thread STINNER Victor


STINNER Victor  added the comment:

> There's nothing wrong with the Azure CI job, AFAICT.  The issue seems to be 
> in the changes made by the PR itself.

The PR modify the resource module. Oh. H. I see :-D

--

___
Python tracker 

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



[issue40144] resource: RLIMIT_xxx and RUSAGE_xxx constants are missing on macOS 10.15.4

2020-04-02 Thread hai shi


hai shi  added the comment:

> The PR modify the resource module. Oh. H. I see :-D
Do I miss something?

--

___
Python tracker 

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



[issue40144] resource: RLIMIT_xxx and RUSAGE_xxx constants are missing on macOS 10.15.4

2020-04-02 Thread STINNER Victor


STINNER Victor  added the comment:

Ignore this issue, it's a typo in the PR ;-)

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



[issue39503] [security][CVE-2020-8492] Denial of service in urllib.request.AbstractBasicAuthHandler

2020-04-02 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset ea9e240aa02372440be8024acb110371f69c9d41 by Miss Islington (bot) 
in branch '3.8':
bpo-39503: CVE-2020-8492: Fix AbstractBasicAuthHandler (GH-18284) (GH-19296)
https://github.com/python/cpython/commit/ea9e240aa02372440be8024acb110371f69c9d41


--

___
Python tracker 

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



[issue39503] [security][CVE-2020-8492] Denial of service in urllib.request.AbstractBasicAuthHandler

2020-04-02 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset b57a73694e26e8b2391731b5ee0b1be59437388e by Miss Islington (bot) 
in branch '3.7':
bpo-39503: CVE-2020-8492: Fix AbstractBasicAuthHandler (GH-18284) (GH-19297)
https://github.com/python/cpython/commit/b57a73694e26e8b2391731b5ee0b1be59437388e


--

___
Python tracker 

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



[issue39503] [security][CVE-2020-8492] Denial of service in urllib.request.AbstractBasicAuthHandler

2020-04-02 Thread Tapas Kundu


Change by Tapas Kundu :


--
pull_requests: +18664
pull_request: https://github.com/python/cpython/pull/19302

___
Python tracker 

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



[issue39865] getattr silences an unrelated AttributeError

2020-04-02 Thread Ammar Askar


Change by Ammar Askar :


--
keywords: +patch
pull_requests: +18665
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/19303

___
Python tracker 

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



[issue39865] getattr silences an unrelated AttributeError

2020-04-02 Thread Ammar Askar


Ammar Askar  added the comment:

Update: opened up https://github.com/python/cpython/pull/19303 as a quick first 
pass at implementing this. It works as expected and retains the context from 
the original exception just in case it's needed. The code isn't too pretty, 
looks like exception chaining was primarily designed to be a first class 
citizen using the `raise e2 from e` syntax. A helper in exceptions.c would 
definitely go a long way to making it more readable.

--

___
Python tracker 

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



[issue39503] [security][CVE-2020-8492] Denial of service in urllib.request.AbstractBasicAuthHandler

2020-04-02 Thread STINNER Victor


Change by STINNER Victor :


--
versions:  -Python 2.7

___
Python tracker 

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



[issue39503] [security][CVE-2020-8492] Denial of service in urllib.request.AbstractBasicAuthHandler

2020-04-02 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests: +18666
pull_request: https://github.com/python/cpython/pull/19304

___
Python tracker 

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



[issue39503] [security][CVE-2020-8492] Denial of service in urllib.request.AbstractBasicAuthHandler

2020-04-02 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests: +18667
pull_request: https://github.com/python/cpython/pull/19305

___
Python tracker 

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



[issue40153] json dump with repeated key

2020-04-02 Thread Facundo Batista


New submission from Facundo Batista :

As stated in docs [0], JSON structures must not have duplicated keys.

>>> json.dumps({1:2, "1":3})
'{"1": 2, "1": 3}'

This is related to https://bugs.python.org/issue34972 . 



[0] "The RFC specifies that the names within a JSON object should be unique, 
..." https://docs.python.org/3/library/json.html#repeated-names-within-an-object

--
messages: 365581
nosy: facundobatista
priority: normal
severity: normal
status: open
title: json dump with repeated key
versions: Python 3.6, Python 3.7, Python 3.8, Python 3.9

___
Python tracker 

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



[issue40154] embedded null byte when connecting to sqlite database using a bytes object

2020-04-02 Thread Fernando


New submission from Fernando :

Hello. I think that I found a bug in how sqlite3 module handle bytes.

The connect function of sqlite3 accepts strings, FilePath objects and bytes. 
However, it's impossible for me to connect to bytes objects that are read from 
BufferedReaders. I always get: 

"ValueError: embedded null byte"

This is my current code (byteDec is the BytesIO object):

==
byteDec.seek(0)
conn = sqlite3.connect(byteDec.read())
==

That returns the "embedded null byte" error. However, if I do:

==
byteDec.seek(0)
with open("db.db", "wb" as f:
f.write(byteDec.read())
conn = sqlite3.connect("db.db")
==

Everything works flawlessly, so the BufferedReader that I have in-memory is not 
corrupted in any way, as it's readable from a file. I want to avoid writing to 
disk at all, so this is not a solution for me.


I attach to this issue a very basic proof of concept to understand the issue.

I'm running Pyhton 3.8.2 amd64 on Windows 10 1909

--
components: IO
files: bytes_io.py
messages: 365582
nosy: ferferga
priority: normal
severity: normal
status: open
title: embedded null byte when connecting to sqlite database using a bytes 
object
type: crash
versions: Python 3.8
Added file: https://bugs.python.org/file49025/bytes_io.py

___
Python tracker 

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



[issue40155] AIX: bot status: stuck at: failed test (failure) uploading test-results.xml (failure)

2020-04-02 Thread Michael Felt


New submission from Michael Felt :

related to 

Two AIX bots - different environments - continue to fail the test: 
`test_builtin` since

During the first run - the test fails with something such as:

0:31:47 [215/420] test_abc passed -- running: test_builtin (14 min 10 sec)
0:32:17 running: test_builtin (14 min 40 sec), test_decimal (30.0 sec)
0:32:37 [216/420] test_decimal passed (49.4 sec) -- running: test_builtin (15 
min)
0:32:37 [217/420/1] test_builtin crashed (Exit code 1)
Timeout (0:15:00)!
Thread 0x0001 (most recent call first):

And in the second pass (re-run of failed tests) the failure goes:

test_zip (test.test_builtin.BuiltinTest) ... ok
test_zip_bad_iterable (test.test_builtin.BuiltinTest) ... ok
test_zip_pickle (test.test_builtin.BuiltinTest) ... ok
Timeout (0:15:00)!
Thread 0x0001 (most recent call first):
  File 
"/home/buildbot/buildarea/3.x.aixtools-aix-power6/build/Lib/test/support/__init__.py",
 line 3435 in wait_process
  File 
"/home/buildbot/buildarea/3.x.aixtools-aix-power6/build/Lib/test/test_builtin.py",
 line 1898 in run_child
  File 
"/home/buildbot/buildarea/3.x.aixtools-aix-power6/build/Lib/test/test_builtin.py",
 line 1952 in test_input_no_stdout_fileno
  File 
"/home/buildbot/buildarea/3.x.aixtools-aix-power6/build/Lib/unittest/case.py", 
line 616 in _callTestMethod
  File 
"/home/buildbot/buildarea/3.x.aixtools-aix-power6/build/Lib/unittest/case.py", 
line 659 in run
  File 
"/home/buildbot/buildarea/3.x.aixtools-aix-power6/build/Lib/unittest/case.py", 
line 719 in __call__
  File 
"/home/buildbot/buildarea/3.x.aixtools-aix-power6/build/Lib/unittest/suite.py", 
line 122 in run
  File 
"/home/buildbot/buildarea/3.x.aixtools-aix-power6/build/Lib/unittest/suite.py", 
line 84 in __call__
  File 
"/home/buildbot/buildarea/3.x.aixtools-aix-power6/build/Lib/unittest/suite.py", 
line 122 in run
  File 
"/home/buildbot/buildarea/3.x.aixtools-aix-power6/build/Lib/unittest/suite.py", 
line 84 in __call__
  File 
"/home/buildbot/buildarea/3.x.aixtools-aix-power6/build/Lib/unittest/suite.py", 
line 122 in run
  File 
"/home/buildbot/buildarea/3.x.aixtools-aix-power6/build/Lib/unittest/suite.py", 
line 84 in __call__
  File 
"/home/buildbot/buildarea/3.x.aixtools-aix-power6/build/Lib/unittest/runner.py",
 line 176 in run
  File 
"/home/buildbot/buildarea/3.x.aixtools-aix-power6/build/Lib/test/support/__init__.py",
 line 2079 in _run_suite
  File 
"/home/buildbot/buildarea/3.x.aixtools-aix-power6/build/Lib/test/support/__init__.py",
 line 2201 in run_unittest
  File 
"/home/buildbot/buildarea/3.x.aixtools-aix-power6/build/Lib/test/libregrtest/runtest.py",
 line 209 in _test_module
  File 
"/home/buildbot/buildarea/3.x.aixtools-aix-power6/build/Lib/test/libregrtest/runtest.py",
 line 234 in _runtest_inner2
  File 
"/home/buildbot/buildarea/3.x.aixtools-aix-power6/build/Lib/test/libregrtest/runtest.py",
 line 270 in _runtest_inner
  File 
"/home/buildbot/buildarea/3.x.aixtools-aix-power6/build/Lib/test/libregrtest/runtest.py",
 line 153 in _runtest
  File 
"/home/buildbot/buildarea/3.x.aixtools-aix-power6/build/Lib/test/libregrtest/runtest.py",
 line 193 in runtest
  File 
"/home/buildbot/buildarea/3.x.aixtools-aix-power6/build/Lib/test/libregrtest/main.py",
 line 318 in rerun_failed_tests
  File 
"/home/buildbot/buildarea/3.x.aixtools-aix-power6/build/Lib/test/libregrtest/main.py",
 line 691 in _main
  File 
"/home/buildbot/buildarea/3.x.aixtools-aix-power6/build/Lib/test/libregrtest/main.py",
 line 634 in main
  File 
"/home/buildbot/buildarea/3.x.aixtools-aix-power6/build/Lib/test/libregrtest/main.py",
 line 712 in main
  File 
"/home/buildbot/buildarea/3.x.aixtools-aix-power6/build/Lib/test/__main__.py", 
line 2 in 
  File "/home/buildbot/buildarea/3.x.aixtools-aix-power6/build/Lib/runpy.py", 
line 87 in _run_code
  File "/home/buildbot/buildarea/3.x.aixtools-aix-power6/build/Lib/runpy.py", 
line 197 in _run_module_as_main
make: 1254-004 The error code from the last command is 1.
Stop.
program finished with exit code 2
elapsedTime=3610.362052
test_input_no_stdout_fileno (test.test_builtin.PtyTests) ... 

NOTE: the run has stopped with the line

test_input_no_stdout_fileno (test.test_builtin.PtyTests) ... 

and, so the results also fail to get uploaded.

--
components: Tests
messages: 365583
nosy: Michael.Felt
priority: normal
severity: normal
status: open
title: AIX: bot status: stuck at: failed test (failure) uploading 
test-results.xml (failure)
versions: Python 3.9

___
Python tracker 

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



[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-04-02 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 45f7008a66a30cdf749ec03e580bd2692be9a8df by Hai Shi in branch 
'master':
bpo-1635741: Port resource extension module to multiphase initialization (PEP 
489) (GH-19252)
https://github.com/python/cpython/commit/45f7008a66a30cdf749ec03e580bd2692be9a8df


--

___
Python tracker 

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



[issue40155] AIX: bot status: stuck at: failed test (failure) uploading test-results.xml (failure)

2020-04-02 Thread Michael Felt


Michael Felt  added the comment:

did not get issue numbers in above: issue31160 and issue40094.

I waited a day, before posting - in the hope it would go away.

Also, I have been testing manually (no -j arguments) - and test_builtin passes 
when run manually. So, becoming hard to dissect and propose a "cure".

I have started with:

./python  ./Tools/scripts/run_tests.py -j 1 -u all -W --slowest 
--fail-env-changed --timeout=1200 -j2

and now see the test stalled:

0:39:41 running: test_builtin (5 min 14 sec)
0:40:11 running: test_builtin (5 min 44 sec)
0:40:41 running: test_builtin (6 min 14 sec)
0:41:11 running: test_builtin (6 min 44 sec)
0:41:41 running: test_builtin (7 min 14 sec)
0:42:11 running: test_builtin (7 min 44 sec)
0:42:41 running: test_builtin (8 min 14 sec)
0:43:11 running: test_builtin (8 min 44 sec)

--

___
Python tracker 

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



[issue40155] AIX: test_builtin.test_input_no_stdout_fileno() hangs

2020-04-02 Thread STINNER Victor


STINNER Victor  added the comment:

See also bpo-40140: test_builtin crashes when runned in parallel mode on 
solaris.

--
nosy: +vstinner
title: AIX: bot status: stuck at: failed test (failure) uploading 
test-results.xml (failure) -> AIX: test_builtin.test_input_no_stdout_fileno() 
hangs

___
Python tracker 

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



[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread STINNER Victor


STINNER Victor  added the comment:

See also bpo-40155: "AIX: test_builtin.test_input_no_stdout_fileno() hangs".

--

___
Python tracker 

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



[issue40094] Add os.waitstatus_to_exitcode() function

2020-04-02 Thread STINNER Victor


STINNER Victor  added the comment:

See also bpo-40155: "AIX: test_builtin.test_input_no_stdout_fileno() hangs".

--

___
Python tracker 

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



[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread Batuhan Taskaya


Batuhan Taskaya  added the comment:

The ulimit results with infinity and this happens on the current master.

--

___
Python tracker 

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



[issue40155] AIX: test_builtin.test_input_no_stdout_fileno() hangs

2020-04-02 Thread Batuhan Taskaya


Change by Batuhan Taskaya :


--
nosy: +BTaskaya

___
Python tracker 

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



[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread Batuhan Taskaya


Batuhan Taskaya  added the comment:

> I am understanding "crashing" as "segfaulting"

"crashing" as in the test result but not segfaulting
0:00:00 load avg: 1.71 Run tests in parallel using 2 child processes
0:00:01 load avg: 1.70 [1/1/1] test_builtin crashed (Exit code -1)

--

___
Python tracker 

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



[issue40094] Add os.waitstatus_to_exitcode() function

2020-04-02 Thread Batuhan Taskaya


Change by Batuhan Taskaya :


--
nosy: +BTaskaya

___
Python tracker 

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



[issue28859] os.path.ismount sometimes raises FileNotFoundError on Windows

2020-04-02 Thread Ankesh Saha


Ankesh Saha  added the comment:

s I have tried to workout a solution for the problem. Below is my observation 
and possible solution.

os.path.ismount("F:\\doesnotexist")

Exception occurs for the above line if the system fails to find both drive and 
the path that follows it.

A 'FileNotFoundError' exception is thrown. If we can handle this exception and 
return false for method ismount(), then problem can be resolved.

I changed the existing code ismount method and it is working.
Existing code=>
if _getvolumepathname:
return path.rstrip(seps) == _getvolumepathname(path).rstrip(seps)
else:
return False

Changed Code=>
if _getvolumepathname:
try:
return path.rstrip(seps) == _getvolumepathname(path).rstrip(seps)
except FileNotFoundError:
return False

Please check, if this solution is correct.

--
nosy: +ankeshsaha

___
Python tracker 

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



[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread STINNER Victor


STINNER Victor  added the comment:

> "crashing" as in the test result but not segfaulting
> 0:00:01 load avg: 1.70 [1/1/1] test_builtin crashed (Exit code -1)

What is the signal 1 on Solaris? On Linux, it's SIGHUP, not SIGSEGV:

$ python3
Python 3.7.6 (default, Jan 30 2020, 09:44:41) 
>>> import signal
>>> signal.SIGSEGV

>>> signal.SIGHUP


--

___
Python tracker 

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



[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread Batuhan Taskaya


Batuhan Taskaya  added the comment:

isidentical@gcc-solaris11:~$ cpython/python
Python 3.9.0a5+ (heads/master:98ff332, Apr  2 2020, 01:20:22) 
[GCC 5.5.0] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import signal
>>> signal.SIGSEGV

>>> signal.SIGHUP


--

___
Python tracker 

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



[issue40156] codecov/patch stills runs on 3.5 and 3.6 branches

2020-04-02 Thread STINNER Victor


New submission from STINNER Victor :

Larry Hastings (Python 3.5 release manager) failed to merge my security fix 
into Python 3.5. The Codecov job run on the PR, failed and it must pass to 
merge a PR if I understood correctly Larry:
https://github.com/python/cpython/pull/17344#issuecomment-605417483

The same job also ran and failed on another security fix for Python 3.6:
https://github.com/python/cpython/pull/19304

I propose to copy .github/codecov.yml configuration from master to 3.5 and 3.6 
branches to disable the Codecov "patch" job.

See also recent issue: bpo-39704 "Disable code coverage". Codecov should no 
longer post comments with the result of the code coverage analysis: it's 
disabled for the whole Python organization.

There are no longer "Codecov patch" jobs on the 3.7, 3.8 and master branches.

--
components: Tests
messages: 365594
nosy: vstinner
priority: normal
severity: normal
status: open
title: codecov/patch stills runs on 3.5 and 3.6 branches
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



[issue40156] codecov/patch stills runs on 3.5 and 3.6 branches

2020-04-02 Thread STINNER Victor


Change by STINNER Victor :


--
keywords: +patch
pull_requests: +18668
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/19306

___
Python tracker 

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



[issue40156] CodeCov/patch job stills runs on pull requests on 3.5 and 3.6 branches

2020-04-02 Thread STINNER Victor


Change by STINNER Victor :


--
title: codecov/patch stills runs on 3.5 and 3.6 branches -> CodeCov/patch job 
stills runs on pull requests on 3.5 and 3.6 branches

___
Python tracker 

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



[issue39704] Disable code coverage

2020-04-02 Thread STINNER Victor


STINNER Victor  added the comment:

FYI I created bpo-40156: "codecov/patch stills runs on 3.5 and 3.6 branches".

--

___
Python tracker 

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



[issue40157] SMTP email policy does not encode non-ASCII characters

2020-04-02 Thread Eduard Bopp

New submission from Eduard Bopp :

Using email.policy.SMTP a message's non-ASCII characters are not encoded. The 
policy.utf8 attribute is set to False as documented.

The attached script illustrates the behaviour. I get the following command line 
output from it:

Subject: =?utf-8?b?w7zDtsOk?=


False
Subject: üöä


True
Subject: üöä


The default compat32 policy encodes the string, but the SMTP policy does not 
encode it, but leaves it as UTF-8 despite policy.utf8 == False. I might be 
misreading the documentation here, but it seems to me like utf8 == False 
implies that encoding should happen.

--
components: email
files: minimal.py
messages: 365596
nosy: aepsil0n, barry, r.david.murray
priority: normal
severity: normal
status: open
title: SMTP email policy does not encode non-ASCII characters
type: behavior
versions: Python 3.6, Python 3.7, Python 3.8
Added file: https://bugs.python.org/file49026/minimal.py

___
Python tracker 

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



[issue40155] AIX: test_builtin.test_input_no_stdout_fileno() hangs

2020-04-02 Thread Michael Felt


Michael Felt  added the comment:

Now consistently - stalled.

aixtools@x064:[/home/aixtools/py39-3.9]git diff
diff --git a/Lib/test/test_builtin.py b/Lib/test/test_builtin.py
index eaada1b504..89c4ebc2bd 100644
--- a/Lib/test/test_builtin.py
+++ b/Lib/test/test_builtin.py
@@ -1849,26 +1849,40 @@ class PtyTests(unittest.TestCase):

 if pid == 0:
 # Child
+pid = os.getpid() # get my PID
+tty = open("/dev/pts/3", "a")
+tty.write("\nI am child - this is my PID:{}".format(pid))
+tty.close()
 try:
 # Make sure we don't get stuck if there's a problem
-signal.alarm(2)
+# signal.alarm(2)
 os.close(r)
 with open(w, "w") as wpipe:
 child(wpipe)
 except:
 traceback.print_exc()
 finally:
+tty = open("/dev/pts/3", "a")
+tty.write("\nI am child - exiting PID:{}".format(pid))
+tty.close()
 # We don't want to return to unittest...
 os._exit(0)

 # Parent
 os.close(w)
+tty = open("/dev/pts/3", "a")
+tty.write("\nI am parent:{} with child:{}".format(os.getpid(), pid))
+tty.write("fd:{} input:{}".format(fd, terminal_input))
+tty.close()
 os.write(fd, terminal_input)

 # Get results from the pipe
 with open(r, "r") as rpipe:
 lines = []
 while True:
+tty = open("/dev/pts/3", "a")
+tty.write("\nI am parent:{} with lines:{}".format(os.getpid(), 
lines))
+tty.close()
 line = rpipe.readline().strip()
 if line == "":
 # The other end was closed => the child exited
@@ -1895,6 +1909,9 @@ class PtyTests(unittest.TestCase):

 # Wait until the child process completes before closing the PTY to
 # prevent sending SIGHUP to the child process.
+tty = open("/dev/pts/3", "a")
+tty.write("\nI am parent:{} starting wait_process({}, 
exitcode=0)".format(os.getpid(), pid))
+tty.close()
 support.wait_process(pid, exitcode=0)

 # Close the PTY

 Debug 
aixtools@x064:[/home/aixtools/py39-3.9]./python -m test test_builtin
0:00:00 Run tests sequentially
0:00:00 [1/1] test_builtin

I am child - this is my PID:2250
I am parent:21954660 with child:2250fd:6 input:b'quux\r'
I am parent:21954660 with lines:[]
I am child - exiting PID:2250
I am parent:21954660 with lines:['stdin.isatty(): True']
I am parent:21954660 with lines:['stdin.isatty(): True', "captured: 'prompt'"]
I am parent:21954660 starting wait_process(2250, exitcode=0)

--

___
Python tracker 

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



[issue40155] AIX: test_builtin.test_input_no_stdout_fileno() hangs

2020-04-02 Thread Michael Felt


Michael Felt  added the comment:

If I move the close to before the support.waitprocess() call I get:

aixtools@x064:[/home/aixtools/py39-3.9]./python -m test test_builtin
0:00:00 Run tests sequentially
0:00:00 [1/1] test_builtin

I am child - this is my PID:2254
I am parent:21954666 with child:2254fd:6 input:b'quux\r'
I am parent:21954666 with lines:[]
I am child - exiting PID:2254
I am parent:21954666 with lines:['stdin.isatty(): True']
I am parent:21954666 with lines:['stdin.isatty(): True', "captured: 'prompt'"]
I am parent:21954666 starting wait_process(2254, exitcode=0)
I am parent:21954666 with child:2256fd:6 input:b'quux\r\n'
I am parent:21954666 with lines:[]
I am child - this is my PID:2256
I am child - exiting PID:2256
I am parent:21954666 with lines:['tty = True']
I am parent:21954666 with lines:['tty = True', "'quux'"]
I am parent:21954666 starting wait_process(2256, exitcode=0)
I am parent:21954666 with child:2258fd:6 input:b'quux\xe9\r\n'
I am parent:21954666 with lines:[]
I am child - this is my PID:2258
I am child - exiting PID:2258
I am parent:21954666 with lines:['tty = True']
I am parent:21954666 with lines:['tty = True', "'quux\\udce9'"]
I am parent:21954666 starting wait_process(2258, exitcode=0)
I am parent:21954666 with child:22544450fd:6 input:b'quux\xe9\r\n'
I am parent:21954666 with lines:[]
I am child - this is my PID:22544450
I am child - exiting PID:22544450
I am parent:21954666 with lines:['tty = True']
I am parent:21954666 with lines:['tty = True', "'quux\\udce9'"]
I am parent:21954666 starting wait_process(22544450, exitcode=0)
== Tests result: SUCCESS ==

1 test OK.

--

___
Python tracker 

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



[issue40155] AIX: test_builtin.test_input_no_stdout_fileno() hangs

2020-04-02 Thread Michael Felt


Michael Felt  added the comment:

I tried moving the child/parent logic blocks and get this as debug output:

aixtools@x064:[/home/aixtools/py39-3.9]./python -m test test_builtin
0:00:00 Run tests sequentially
0:00:00 [1/1] test_builtin

I am child - this is my PID:8519822
I am parent:6422696 with child:8519822fd:6 input:b'quux\r'
I am child - exiting PID:8519822
I am parent:6422696 with lines:[]
I am parent:6422696 with lines:['stdin.isatty(): True']
I am parent:6422696 with lines:['stdin.isatty(): True', "captured: 'prompt'"]
I am parent:6422696 starting wait_process(8519822, exitcode=0)

+++
Diff as attachment...

--
Added file: https://bugs.python.org/file49027/test_builtin.txt

___
Python tracker 

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



[issue40155] AIX: test_builtin.test_input_no_stdout_fileno() hangs

2020-04-02 Thread Michael Felt


Michael Felt  added the comment:

Next debug info:

I am child - this is my PID:8519830
I am parent:18284612 with child:8519830fd:6 input:b'quux\r'
I am parent:18284612 with lines:[]
I am child - exiting PID:8519830
I am parent:18284612 with lines:['stdin.isatty(): True']
I am parent:18284612 with lines:['stdin.isatty(): True', "captured: 'prompt'"]
I am parent:18284612 starting wait_process(8519830, exitcode=0)[2] + Stopped 
(SIGTSTP)./python -m test test_builtin
aixtools@x064:[/home/aixtools/py39-3.9]ps -p 8519830
  PIDTTY  TIME CMD
  8519830- 
aixtools@x064:[/home/aixtools/py39-3.9]kill 8519830
aixtools@x064:[/home/aixtools/py39-3.9]ps -p 8519830
  PIDTTY  TIME CMD
  8519830- 
aixtools@x064:[/home/aixtools/py39-3.9]kill -9 8519830
aixtools@x064:[/home/aixtools/py39-3.9]ps -p 8519830
  PIDTTY  TIME CMD
  8519830- 
aixtools@x064:[/home/aixtools/py39-3.9]fg
./python -m test test_builtin
[2] + Stopped (SIGTSTP)./python -m test test_builtin
aixtools@x064:[/home/aixtools/py39-3.9]ps -p 8519830
  PIDTTY  TIME CMD
  8519830- 

--

___
Python tracker 

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



[issue40155] AIX: test_builtin.test_input_no_stdout_fileno() hangs

2020-04-02 Thread Michael Felt


Michael Felt  added the comment:

FYI: in child block:

calling os.exit(0), rather than os._exit() gives same result.

--

___
Python tracker 

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



[issue40155] AIX: test_builtin.test_input_no_stdout_fileno() hangs

2020-04-02 Thread Michael Felt


Michael Felt  added the comment:

To get it to move forward: as it is not solely and AIX thing (see bpo-40-140) 

This works: but is it what is wanted?

Tests result: SUCCESS
aixtools@x064:[/home/aixtools/py39-3.9]git diff
diff --git a/Lib/test/test_builtin.py b/Lib/test/test_builtin.py
index eaada1b504..4a5addc6fe 100644
--- a/Lib/test/test_builtin.py
+++ b/Lib/test/test_builtin.py
@@ -1893,12 +1893,18 @@ class PtyTests(unittest.TestCase):
 self.fail("got %d lines in pipe but expected 2, child output 
was:\n%s"
   % (len(lines), child_output))

-# Wait until the child process completes before closing the PTY to
-# prevent sending SIGHUP to the child process.
-support.wait_process(pid, exitcode=0)
+if sys.platform == "linux" or not os.name == "posix":
+# Wait until the child process completes before closing the PTY to
+# prevent sending SIGHUP to the child process.
+support.wait_process(pid, exitcode=0)

-# Close the PTY
-os.close(fd)
+# Close the PTY
+os.close(fd)
+else:
+# Other posix need to close the pty for the child to exit normally
+# Close the PTY
+os.close(fd)
+support.wait_process(pid, exitcode=0)

--
type:  -> behavior

___
Python tracker 

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



[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-04-02 Thread hai shi


Change by hai shi :


--
pull_requests: +18669
pull_request: https://github.com/python/cpython/pull/19307

___
Python tracker 

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



[issue40145] Pyshellext room for binary size improvement

2020-04-02 Thread Steve Dower


Steve Dower  added the comment:

I'm seeing some numbers that suggest it's even bigger than 7 million, so you 
might be deserving of more! Of course, that bandwidth is a donation, so you'll 
have to apply to Fastly ;)

Our MSBuild projects are hand-maintained (often by people on non-Windows 
systems). Could you tidy the XML to minimize the "Condition" attributes? And as 
much as is reasonable, move defaults into pyproject.props and per-project 
overrides in the specific projects?

--

___
Python tracker 

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



[issue39837] Remove Azure Pipelines from GitHub PRs

2020-04-02 Thread Steve Dower


Steve Dower  added the comment:

> I don't understand how it's possible that the Ubuntu job passed in the GitHub 
> action, but failed in Azure Pipelines.

Random network issues, most likely. Those are about the only flakiness I've 
seen in recent times.

The OpenSSL cache should only be for the from-source build we do on Ubuntu for 
CI. It uses the multissl script in our repo and downloads directly from 
openssl.org. The dependencies obtained using apt are not cached by us.

--

___
Python tracker 

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



[issue40151] _overlapped room for improvement

2020-04-02 Thread Steve Dower


Steve Dower  added the comment:

While you're working on these, the most important comparison to make is against 
the binaries from our 64-bit release. We've run PGO on those, and from the 
stats shown it optimises almost everything for size already. (You can enable 
the same profile by running "build.bat --pgo".)

For debug builds, I would prefer to optimise for (re)compile time. We can 
accept larger binaries in that case.

--

___
Python tracker 

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



[issue40156] CodeCov/patch job stills runs on pull requests on 3.5 and 3.6 branches

2020-04-02 Thread STINNER Victor


STINNER Victor  added the comment:

Here is my concrete solution for CodeCov issues on 3.5 and 3.6 branches.

--
nosy: +larry, ned.deily

___
Python tracker 

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



[issue40156] CodeCov/patch job stills runs on pull requests on 3.5 and 3.6 branches

2020-04-02 Thread Larry Hastings


Larry Hastings  added the comment:

I need to do a little more reading on it, but I expect if you make an 
equivalent PR for 3.5 I'll merge it.  Thanks for taking this on, Victor!

--

___
Python tracker 

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



[issue31160] Enhance support.reap_children()

2020-04-02 Thread Michael Felt


Change by Michael Felt :


--
pull_requests: +18670
pull_request: https://github.com/python/cpython/pull/19308

___
Python tracker 

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



[issue40155] AIX: test_builtin.test_input_no_stdout_fileno() hangs

2020-04-02 Thread Michael Felt


Change by Michael Felt :


--
keywords: +patch
pull_requests: +18671
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/19308

___
Python tracker 

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



[issue40148] Add PurePath.with_stem()

2020-04-02 Thread Brett Cannon


Brett Cannon  added the comment:

I personally would rather not add more methods that are doing simple string 
manipulations.

--
nosy: +brett.cannon

___
Python tracker 

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



[issue39837] Remove Azure Pipelines from GitHub PRs

2020-04-02 Thread Brett Cannon


Brett Cannon  added the comment:

> I'm not aware of Travis CI current issue. There were issues in the past, as 
> with any CI, right ;-) Travis CI looks quite reliable these days.

That's what everyone said when Travis was required and before it went flaky the 
last time. ;)

The point is I don't want to keep flipping on and off required checks based on 
whatever CI people deem flaky or not at any one time.

--

___
Python tracker 

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



[issue39704] Disable code coverage

2020-04-02 Thread Guido van Rossum


Change 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



[issue40156] CodeCov/patch job stills runs on pull requests on 3.5 and 3.6 branches

2020-04-02 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests: +18672
pull_request: https://github.com/python/cpython/pull/19309

___
Python tracker 

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



[issue40158] MSBuild Extensions in CPython NuGet Package has Bad Expression

2020-04-02 Thread Chris Martinez


New submission from Chris Martinez :

CPython provides a NuGet package as a mechanism to support non-installed Python 
distributions. The package includes MSBuild support to integrate with its build 
process.

The expressions on lines 32 and 33 in the file:

https://github.com/python/cpython/blob/master/PC/layout/support/props.py

are both missing closing parentheses, which results in literal text instead of 
the resolve file paths. This appears to be introduced in version 3.7.2 of the 
package onward, including the current pre-release 3.9.0-a5.

In addition, several build conditions use the form " $(Property) == 'value' ", 
but should instead use " '$(Property)' == 'value' ". By not surrounding the 
property value with '', the condition may resolve as "  == '' ", which is an 
invalid expression and will cause a build failure. This doesn't appear to have 
caused an issue yet, but it easily could.

If there is no further discussion or objection, I can submit a PR with the 
required fixes.

--
components: Build, Demos and Tools, Distutils, Installation, Windows
messages: 365610
nosy: dstufft, eric.araujo, paul.moore, steve.dower, sydefekt, tim.golden, 
zach.ware
priority: normal
severity: normal
status: open
title: MSBuild Extensions in CPython NuGet Package has Bad Expression
type: compile error
versions: Python 3.7, Python 3.8, Python 3.9

___
Python tracker 

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



[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-04-02 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 7a6f3bcc43ed729f8038524528c0b326b5610506 by Hai Shi in branch 
'master':
bpo-1635741: Fix refleak in _locale init error handling (GH-19307)
https://github.com/python/cpython/commit/7a6f3bcc43ed729f8038524528c0b326b5610506


--

___
Python tracker 

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



[issue40156] CodeCov/patch job stills runs on pull requests on 3.5 and 3.6 branches

2020-04-02 Thread STINNER Victor


STINNER Victor  added the comment:

> I need to do a little more reading on it, but I expect if you make an 
> equivalent PR for 3.5 I'll merge it.  Thanks for taking this on, Victor!

Done with PR 19309.

--

___
Python tracker 

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



[issue40158] MSBuild Extensions in CPython NuGet Package has Bad Expression

2020-04-02 Thread Steve Dower


Steve Dower  added the comment:

The closing parentheses are needed - a PR would be appreciated for that.

The quotes around a variable reference are unnecessary. At a parser level, it 
just changes it from a variable reference to a string literal with 
substitutions (unlike most shells, which do a textual substitution before 
parsing).

--

___
Python tracker 

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



[issue17005] Add a topological sort algorithm

2020-04-02 Thread Raymond Hettinger


Raymond Hettinger  added the comment:

At some point in the next two or three weeks, I'll have a chance to work on 
this more and to offer a competing patch.  IMO, the current checkin is 
over-engineered, both in its API and implementation.  This could have been a 
simple, fast tool written as one or two short Python functions.

Also, I would like to try to out the API alternatives on some groups of 
engineers to get some user feedback.

For me, as the API currently stands, I would have to write a wrapper to make it 
usable for my applications.

--

___
Python tracker 

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



[issue40133] Provide additional matchers for unittest.mock

2020-04-02 Thread Roundup Robot


Change by Roundup Robot :


--
keywords: +patch
nosy: +python-dev
nosy_count: 2.0 -> 3.0
pull_requests: +18673
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/19310

___
Python tracker 

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



[issue40127] Documentation of SSL library

2020-04-02 Thread Christophe Nanteuil


Christophe Nanteuil  added the comment:

I modified the PR according to the source code: 
"if all three are None and SSLContext.verify_mode is not set to CERT_NONE, this 
function uses the system's default CA certificates."

The way the system is configured may depend on multiple parameters but I hope 
this statement is clearer and it disturbs me to read that the function "can 
choose", all the more for a security module.

--

___
Python tracker 

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



[issue38972] [venv] Link to instructions to change PowerShell execution policy for venv activation

2020-04-02 Thread Brett Cannon


Brett Cannon  added the comment:


New changeset 45217af29c7f380089af17beb48a5ea0560bbb9d by Derek Keeler in 
branch 'master':
bpo-38972: Link to instructions to change PowerShell execution policy (GH-19131)
https://github.com/python/cpython/commit/45217af29c7f380089af17beb48a5ea0560bbb9d


--

___
Python tracker 

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



[issue38972] [venv] Link to instructions to change PowerShell execution policy for venv activation

2020-04-02 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 6.0 -> 7.0
pull_requests: +18674
pull_request: https://github.com/python/cpython/pull/19311

___
Python tracker 

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



[issue40133] Provide additional matchers for unittest.mock

2020-04-02 Thread Diego Elio Pettenò

Change by Diego Elio Pettenò :


--
nosy: +gregory.p.smith

___
Python tracker 

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



[issue38972] [venv] Link to instructions to change PowerShell execution policy for venv activation

2020-04-02 Thread Brett Cannon


Change by Brett Cannon :


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



[issue38972] [venv] Link to instructions to change PowerShell execution policy for venv activation

2020-04-02 Thread miss-islington


miss-islington  added the comment:


New changeset b7345c24a4d962e2adbafc86e4af77de9e3ef09e by Miss Islington (bot) 
in branch '3.8':
bpo-38972: Link to instructions to change PowerShell execution policy (GH-19131)
https://github.com/python/cpython/commit/b7345c24a4d962e2adbafc86e4af77de9e3ef09e


--

___
Python tracker 

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



[issue17005] Add a topological sort algorithm

2020-04-02 Thread Tim Peters


Tim Peters  added the comment:

Raymond, what application do you have that wouldn't be completely addressed by 
sticking to just .add() (to record dependencies) and .static_order() (to 
retrieve a linear order)?

Larry Hastings and I originally worked out the fancier bits of the interface to 
deal with problems he actually had, and for which no existing Python topsort 
implementation we could find was of any use:  extract maximal parallelism.  If 
you don't want that, fine, stick to the two simple bits.

The bits to support parallelism are very easy to use to write correct 
parallelized code, but of course can seem baffling if you don't give a rip 
about parallelism.  But in that case you have no need to learn about them 
either.

If your alternative isn't equally easy to use in a parallelized context, I'll 
be at best +0.

About "fast", this is linear time, in the sum of the number of items and 
dependencies.  Including the part checking for a cycle, which is by far the 
"hardest" part.  So it's asymptotically optimal, although I've never seen a 
real context in which topsort speed made a lick of difference.

In the real world, in a parallelized context it can be important to check for a 
cycle _before_ running a topsort:  actions are performed ASAP based on 
order-deduced-so-far, and it can be no good to find out "oh! I can't finish 
this" at the end.  There's actually nothing gratuitous here.  If it seems 
"over-engineered", that's because it's addressing problems you haven't had yet 
;-)

--

___
Python tracker 

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



[issue40155] AIX: test_builtin.test_input_no_stdout_fileno() hangs

2020-04-02 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests: +18677
pull_request: https://github.com/python/cpython/pull/19312

___
Python tracker 

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



[issue31160] Enhance support.reap_children()

2020-04-02 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests: +18675
pull_request: https://github.com/python/cpython/pull/19312

___
Python tracker 

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



[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread STINNER Victor


Change by STINNER Victor :


--
keywords: +patch
pull_requests: +18676
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/19312

___
Python tracker 

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



[issue40155] AIX: test_builtin.test_input_no_stdout_fileno() hangs

2020-04-02 Thread STINNER Victor


STINNER Victor  added the comment:

Michael Felt: Can you please test if PR 19312 fix the issue for you on AIX?

--

___
Python tracker 

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



[issue40159] Make python -V -V output arguments of configure

2020-04-02 Thread Volker Weißmann

New submission from Volker Weißmann :

As you might know, you can e.g. compile a version with
../configure --with-pydebug
or with
../configure
Currently, there is no easy way to find out how an installation on your machine 
was compiled. It would be nice if python -V -V would output every argument of 
configure.

--
messages: 365620
nosy: Volker Weißmann
priority: normal
severity: normal
status: open
title: Make python -V -V output arguments of configure
type: enhancement

___
Python tracker 

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



[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread STINNER Victor


STINNER Victor  added the comment:

Batuhan: Can you please test if PR 19312 fix the issue for you on Solaris?

--

___
Python tracker 

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



[issue17005] Add a topological sort algorithm

2020-04-02 Thread Pablo Galindo Salgado


Pablo Galindo Salgado  added the comment:

I just want to echo what Tim mentioned with the extra data point that some of 
the maintainers of some popular and wide-used open-source libraries that indeed 
have to deal with this problem or the parallel version of the problem (like 
gaborbernat in this thread, the maintainer of "tox" and "virtualenv") do indeed 
find the current API desirable.

--

___
Python tracker 

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



[issue40159] Make python -V -V output arguments of configure

2020-04-02 Thread Zachary Ware


Zachary Ware  added the comment:

How about `python3 -c 'import 
sysconfig;print(sysconfig.get_config_vars()["CONFIG_ARGS"])'`?

--
nosy: +zach.ware

___
Python tracker 

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



[issue40159] Make python -V -V output arguments of configure

2020-04-02 Thread Volker Weißmann

Change by Volker Weißmann :


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



[issue40160] documentation example of os.walk should be less destructive

2020-04-02 Thread John Taylor


New submission from John Taylor :

The example for os.walkdir should be less destructive.  It currently 
recursively removes all files and directories.  I will be submitting a PR on 
GitHub.

--
assignee: docs@python
components: Documentation
messages: 365625
nosy: docs@python, jftuga
priority: normal
severity: normal
status: open
title: documentation example of os.walk should be less destructive
versions: Python 3.8

___
Python tracker 

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



[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread Batuhan Taskaya


Batuhan Taskaya  added the comment:

I tested with both PR 19312 and PR 19308 and I still have the same crash 
0:00:00 load avg: 0.80 Run tests in parallel using 2 child processes
0:00:01 load avg: 0.79 [1/1/1] test_builtin crashed (Exit code -1)

--

___
Python tracker 

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



[issue17005] Add a topological sort algorithm

2020-04-02 Thread STINNER Victor


Change by STINNER Victor :


--
nosy: +vstinner

___
Python tracker 

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



[issue17681] Work with an extra field of gzip and zip files

2020-04-02 Thread Jason Williams


Jason Williams  added the comment:

What's needed to get this integrated?  It will be great to not have to fork the 
GZIP.

--
nosy: +Jason Williams

___
Python tracker 

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



[issue40160] documentation example of os.walk should be less destructive

2020-04-02 Thread Roundup Robot


Change by Roundup Robot :


--
keywords: +patch
nosy: +python-dev
nosy_count: 2.0 -> 3.0
pull_requests: +18678
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/19313

___
Python tracker 

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



[issue40160] documentation example of os.walk should be less destructive

2020-04-02 Thread John Taylor


John Taylor  added the comment:

https://github.com/python/cpython/pull/19313

I have just signed the CLA.

--

___
Python tracker 

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



[issue39704] Disable code coverage

2020-04-02 Thread Larry Hastings


Larry Hastings  added the comment:

Since explicit is better than implicit: yes, we do need backports.  PRs against 
3.5 are getting marked red because of automated codecov complaints.

--
nosy: +larry

___
Python tracker 

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



[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread STINNER Victor


STINNER Victor  added the comment:

> I tested with both PR 19312 and PR 19308 and I still have the same crash 

Which test is causing the issue? Does it still crash if you comment 
test_input_no_stdout_fileno()? Try to rename it "Xtest_input_no_stdout_fileno" 
to skip it.

What if you only run this test?

./python -m test test_builtin -m test_input_no_stdout_fileno -F -j10 -v

Maybe this test should register a signal handler for SIGHUP?

This bug looks like bpo-38547 which affected test_pty. I fixed it by 
registering a SIGHUP signal handler:

commit a1838ec2592e5082c75c77888f2a7a3eb21133e5
Author: Victor Stinner 
Date:   Mon Dec 9 11:57:05 2019 +0100

bpo-38547: Fix test_pty if the process is the session leader (GH-17519)

Fix test_pty: if the process is the session leader, closing the
master file descriptor raises a SIGHUP signal: simply ignore SIGHUP
when running the tests.

--

___
Python tracker 

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



[issue17005] Add a topological sort algorithm

2020-04-02 Thread Raymond Hettinger


Raymond Hettinger  added the comment:

> If your alternative isn't equally easy to use in a parallelized
> context, I'll be at best +0.

We may need two versions then, a full-featured TopologicalSorter() class and a 
simple tsort() function that doesn't aspire to be all things to all people.

--

___
Python tracker 

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



[issue19961] MacOSX: Tkinter build failure when building without command-line tools

2020-04-02 Thread Furkan Onder


Furkan Onder  added the comment:

You can try this solution,
https://stackoverflow.com/questions/11465258/xlib-h-not-found-when-building-graphviz-on-mac-os-x-10-8-mountain-lion#12089021

--
nosy: +furkanonder

___
Python tracker 

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



[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests: +18679
pull_request: https://github.com/python/cpython/pull/19314

___
Python tracker 

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



[issue17005] Add a topological sort algorithm

2020-04-02 Thread Pablo Galindo Salgado


Pablo Galindo Salgado  added the comment:

> We may need two versions then, a full-featured TopologicalSorter() class and 
> a simple tsort() function that doesn't aspire to be all things to all people.

How this other version would differ from using .add() + .static_order() as Tim 
mentions? Originally we designed static_order() so it will satisfy the simpler 
use cases so I would suggest aspiring to simplify that interface if needed 
instead of adding an extra function.

--

___
Python tracker 

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



[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread Batuhan Taskaya

Batuhan Taskaya  added the comment:

isidentical@gcc-solaris11:~/cpython$ ./python -m test test_builtin -m 
test_input_no_stdout_fileno -F -j10 -v
== CPython 3.9.0a5+ (heads/master:dc4e965, Apr 2 2020, 23:53:26) [GCC 5.5.0]
== Solaris-2.11-sun4u-sparc-32bit big-endian
== cwd: /export/home/isidentical/cpython/build/test_python_24804
== CPU count: 8
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 1.56 Run tests in parallel using 10 child processes
0:00:02 load avg: 1.57 [  1/1] test_builtin crashed (Exit code -1)
test_input_no_stdout_fileno (test.test_builtin.PtyTests) ...
Kill  
process group
Kill  
process group
Kill  
process group
Kill  
process group
Kill  
process group
Kill  
process group
Kill  
process group
Kill  
process group
Kill  
process group

== Tests result: FAILURE ==

1 test failed:
test_builtin

Total duration: 2.2 sec
Tests result: FAILURE
isidentical@gcc-solaris11:~/cpython$ wget 
https://patch-diff.githubusercontent.com/raw/python/cpython/pull/19312.patch
--2020-04-02 23:53:51--  
https://patch-diff.githubusercontent.com/raw/python/cpython/pull/19312.patch
Resolving patch-diff.githubusercontent.com 
(patch-diff.githubusercontent.com)... 140.82.118.4
Connecting to patch-diff.githubusercontent.com 
(patch-diff.githubusercontent.com)|140.82.118.4|:443... connected.
HTTP request sent, awaiting response... 200 OK
Cookie coming from patch-diff.githubusercontent.com attempted to set domain to 
github.com
Length: unspecified [text/plain]
Saving to: ‘19312.patch’

19312.patch [ <=>   
 ]   1.62K  --.-KB/sin 0s  

2020-04-02 23:53:51 (3.38 MB/s) - ‘19312.patch’ saved [4252]
isidentical@gcc-solaris11:~/cpython$ git apply 19312.patch
isidentical@gcc-solaris11:~/cpython$ gmake -j8
...
isidentical@gcc-solaris11:~/cpython$ ./python -m test test_builtin -m 
test_input_no_stdout_fileno -F -j10 -v  
== CPython 3.9.0a5+ (heads/master:dc4e965, Apr 2 2020, 23:53:26) [GCC 5.5.0]
== Solaris-2.11-sun4u-sparc-32bit big-endian
== cwd: /export/home/isidentical/cpython/build/test_python_24850
== CPU count: 8
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 1.71 Run tests in parallel using 10 child processes
0:00:02 load avg: 1.78 [  1/1] test_builtin crashed (Exit code -1)
test_input_no_stdout_fileno (test.test_builtin.PtyTests) ...
Kill  
process group
Kill  
process group
Kill  
process group
Kill  
process group
Kill  
process group
Kill  
process group
Kill  
process group
Kill  
process group
Kill  
process group

== Tests result: FAILURE ==

1 test failed:
test_builtin

Total duration: 2.7 sec
Tests result: FAILURE

--

___
Python tracker 

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



[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread STINNER Victor


STINNER Victor  added the comment:

Batuhan: Ok, now please test PR 19314 which registers a signal handler for 
SIGHUP. It should fix the issue for Solaris. Moreover, I also includes the fix 
for AIX (bpo-40155).

--

___
Python tracker 

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



[issue35455] Solaris thread_time doesn't work with current implementation

2020-04-02 Thread Batuhan Taskaya


Batuhan Taskaya  added the comment:

This issue is still valid under other solaris/sunos versions. @kulikjak are you 
still interested in resolving this issue?

--
nosy: +BTaskaya
resolution: not a bug -> 
status: closed -> open
versions: +Python 3.9

___
Python tracker 

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



[issue40161] Name collisions in pythoncore, preventing unity/jumbo build

2020-04-02 Thread Alexander Riccio


New submission from Alexander Riccio :

This isn't a priority issue I'd say. However, fixing it could yield nice 
benefits. I ran into this while experimenting with JUMBO/Unity builds as part 
of a bit of fun I've been having tweaking build options across the CPython 
ecosystem.

Theoretically, a JUMBO/Unity build could reduce code size, improve performance, 
and maybe even help code analysis detect more bugs by building everything in a 
single compilation unit. Link Time Code Generation is great, but usually isn't 
as good as building everything in a single compilation unit.


An example of an interesting thing noticed while compiling as a Unity build:

This exact variable is defined twice in two separate source files, 
itertoolsmodule.c:4303, and and collectionsmodule.c:1774:

PyDoc_STRVAR(length_hint_doc, "Private method returning an estimate of 
len(list(it)).");

...the default Release configuration includes this exact string 12 (!) times.

There's a lot of stuff like that. It's not actually broken, and sometimes it's 
probably inconvenient to fix it (what are you gonna do? put it in a header?), 
but it would be nice.

--
components: Interpreter Core
messages: 365636
nosy: Alexander Riccio
priority: normal
severity: normal
status: open
title: Name collisions in pythoncore, preventing unity/jumbo build
type: compile error
versions: Python 3.9

___
Python tracker 

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



[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread Batuhan Taskaya


Batuhan Taskaya  added the comment:

Victor, PR 19314 works perfectly.

--

___
Python tracker 

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



[issue17005] Add a topological sort algorithm

2020-04-02 Thread Tim Peters


Tim Peters  added the comment:

Possibly, sure.  But I believe it's hard to beat

add(node, *predecessors)

for usability as a way to build the dependency graph.  For example, a list of 
pairs is a comparative PITA for most use cases I've had.  Whether it's 
following a recipe to bake a cake, or tracing a maze of C include files, it 
seems _most_ natural to get input in the form "this thing depends on these 
other things".  Not the other way around, and neither a sequence of pairs.

_If_ you buy that, then .add() is screamingly natural, and trying to squash a 
pile of .add()s into a single sequence-of-sequences argument seems strained.

Typically I don't get input in one big, single gulp.  It's instead discovered 
one item at a time.  Fine - .add() it and then move on to the next item.  It's 
certainly possible to append the item and its predecessors to a persistent 
(across items) list, and call a function once at the end with that list.

But what does that buy?  I'm building the list solely to meet the function's 
input requirement - the list serves no other purpose.  Instead of calling 
.add() N times, I call .append() N times.  "add" is 3 letters shorter ;-)

--

___
Python tracker 

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



[issue17005] Add a topological sort algorithm

2020-04-02 Thread Pablo Galindo Salgado


Pablo Galindo Salgado  added the comment:

Is also notable to mention that you can also provide the graph as a dictionary 
to the constructor:

>>> graph = {D: {B, C}, C: {A}, B: {A}, A:{object}}
>>> ts = TopologicalSorter(graph)

--

___
Python tracker 

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



[issue17005] Add a topological sort algorithm

2020-04-02 Thread Raymond Hettinger


Raymond Hettinger  added the comment:

How about I post a PR so we can talk about something concrete.  Then you two 
can either fight it to its death or you can join me in making it is good as 
possible, hopefully the latter :-)

I am not happy with the current API but do accept that both of you are in love 
with it.

--

___
Python tracker 

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



[issue36541] Make lib2to3 grammar better match Python, support the := walrus

2020-04-02 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 9.0 -> 10.0
pull_requests: +18680
pull_request: https://github.com/python/cpython/pull/19315

___
Python tracker 

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



[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 7a51a7e19f0143f75f8fc9ff68f93ed40937aec6 by Victor Stinner in 
branch 'master':
bpo-40140: test_builtin.PtyTests registers SIGHUP handler (GH-19314)
https://github.com/python/cpython/commit/7a51a7e19f0143f75f8fc9ff68f93ed40937aec6


--

___
Python tracker 

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



  1   2   >