[issue45854] winreg: implement RegGetValue

2021-11-20 Thread Jiuding Tan


Change by Jiuding Tan <109224...@qq.com>:


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

___
Python tracker 

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



[issue22276] pathlib glob ignores trailing slash in pattern

2021-11-20 Thread Andrei Kulakov


Andrei Kulakov  added the comment:

Generally if Path is created with a trailing separator, I think it should error 
out for all methods that apply to files, for example `.touch()`, `read*()`, 
`write*()`, others.

This is consistent with shell commands:

touch xyz/  
 touch: xyz/: Not a directory 

echo 'blah' > xyz/  
 
zsh: not a directory: xyz/

--

___
Python tracker 

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



[issue22276] pathlib glob ignores trailing slash in pattern

2021-11-20 Thread Andrei Kulakov


Andrei Kulakov  added the comment:

I meant to say:

path.glob('myfile/') => [PosixPath('myfile')]

--

___
Python tracker 

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



[issue22276] pathlib glob ignores trailing slash in pattern

2021-11-20 Thread Andrei Kulakov


Andrei Kulakov  added the comment:

I have also run into this when looking into path.glob('dangling_symlink') issue.

I can add a few things (in the examples, *myfile* is a file, not a directory):

This is probably more common / less obscure than '*/':

path.glob('myfile/') => True

This is inconsistent with how shell `ls` command works and with glob.glob() and 
looks wrong.

Path('myfile/').exists() => True

Path('myfile/') == Path('myfile') => True

str(Path('myfile/')) => 'myfile'

You can compare this to behavior of `ls` (tested on MacOS):

ls myfile
myfile

ls myfile/
ls: myfile/: Not a directory

I think many users will expect behavior consistent with `ls` and `glob.glob`. 
I've used `ls` in this manner before.

--
nosy: +andrei.avk

___
Python tracker 

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



[issue45856] [doc] map() documentation ambiguous about consumption order

2021-11-20 Thread Thibaut Horel

Thibaut Horel  added the comment:

> this hasn't proven to be a point of confusion

Absence of evidence is not evidence of absence… The word "confusion" is 
probably a bit strong, but I recently had to write code relying on this 
behavior and found myself checking the documentation to make sure the code 
would behave as I expected. Not being able to find it explained in the 
documentation, I felt uncomfortable relying on an implicit behavior. After all, 
doesn't the PEP 20 state that "Explicit is better than implicit"?

> In the context of map() however this technique is rarely, if ever, used.

I think use cases are more common than what might appear at first glance. For 
example, a file could contain information about a list of entities, each entity 
being described over two consecutive lines of the file (this is admittedly a 
bad format for a file, but such is the reality of real-world data…). Then, 
given a function `parse` constructing an internal representation of the entity 
from two lines, the list of entities can elegantly be constructed using 
`map(parse, file, file)`. The equivalent construction with `zip` would be 
something like `starmap(parse, zip(file, file))` which is unnecessary 
convoluted.

> the pure python code provided is likely only intelligible to someone who 
> already understands map()

The pure Python code expresses `map` in terms of other language constructs, so 
it is not clear to me why one would need to already understand `map()` to 
understand the provided code. This is similar to a dictionary definition, where 
a concept is explained in terms of other concepts. This is also similar to how 
related functions (like `starmap`) are explained in the `itertools` module.

Overall, I am curious about the rationale behind not making the documentation 
more explicit when possible.

--

___
Python tracker 

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



[issue45839] python3 executable is able to install pandas

2021-11-20 Thread Ned Deily


Ned Deily  added the comment:

That is very unusual behavior. Pip has its own private certificate store that 
it uses to make secure connections to pypi.org and the version of pip supplied 
with the python.org 3.10.0 macOS installer should work just fine as is. I just 
verified that it works for me. I'm just guessing here but I think the most 
likely cause of this behavior is that your internet connection is behind a 
misconfigured or malevolent proxy server. You may want to check your DNS 
settings as well to try to use a neutral DNS provider. There are discussions of 
similar problems on the web: try searching for: pypi self signed certificate in 
certificate chain. Good luck!

--

___
Python tracker 

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



[issue45856] [doc] map() documentation ambiguous about consumption order

2021-11-20 Thread Raymond Hettinger


Raymond Hettinger  added the comment:

I don't think this suggestion is helpful or necessary.   The map() docs have 
been around for a long time and this hasn't proven to be a point of confusion.  

The itertools docs already have a recipe demonstrating the technique of passing 
the same iterator multiple times with izip_longest().  That is a case where the 
technique is useful.  In the context of map() however this technique is rarely, 
if ever, used.

A last thought is that we do put in rough pure python equivalents when they 
help understand the function.  In this case though, the pure python code 
provided is likely only intelligible to someone who already understands map().

Thank you for the suggestion, but we should pass on this one.

--
nosy: +rhettinger

___
Python tracker 

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



[issue45856] [doc] map() documentation ambiguous about consumption order

2021-11-20 Thread Raymond Hettinger


Change by Raymond Hettinger :


--
resolution:  -> rejected
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



[issue45852] statistics.mode test doesn't test what it claims to

2021-11-20 Thread Raymond Hettinger


Raymond Hettinger  added the comment:


New changeset 9841ac2da5689ff765250c1abdbf5af9d3750519 by Miss Islington (bot) 
in branch '3.10':
bpo-45852:  Fix the Counter/iter test for statistics.mode() (GH-29667) 
(GH-29671)
https://github.com/python/cpython/commit/9841ac2da5689ff765250c1abdbf5af9d3750519


--

___
Python tracker 

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



[issue44556] ctypes unittest crashes with libffi 3.4.2

2021-11-20 Thread Ned Deily


Ned Deily  added the comment:

Yes, this does appear to be a result of the problem described in Issue45350. As 
noted there, the problem was caused by running autoreconf to regerenerate the 
./configure script in an environment where pkg-config wasn't installed which 
caused some pkg-config code to be removed from ./configure. And, unfortunately, 
the ./configure script included with the v3.10.0 release still had that 
problem. You can copy an updated version from the current 3.10.0 branch or wait 
for 3.10.1 or you can try running autoreconf yourself in the source directory.

--
nosy: +ned.deily
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> configure incorrectly ignores pkg-config information for libffi 
and Tcl/Tk in 3.10

___
Python tracker 

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



[issue45803] make_dataclass is missing the documented kw_only argument

2021-11-20 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 2.0 -> 3.0
pull_requests: +27921
pull_request: https://github.com/python/cpython/pull/29680

___
Python tracker 

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



[issue45803] make_dataclass is missing the documented kw_only argument

2021-11-20 Thread Eric V. Smith


Eric V. Smith  added the comment:

Thanks for the bug report!

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



[issue45856] [doc] map() documentation ambiguous about consumption order

2021-11-20 Thread Thibaut Horel

New submission from Thibaut Horel :

In cases where multiple iterables are passed to the built-in function map(), 
the documentation is ambiguous about the order in which they are consumed [1]. 
Although the order of evaluation of function arguments is documented to be 
left-to-right in general [2], this does not necessarily imply that the 
__next__() functions of the underlying iterators are called from left to right 
*before* passing the returned elements to the function being mapped. This is 
particularly relevant when the same iterator is passed multiple times, or when 
there are side effects to consuming the iterables.

I suggest adding the sentence “The iterables are consumed in left-to-right 
order at each iteration.”, similar to how it is done for the function zip() 
[3]. Furthermore, I think providing the following (roughly) equivalent 
implementation in pure Python might be illuminating:

def map(function, *iterables):
iterators = tuple(iter(it) for it in iterables)
while True:
try:
args = [next(it) for it in iterators]
except StopIteration:
break
yield func(*args)


Finally, the following example could be added. “This makes it possible to apply 
a function to consecutive groups of elements from the same iterator by passing 
it multiple times to `map`:

from itertools import count

ctr = count()
# map(func, ctr, ctr) -> func(0, 1), func(2, 3), ...
 
”

I am happy to submit a pull request once we reach a consensus on the 
formulation.

[1] https://docs.python.org/3/library/functions.html#map
[2] https://docs.python.org/3/reference/expressions.html#evaluation-order
[3] https://docs.python.org/3/library/functions.html#zip

--
assignee: docs@python
components: Documentation
messages: 406693
nosy: docs@python, eric.araujo, ezio.melotti, mdk, thibaut.horel, willingc
priority: normal
severity: normal
status: open
title: [doc] map() documentation ambiguous about consumption order
type: enhancement
versions: Python 3.10, Python 3.11, 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



[issue45803] make_dataclass is missing the documented kw_only argument

2021-11-20 Thread Eric V. Smith


Change by Eric V. Smith :


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

___
Python tracker 

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



[issue45803] make_dataclass is missing the documented kw_only argument

2021-11-20 Thread Eric V. Smith


Change by Eric V. Smith :


--
type:  -> behavior

___
Python tracker 

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



[issue45845] Fix bad links in faqs

2021-11-20 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

Thank you for the reports.

--
title: Dead link 'pythoncraft.com/OSCON2001'  in faq/library -> Fix bad links 
in faqs

___
Python tracker 

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



[issue45845] Dead link 'pythoncraft.com/OSCON2001' in faq/library

2021-11-20 Thread Terry J. Reedy


Terry J. Reedy  added the comment:


New changeset e81e1d7f8116e9bf905ca378b0bec3ca5131bc29 by Miss Islington (bot) 
in branch '3.9':
[3.9] bpo-45845: Change link for pyserial (GH-29675)
https://github.com/python/cpython/commit/e81e1d7f8116e9bf905ca378b0bec3ca5131bc29


--

___
Python tracker 

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



[issue45845] Dead link 'pythoncraft.com/OSCON2001' in faq/library

2021-11-20 Thread Terry J. Reedy


Terry J. Reedy  added the comment:


New changeset 3528df12581e8ccf3fae6d25bd9687ae55424398 by Miss Islington (bot) 
in branch '3.10':
[3.10] bpo-45845: Change link for pyserial (GH-29675)
https://github.com/python/cpython/commit/3528df12581e8ccf3fae6d25bd9687ae55424398


--

___
Python tracker 

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



[issue44733] Feature request: maxtasksperchild for ProcessPoolExecutor

2021-11-20 Thread Antoine Pitrou


Change by Antoine Pitrou :


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



[issue44733] Feature request: maxtasksperchild for ProcessPoolExecutor

2021-11-20 Thread Antoine Pitrou


Antoine Pitrou  added the comment:


New changeset fdc0e09c3316098b038996c428e88931f0a4fcdb by Logan Jones in branch 
'main':
bpo-44733: Add max_tasks_per_child to ProcessPoolExecutor (GH-27373)
https://github.com/python/cpython/commit/fdc0e09c3316098b038996c428e88931f0a4fcdb


--

___
Python tracker 

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



[issue45843] Optimizing LOAD_CONST followed by COMPARE_OP (or IS_OP)

2021-11-20 Thread Batuhan Taskaya


Batuhan Taskaya  added the comment:

> Result of `255581293 > 12938373 and 113314 < 2`:

Is there a similar pattern that happens a lot on the client code? The AST 
optimizer currently only optimizes common cases.

--
nosy: +BTaskaya, pablogsal, serhiy.storchaka

___
Python tracker 

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



[issue45845] Dead link 'pythoncraft.com/OSCON2001' in faq/library

2021-11-20 Thread Terry J. Reedy


Terry J. Reedy  added the comment:


New changeset 123a3527ddd7774e8db325c778927e49172e01d4 by Terry Jan Reedy in 
branch 'main':
bpo-45845: Change link for pyserial (GH-29675)
https://github.com/python/cpython/commit/123a3527ddd7774e8db325c778927e49172e01d4


--

___
Python tracker 

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



[issue45845] Dead link 'pythoncraft.com/OSCON2001' in faq/library

2021-11-20 Thread miss-islington


Change by miss-islington :


--
pull_requests: +27919
pull_request: https://github.com/python/cpython/pull/29678

___
Python tracker 

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



[issue45845] Dead link 'pythoncraft.com/OSCON2001' in faq/library

2021-11-20 Thread miss-islington


Change by miss-islington :


--
pull_requests: +27918
pull_request: https://github.com/python/cpython/pull/29677

___
Python tracker 

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



[issue45845] Dead link 'pythoncraft.com/OSCON2001' in faq/library

2021-11-20 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
pull_requests: +27917
pull_request: https://github.com/python/cpython/pull/29675

___
Python tracker 

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



[issue45813] Importing asyncio after deleting a coroutine object and before cleaning it up leads to crashing on Python3.11

2021-11-20 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

The crash in IDLE could be in tcl or any of the extra modules imported by IDLE, 
such as tkinter and socket.  It should be retested on Windows once this appears 
fixed otherwise.

--

___
Python tracker 

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



[issue45845] Dead link 'pythoncraft.com/OSCON2001' in faq/library

2021-11-20 Thread Terry J. Reedy


Change by Terry J. Reedy :


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



[issue44844] The command line of launching Edge on Linux hangs

2021-11-20 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
Removed message: https://bugs.python.org/msg406684

___
Python tracker 

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



[issue44844] The command line of launching Edge on Linux hangs

2021-11-20 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
Removed message: https://bugs.python.org/msg406680

___
Python tracker 

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



[issue45845] Dead link 'pythoncraft.com/OSCON2001' in faq/library

2021-11-20 Thread Terry J. Reedy


Terry J. Reedy  added the comment:


New changeset edabf3904619e6be97d12e41d30402845b3ec8b8 by Miss Islington (bot) 
in branch '3.10':
bpo-45845: Remove unresponsive web link (GH-29651) (GH-29674)
https://github.com/python/cpython/commit/edabf3904619e6be97d12e41d30402845b3ec8b8


--

___
Python tracker 

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



[issue44844] The command line of launching Edge on Linux hangs

2021-11-20 Thread miss-islington


Change by miss-islington :


--
pull_requests: +27916
pull_request: https://github.com/python/cpython/pull/29674

___
Python tracker 

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



[issue44844] The command line of launching Edge on Linux hangs

2021-11-20 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
pull_requests:  -27913

___
Python tracker 

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



[issue44844] The command line of launching Edge on Linux hangs

2021-11-20 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
pull_requests:  -27912

___
Python tracker 

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



[issue44844] The command line of launching Edge on Linux hangs

2021-11-20 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
pull_requests:  -27892

___
Python tracker 

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



[issue45845] Dead link 'pythoncraft.com/OSCON2001' in faq/library

2021-11-20 Thread miss-islington


Change by miss-islington :


--
pull_requests: +27915
pull_request: https://github.com/python/cpython/pull/29673

___
Python tracker 

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



[issue45845] Dead link 'pythoncraft.com/OSCON2001' in faq/library

2021-11-20 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 3.0 -> 4.0
pull_requests: +27914
pull_request: https://github.com/python/cpython/pull/29674

___
Python tracker 

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



[issue44844] The command line of launching Edge on Linux hangs

2021-11-20 Thread miss-islington


miss-islington  added the comment:


New changeset d1855ed752ea0484101fc13622626ed0fa2c17b9 by Miss Islington (bot) 
in branch '3.9':
bpo-44844: Remove unresponsive web link (GH-29651)
https://github.com/python/cpython/commit/d1855ed752ea0484101fc13622626ed0fa2c17b9


--

___
Python tracker 

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



[issue45609] Specialize STORE_SUBSCR

2021-11-20 Thread Pablo Galindo Salgado


Change by Pablo Galindo Salgado :


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



[issue45709] 3.11 regression: tracing with-statement on exit from block

2021-11-20 Thread Pablo Galindo Salgado


Pablo Galindo Salgado  added the comment:

Mark, os something left to do here?

--
nosy: +pablogsal

___
Python tracker 

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



[issue45811] Improve error message when source code contains invisible control characters

2021-11-20 Thread Pablo Galindo Salgado


Change by Pablo Galindo Salgado :


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



[issue45811] Improve error message when source code contains invisible control characters

2021-11-20 Thread Pablo Galindo Salgado


Pablo Galindo Salgado  added the comment:


New changeset 81f4e116ef7d30ef6e2041c2d6cf29af511a3a02 by Pablo Galindo Salgado 
in branch 'main':
bpo-45811: Improve error message when source code contains invisible control 
characters (GH-29654)
https://github.com/python/cpython/commit/81f4e116ef7d30ef6e2041c2d6cf29af511a3a02


--

___
Python tracker 

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



[issue45450] Improve syntax error for parenthesized arguments

2021-11-20 Thread Pablo Galindo Salgado


Pablo Galindo Salgado  added the comment:


New changeset 7a1d9325287a39528b795b1e8037146777abfe3e by Pablo Galindo Salgado 
in branch 'main':
bpo-45450: Improve syntax error for parenthesized arguments (GH-28906)
https://github.com/python/cpython/commit/7a1d9325287a39528b795b1e8037146777abfe3e


--

___
Python tracker 

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



[issue45450] Improve syntax error for parenthesized arguments

2021-11-20 Thread Pablo Galindo Salgado


Change by Pablo Galindo Salgado :


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



[issue44844] The command line of launching Edge on Linux hangs

2021-11-20 Thread miss-islington


Change by miss-islington :


--
pull_requests: +27913
pull_request: https://github.com/python/cpython/pull/29674

___
Python tracker 

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



[issue44844] The command line of launching Edge on Linux hangs

2021-11-20 Thread Terry J. Reedy


Terry J. Reedy  added the comment:


New changeset 985233914504c73f14a23af1c68a3709079e6913 by Terry Jan Reedy in 
branch 'main':
bpo-44844: Remove unresponsive web link (GH-29651)
https://github.com/python/cpython/commit/985233914504c73f14a23af1c68a3709079e6913


--

___
Python tracker 

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



[issue44844] The command line of launching Edge on Linux hangs

2021-11-20 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 3.0 -> 4.0
pull_requests: +27912
pull_request: https://github.com/python/cpython/pull/29673

___
Python tracker 

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



[issue45727] Parse error when missing commas is inconsistent

2021-11-20 Thread Pablo Galindo Salgado


Change by Pablo Galindo Salgado :


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



[issue43007] set_wakeup_fd() only works in main thread

2021-11-20 Thread MeneMeneTekel


MeneMeneTekel  added the comment:

Finally... it works for me - I migrated to

 - Windows Server 2019 Datacenter
 - WinPython 3.9.5
 - Apache24 AH
 - Django 3.2.9
 - mod_wsgi-4.9.0-cp39-cp39-win_amd64

Whoever made that it works again thanks a lot ;-)

MeneMeneTekel

--
resolution:  -> works for me
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



[issue45494] [fuzzer] Parser null deref with continuation characters and generator parenthesis error

2021-11-20 Thread miss-islington


miss-islington  added the comment:


New changeset a427eb862f11888fa69fee520eb8a20bd396fcdb by Miss Islington (bot) 
in branch '3.10':
bpo-45494: Fix error location in EOF tokenizer errors (GH-29108)
https://github.com/python/cpython/commit/a427eb862f11888fa69fee520eb8a20bd396fcdb


--

___
Python tracker 

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



[issue45494] [fuzzer] Parser null deref with continuation characters and generator parenthesis error

2021-11-20 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 5.0 -> 6.0
pull_requests: +27911
pull_request: https://github.com/python/cpython/pull/29672

___
Python tracker 

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



[issue45494] [fuzzer] Parser null deref with continuation characters and generator parenthesis error

2021-11-20 Thread Pablo Galindo Salgado


Pablo Galindo Salgado  added the comment:


New changeset 79ff0d1687e3f823fb121a19f0297ad052871b1b by Pablo Galindo Salgado 
in branch 'main':
bpo-45494: Fix error location in EOF tokenizer errors (GH-29108)
https://github.com/python/cpython/commit/79ff0d1687e3f823fb121a19f0297ad052871b1b


--

___
Python tracker 

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



[issue45727] Parse error when missing commas is inconsistent

2021-11-20 Thread Pablo Galindo Salgado


Pablo Galindo Salgado  added the comment:


New changeset 511ee1c0fa4dedf32cc2b9f9fa13aa61e07bd165 by Pablo Galindo Salgado 
in branch '3.10':
[3.10] bpo-45727: Make the syntax error for missing comma more consistent 
(GH-29427) (GH-29647)
https://github.com/python/cpython/commit/511ee1c0fa4dedf32cc2b9f9fa13aa61e07bd165


--

___
Python tracker 

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



[issue45848] Pegen's nice error reporting crashes with non-UTF-8 files

2021-11-20 Thread Pablo Galindo Salgado


Change by Pablo Galindo Salgado :


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



[issue45851] statistics.multimode is inefficient (time and space) (mode somewhat, too)

2021-11-20 Thread Stefan Pochmann


Stefan Pochmann  added the comment:

Ok, thanks, had somewhat expected that, as the multimode proposal was rather 
clearly better but the mode proposal not so much.

--

___
Python tracker 

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



[issue45852] statistics.mode test doesn't test what it claims to

2021-11-20 Thread Raymond Hettinger


Raymond Hettinger  added the comment:


New changeset 48744db70ed519c1566c22bf123a0e1f5c69253f by Raymond Hettinger in 
branch 'main':
bpo-45852:  Fix the Counter/iter test for statistics.mode() (GH-29667)
https://github.com/python/cpython/commit/48744db70ed519c1566c22bf123a0e1f5c69253f


--

___
Python tracker 

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



[issue45852] statistics.mode test doesn't test what it claims to

2021-11-20 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 3.0 -> 4.0
pull_requests: +27910
pull_request: https://github.com/python/cpython/pull/29671

___
Python tracker 

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



[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-20 Thread Christian Heimes


Change by Christian Heimes :


--
pull_requests: +27909
pull_request: https://github.com/python/cpython/pull/29668

___
Python tracker 

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



[issue45852] statistics.mode test doesn't test what it claims to

2021-11-20 Thread Raymond Hettinger


Change by Raymond Hettinger :


--
assignee:  -> rhettinger

___
Python tracker 

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



[issue45852] statistics.mode test doesn't test what it claims to

2021-11-20 Thread Raymond Hettinger


Raymond Hettinger  added the comment:

Thanks for noticing this.

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.11

___
Python tracker 

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



[issue45774] Detect SQLite in configure.ac

2021-11-20 Thread Erlend E. Aasland


Change by Erlend E. Aasland :


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

___
Python tracker 

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



[issue45852] statistics.mode test doesn't test what it claims to

2021-11-20 Thread Raymond Hettinger


Change by Raymond Hettinger :


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

___
Python tracker 

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



[issue45855] PyCapsule_Import still using PyImport_ImportModuleNoBlock

2021-11-20 Thread Georg Brandl


Change by Georg Brandl :


--
keywords: +patch
pull_requests: +27907
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/29665

___
Python tracker 

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



[issue45855] PyCapsule_Import still using PyImport_ImportModuleNoBlock

2021-11-20 Thread Georg Brandl


Georg Brandl  added the comment:

PR is underway.

--

___
Python tracker 

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



[issue45855] PyCapsule_Import still using PyImport_ImportModuleNoBlock

2021-11-20 Thread Georg Brandl


New submission from Georg Brandl :

PyImport_ImportModuleNoBlock is the same as PyImport_ImportModule since 3.3, 
according to the docs.

PyCapsule_Import has a no_block parameter to choose, is still documented as if 
it is relevant, and the implementation also still uses it.

--
components: C API
messages: 406671
nosy: georg.brandl
priority: low
severity: normal
stage: needs patch
status: open
title: PyCapsule_Import still using PyImport_ImportModuleNoBlock
type: enhancement
versions: Python 3.10

___
Python tracker 

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



[issue45846] Incorrect name capitalisation in faq/programming

2021-11-20 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



[issue45851] statistics.multimode is inefficient (time and space) (mode somewhat, too)

2021-11-20 Thread Raymond Hettinger


Raymond Hettinger  added the comment:

Accepting the suggestion for multimode() to use max() instead of a full sort.  
This is a nice improvement.  Thank you.

Leaving mode() as-is.  The existing code is cleaner and does its work in a 
single pass over the counter.

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



[issue45851] statistics.multimode is inefficient (time and space) (mode somewhat, too)

2021-11-20 Thread Raymond Hettinger


Raymond Hettinger  added the comment:


New changeset 04e03f496cf7da48ce4f545b41579d7d45f59ad2 by Raymond Hettinger in 
branch 'main':
bpo-45851: Avoid full sort in statistics.multimode() (#29662)
https://github.com/python/cpython/commit/04e03f496cf7da48ce4f545b41579d7d45f59ad2


--

___
Python tracker 

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



[issue45846] Incorrect name capitalisation in faq/programming

2021-11-20 Thread Łukasz Langa

Łukasz Langa  added the comment:


New changeset e88f9787aba2ab95df75baa6cb6ee5eacb450489 by Miss Islington (bot) 
in branch '3.9':
bpo-45846: Fix capitalisation of Van Rossum at the start of sentence (GH-29641) 
(GH-29657)
https://github.com/python/cpython/commit/e88f9787aba2ab95df75baa6cb6ee5eacb450489


--

___
Python tracker 

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



[issue45846] Incorrect name capitalisation in faq/programming

2021-11-20 Thread Łukasz Langa

Łukasz Langa  added the comment:


New changeset 82f1a6edfb645abef934ae1b568dd887ff7a56b9 by Miss Islington (bot) 
in branch '3.10':
bpo-45846: Fix capitalisation of Van Rossum at the start of sentence (GH-29641) 
(GH-29656)
https://github.com/python/cpython/commit/82f1a6edfb645abef934ae1b568dd887ff7a56b9


--
nosy: +lukasz.langa

___
Python tracker 

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



[issue42158] http.server doesn't guess n-quads, n-triples, notation3 and TriG MIME types

2021-11-20 Thread Łukasz Langa

Łukasz Langa  added the comment:

Thanks for pursuing this, Eric! ✨  ✨

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.11 -Python 3.10, Python 3.9

___
Python tracker 

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



[issue42158] http.server doesn't guess n-quads, n-triples, notation3 and TriG MIME types

2021-11-20 Thread Łukasz Langa

Łukasz Langa  added the comment:

There was a little discussion on GH-23230 whether the change should also go to 
3.10 and 3.9 given it's not a bugfix. 

Eric unearthed a similar discussion here:
https://bugs.python.org/issue13952#msg152752

where R. David opted for skipping backports on the grounds that the change is a 
new feature. Given R. David's conservative approach (which I share), I merged 
this change to 3.11 alone. Unless a backwards incompatibility is demonstrated, 
we won't be backporting to 3.10 and 3.9.

--

___
Python tracker 

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



[issue42158] http.server doesn't guess n-quads, n-triples, notation3 and TriG MIME types

2021-11-20 Thread miss-islington


Change by miss-islington :


--
pull_requests: +27906
pull_request: https://github.com/python/cpython/pull/29664

___
Python tracker 

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



[issue42158] http.server doesn't guess n-quads, n-triples, notation3 and TriG MIME types

2021-11-20 Thread Łukasz Langa

Łukasz Langa  added the comment:


New changeset ef5305819ff9b283d92dbf004f977592f4e64165 by Dylan Van Assche in 
branch 'main':
bpo-42158: Add MIME types for n-triples, n-quads, n3 and trig (GH-23230)
https://github.com/python/cpython/commit/ef5305819ff9b283d92dbf004f977592f4e64165


--
nosy: +lukasz.langa

___
Python tracker 

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



[issue42158] http.server doesn't guess n-quads, n-triples, notation3 and TriG MIME types

2021-11-20 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 3.0 -> 4.0
pull_requests: +27905
pull_request: https://github.com/python/cpython/pull/29663

___
Python tracker 

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



[issue45854] winreg: implement RegGetValue

2021-11-20 Thread 谭九鼎

New submission from 谭九鼎 <109224...@qq.com>:

The RegGetValue() API was introduced in Vista.

It's similar to RegOpenKeyEx() but it's more convenient because you don't need 
OpenKey() and CloseKey() when using predefined HKEY_* constants.

I think it would be good to implement it.

If so, I have implemented its body based on RegOpenKeyEx(), but I'm new to 
CPython and need some help.

https://github.com/imba-tjd/cpython/tree/winreg

--
components: Library (Lib)
messages: 406663
nosy: imba-tjd
priority: normal
severity: normal
status: open
title: winreg: implement RegGetValue
type: enhancement
versions: Python 3.11

___
Python tracker 

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



[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-20 Thread Christian Heimes


Christian Heimes  added the comment:


New changeset f36c69a26ee880acf62a5ae8c5da49312e84c66d by Christian Heimes in 
branch 'main':
bpo-45847: Port test modules to PY_STDLIB_MOD (GH-29660)
https://github.com/python/cpython/commit/f36c69a26ee880acf62a5ae8c5da49312e84c66d


--

___
Python tracker 

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



[issue45851] statistics.multimode is inefficient (time and space) (mode somewhat, too)

2021-11-20 Thread Raymond Hettinger


Change by Raymond Hettinger :


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

___
Python tracker 

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



[issue45848] Pegen's nice error reporting crashes with non-UTF-8 files

2021-11-20 Thread Łukasz Langa

Łukasz Langa  added the comment:


New changeset 904af3de2bef6d971463a564541cb6dadf22d7f8 by Łukasz Langa in 
branch '3.10':
[3.10] bpo-45848: Allow the parser to get error lines from encoded files 
(GH-29646) (GH-29661)
https://github.com/python/cpython/commit/904af3de2bef6d971463a564541cb6dadf22d7f8


--

___
Python tracker 

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



[issue45852] statistics.mode test doesn't test what it claims to

2021-11-20 Thread Alex Waygood


Change by Alex Waygood :


--
nosy: +rhettinger, steven.daprano
type:  -> behavior

___
Python tracker 

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



[issue42238] Deprecate suspicious.py?

2021-11-20 Thread Alex Waygood


Change by Alex Waygood :


--
nosy: +AlexWaygood

___
Python tracker 

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



[issue45853] Misspelled _IGNORED_ERROS in Lib/pathlib.py

2021-11-20 Thread Andrei Kulakov


Change by Andrei Kulakov :


--
components: +Library (Lib)
priority: normal -> low
stage:  -> needs patch
type:  -> enhancement
versions: +Python 3.11

___
Python tracker 

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



[issue45853] Misspelled _IGNORED_ERROS in Lib/pathlib.py

2021-11-20 Thread Andrei Kulakov


New submission from Andrei Kulakov :

Should be _IGNORED_ERRORS

This name was added 3 years ago: 
https://github.com/python/cpython/commit/216b745eafa7cd4a683a8405dcfbd7f5567f504c

It's only used in a single place in the module. But I'm not sure if it's worth 
fixing. It is an internal, undocumented name, and not very likely to be used in 
user code but it's possible.

--
messages: 406660
nosy: andrei.avk
priority: normal
severity: normal
status: open
title: Misspelled _IGNORED_ERROS in Lib/pathlib.py

___
Python tracker 

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



[issue45848] Pegen's nice error reporting crashes with non-UTF-8 files

2021-11-20 Thread Łukasz Langa

Change by Łukasz Langa :


--
pull_requests: +27903
pull_request: https://github.com/python/cpython/pull/29661

___
Python tracker 

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



[issue45845] Dead link 'pythoncraft.com/OSCON2001' in faq/library

2021-11-20 Thread JMcB


JMcB  added the comment:

Also found: http://pyserial.sourceforge.net link has moved

--

___
Python tracker 

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



[issue42627] urllib.request.getproxies() misparses Windows registry proxy settings

2021-11-20 Thread 狂男风

狂男风  added the comment:

Sorry I didn't see this comment before.

Can it be merged now?

--

___
Python tracker 

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



[issue45848] Pegen's nice error reporting crashes with non-UTF-8 files

2021-11-20 Thread Łukasz Langa

Łukasz Langa  added the comment:


New changeset fdcc46d9554094994f78bedf6dc9220e5d5ee668 by Pablo Galindo Salgado 
in branch 'main':
bpo-45848: Allow the parser to get error lines from encoded files (GH-29646)
https://github.com/python/cpython/commit/fdcc46d9554094994f78bedf6dc9220e5d5ee668


--
nosy: +lukasz.langa

___
Python tracker 

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



[issue45851] statistics.multimode is inefficient (time and space) (mode somewhat, too)

2021-11-20 Thread Raymond Hettinger


Change by Raymond Hettinger :


--
assignee:  -> rhettinger

___
Python tracker 

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



[issue45839] python3 executable is able to install pandas

2021-11-20 Thread Muhammad Irfan Asghar


Muhammad Irfan Asghar  added the comment:

Dear Christian

I ran the   "Install Certificate.command" from installation forum, but it
gave the following error message
===

muhammadirfanasghar@Muhammads-MacBook-Pro ~ % /Applications/Python\
3.10/Install\ Certificates.command ; exit;

 -- pip install --upgrade certifi

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None,
status=None)) after connection broken by
'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED]
certificate verify failed: self signed certificate in certificate chain
(_ssl.c:997)'))': /simple/certifi/

WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None,
status=None)) after connection broken by
'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED]
certificate verify failed: self signed certificate in certificate chain
(_ssl.c:997)'))': /simple/certifi/

WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None,
status=None)) after connection broken by
'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED]
certificate verify failed: self signed certificate in certificate chain
(_ssl.c:997)'))': /simple/certifi/

WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None,
status=None)) after connection broken by
'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED]
certificate verify failed: self signed certificate in certificate chain
(_ssl.c:997)'))': /simple/certifi/

WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None,
status=None)) after connection broken by
'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED]
certificate verify failed: self signed certificate in certificate chain
(_ssl.c:997)'))': /simple/certifi/

Could not fetch URL https://pypi.org/simple/certifi/: There was a problem
confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org',
port=443): Max retries exceeded with url: /simple/certifi/ (Caused by
SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED]
certificate verify failed: self signed certificate in certificate chain
(_ssl.c:997)'))) - skipping

ERROR: Could not find a version that satisfies the requirement certifi
(from versions: none)

ERROR: No matching distribution found for certifi

WARNING: You are using pip version 21.2.3; however, version 21.3.1 is
available.

You should consider upgrading via the
'/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 -m pip
install --upgrade pip' command.

Traceback (most recent call last):

  File "", line 44, in 

  File "", line 24, in main

  File
"/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py",
line 369, in check_call

raise CalledProcessError(retcode, cmd)

subprocess.CalledProcessError: Command
'['/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10',
'-E', '-s', '-m', 'pip', 'install', '--upgrade', 'certifi']' returned
non-zero exit status 1.

Saving session...

...copying shared history...

...saving history...truncating history files...

...completed.

==

On Fri, Nov 19, 2021 at 3:31 PM Christian Heimes 
wrote:

>
> Christian Heimes  added the comment:
>
> The bug report is a duplicate of bpo-43404. Python cannot use the system
> trust store on macOS. You need to follow the instructions at the end of the
> installation process to install root CA certificates. tl;dr run the "
> Install Certificates.command" from the installation folder.
>
> --
> components: +Installation, macOS -Extension Modules
> nosy: +christian.heimes, ned.deily, ronaldoussoren
> resolution:  -> not a bug
> stage:  -> resolved
> status: open -> closed
> superseder:  -> No SSL certificates when using the Mac installer
> type: security -> behavior
>
> ___
> Python tracker 
> 
> ___
>

--

___
Python tracker 

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



[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-20 Thread Christian Heimes


Change by Christian Heimes :


--
pull_requests: +27902
pull_request: https://github.com/python/cpython/pull/29660

___
Python tracker 

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



[issue45774] Detect SQLite in configure.ac

2021-11-20 Thread Christian Heimes


Christian Heimes  added the comment:


New changeset 6d430ef5ab62158a200b94dff31b89524a9576bb by Erlend Egeberg 
Aasland in branch 'main':
bpo-45774: Fix SQLite load extension autodetection (GH-29659)
https://github.com/python/cpython/commit/6d430ef5ab62158a200b94dff31b89524a9576bb


--

___
Python tracker 

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



[issue42238] Deprecate suspicious.py?

2021-11-20 Thread Julien Palard


Julien Palard  added the comment:

/!\ rstlint did triggered some false positive: 
https://github.com/python/cpython/pull/29389/commits/f8ea20a0b51711b1c352c4aa4663cb953e7ebdc8

--

___
Python tracker 

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



[issue45774] Detect SQLite in configure.ac

2021-11-20 Thread Erlend E. Aasland


Erlend E. Aasland  added the comment:

> Awesome work! Thanks to your tireless effort we know have a blue print how to 
> use pkg-config for other librariess.

Thank you for reviewing, and thank you for paving the way with all these build 
system improvements :)

--

___
Python tracker 

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



[issue45774] Detect SQLite in configure.ac

2021-11-20 Thread Erlend E. Aasland


Erlend E. Aasland  added the comment:

Needs amendment before closing. See GH-29659.

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

___
Python tracker 

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



[issue45774] Detect SQLite in configure.ac

2021-11-20 Thread Erlend E. Aasland


Change by Erlend E. Aasland :


--
pull_requests: +27901
pull_request: https://github.com/python/cpython/pull/29659

___
Python tracker 

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



[issue45851] statistics.multimode is inefficient (time and space) (mode somewhat, too)

2021-11-20 Thread Alex Waygood


Change by Alex Waygood :


--
nosy: +rhettinger, steven.daprano

___
Python tracker 

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



[issue45832] Misleading membersip expression documentation

2021-11-20 Thread Harald Husum


Harald Husum  added the comment:

Serhiy, thanks for responding.

I agree on this being "third-party" when looking at the original post I made, 
and I've reported the issue to the relevant party 
(https://github.com/pandas-dev/pandas/issues/44504). But really, the bigger 
issue here, in my opinion, is that the equality-hash invariance is poorly 
documented at best, and that this poor documentation is the likely "root cause" 
of the third-party issue I described.

If you read further up the thread, you can see that I have some (pretty 
concrete) proposals for how to improve on the current situation. I'd like the 
documentation maintainers to consider them, in whole or in part. If you feel it 
is more appropriate, I can split it out into a new issue, but I wouldn't mind 
having a conversation about it here.

The Python ecosystem will benefit as a whole if we keep an open mind as to how 
such (fundamental) issues can creep into commonly used, infrastructure-critical 
libraries, developed and maintained by excellent engineers.

--

___
Python tracker 

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



[issue45813] Importing asyncio after deleting a coroutine object and before cleaning it up leads to crashing on Python3.11

2021-11-20 Thread Xinmeng Xia


Xinmeng Xia  added the comment:

Thanks for testing it. Maybe it only crashes on Unix-like operating systems. I 
also try it on MacOS 11.6.1. with -i to ensure that python survives running the 
test code. On MacOS, it reports the following crashing information: 

--- 
xxm$ Python-3.11.0a2/python.exe -i test.py 
test.py:5: RuntimeWarning: coroutine 'f' was never awaited
  del f
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
Segmentation fault: 11


--

___
Python tracker 

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



[issue41818] Lib/pty.py major revision

2021-11-20 Thread Soumendra Ganguly


Change by Soumendra Ganguly :


--
pull_requests: +27900
pull_request: https://github.com/python/cpython/pull/29658

___
Python tracker 

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



[issue45832] Misleading membersip expression documentation

2021-11-20 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

I think there is a bug in either numpy.timedelta64.__hash__ or 
panda.Timedelta.__hash__. Please report it to corresponding libraries.

It is not related to the documentation of membership test. If you have 
different hashes for equal objects most dict and set operations will be broken.

I suggest to close this issue as "third party issue".

--
nosy: +serhiy.storchaka
resolution:  -> third party

___
Python tracker 

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



[issue45846] Incorrect name capitalisation in faq/programming

2021-11-20 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 5.0 -> 6.0
pull_requests: +27898
pull_request: https://github.com/python/cpython/pull/29656

___
Python tracker 

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



  1   2   >