[issue45636] Merge BINARY_*/INPLACE_* into BINARY_OP/INPLACE_OP

2021-11-04 Thread Brandt Bucher


Change by Brandt Bucher :


--
pull_requests: +27671
pull_request: https://github.com/python/cpython/pull/29418

___
Python tracker 

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



[issue40051] Give proper link in help(idlelib/turtledemo/tkinter.sub/test_*/?)

2021-11-04 Thread Joshua


Joshua  added the comment:

I think that option 4 would work best but instead of putting any logic in 
(Lib/pydoc_data/topics.py)[https://github.com/python/cpython/blob/main/Lib/pydoc_data/topics.py]
 we could put the logic for working with private modules as well and other edge 
cases in 
(Lib/pydoc.py)[https://github.com/python/cpython/blob/main/Lib/pydoc.py]. It 
might make future changes easier.

--
nosy: +Joshuah143

___
Python tracker 

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



[issue45708] PEP 515-style formatting with underscores does not seem to work for Decimal

2021-11-04 Thread Raymond Hettinger


Change by Raymond Hettinger :


--
nosy: +serhiy.storchaka

___
Python tracker 

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



[issue45717] Bad link to python docs in help(_hashlib)

2021-11-04 Thread Zachary Ware


Zachary Ware  added the comment:

I'm closing this as a duplicate of bpo-40051, as it's basically another 
manifestation of that issue.

However, any module named with a leading underscore is a private module, and 
won't have documentation.

The source for _hashlib can be found in Modules/_hashopenssl.c.

--
nosy: +zach.ware
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> Give proper link in 
help(idlelib/turtledemo/tkinter.sub/test_*/?)

___
Python tracker 

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



[issue40051] Give proper link in help(idlelib/turtledemo/tkinter.sub/test_*/?)

2021-11-04 Thread Zachary Ware


Zachary Ware  added the comment:

Option 4: generate a list of modules (or a mapping of module names to 
documentation files) that have documentation when generating 
Lib/pydoc_data/topics.py, and teach pydoc.help to not include the link when it 
knows the module doesn't have documentation.

This is a much more complete solution that also avoids creating links for 
private modules (see bpo-45717), but is significantly more effort to implement.

--
nosy: +zach.ware

___
Python tracker 

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



[issue45712] Typo in "control flow" documentation

2021-11-04 Thread Zachary Ware


Change by Zachary Ware :


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



[issue45712] Typo in "control flow" documentation

2021-11-04 Thread Zachary Ware


Change by Zachary Ware :


--
keywords: +easy, newcomer friendly
stage:  -> needs patch

___
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-04 Thread Zachary Ware


Change by Zachary Ware :


--
keywords: +3.11regression
stage:  -> needs patch

___
Python tracker 

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



[issue45721] Improve error message when python shell command is entered at the REPL prompt

2021-11-04 Thread Steven D'Aprano


New submission from Steven D'Aprano :

A frequent newbie mistake is to call shell commands from inside the interactive 
interpreter. Most common is to call Python itself.

Here is an example where a Python instructor was allegedly unable to diagnose 
the issue for their students:

https://windowsquestions.com/2021/10/09/syntaxerror-invalid-syntax-perhaps-you-forgot-a-comma/


I think it would be a nice feature if the compiler recognised obvious cases of 
"user tried to call Python from the Python prompt", and suggested a fix. If the 
statement matches the regex r"python\s+" the error message might say "it looks 
like you are trying to run a shell command at the Python prompt" rather than 
suggest a missing comma.

--
messages: 405764
nosy: steven.daprano
priority: normal
severity: normal
status: open
title: Improve error message when python shell command is entered at the REPL 
prompt
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



[issue45720] Remove shlwapi dependency on Windows

2021-11-04 Thread Steve Dower


Steve Dower  added the comment:

FTR, I see about 1-1.5ms improvement (using timeit to do a check_call) out of 
~32ms total startup time.

I also don't actually see gdi32 being transitively loaded as claimed in the 
Twitter thread, even back to 3.8. So presumably there's something else going on 
to cause that issue.

Either way, this is an easy change with non-zero benefit (at the very least, it 
gets rid of a dependency we are better off avoiding these days).

--

___
Python tracker 

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



[issue45720] Remove shlwapi dependency on Windows

2021-11-04 Thread Steve Dower


Change by Steve Dower :


--
nosy: +eryksun

___
Python tracker 

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



[issue45720] Remove shlwapi dependency on Windows

2021-11-04 Thread Steve Dower


Change by Steve Dower :


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

___
Python tracker 

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



[issue45720] Remove shlwapi dependency on Windows

2021-11-04 Thread Steve Dower


New submission from Steve Dower :

According to https://twitter.com/BruceDawson0xB/status/1455714820485894151?s=20 
there are some serious performance implications from referencing shlwapi.dll.

It turns out, we only use it for one native path calculation function, which is 
easily replaceable (since Windows 8). So we can drop the dependency and get a 
startup (and shutdown) improvement back to 3.9.

--
assignee: steve.dower
components: Windows
messages: 405762
nosy: paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Remove shlwapi dependency on Windows
type: performance
versions: Python 3.10, Python 3.11, Python 3.9

___
Python tracker 

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



[issue45719] SubProcess stdin.flush freezes when running python interpreter

2021-11-04 Thread DJ PJs


New submission from DJ PJs :

Keeping writing to a subprocess, and then flushing it to get the stdout works 
for other interpreters, but not python's.

Simplified Example of what I mean:

from subprocess import PIPE, Popen, CREATE_NEW_CONSOLE, run

subProcess = Popen("Python", stdin=PIPE, stdout=PIPE, text=True, 
universal_newlines=True)

subProcess.stdin.write('Print("HelloWorld")')

subProcess.stdin.flush()

for line in subProcess.stdout:
print(">>> " + str(line.rstrip()))
subProcess.stdout.flush()

--
components: Library (Lib)
files: example.py
messages: 405761
nosy: djp1012878
priority: normal
severity: normal
status: open
title: SubProcess stdin.flush freezes when running python interpreter
type: behavior
versions: Python 3.10
Added file: https://bugs.python.org/file50425/example.py

___
Python tracker 

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



[issue44067] Zipfile lib overwrites the extra field during closing when the archive size is more then ZIP64_LIMIT

2021-11-04 Thread anadius


anadius  added the comment:

I was looking at `zipfile._strip_extra` trying to figure out how it works. It 
doesn't. It skips extra headers after the last one that matches. That's what 
causes this issue.

Here's a fixed version:

def _strip_extra(extra, xids):
# Remove Extra Fields with specified IDs.
unpack = _EXTRA_FIELD_STRUCT.unpack
modified = False
buffer = []
start = i = 0
while i + 4 <= len(extra):
xid, xlen = unpack(extra[i : i + 4])
j = i + 4 + xlen
if xid in xids:
if i != start:
buffer.append(extra[start : i])
start = j
modified = True
i = j
if i != start:
buffer.append(extra[start : i])
if not modified:
return extra
return b''.join(buffer)

Or this one, easier to understand:

def _strip_extra(extra, xids):
# Remove Extra Fields with specified IDs.
unpack = _EXTRA_FIELD_STRUCT.unpack
modified = False
buffer = []
i = 0
while i + 4 <= len(extra):
xid, xlen = unpack(extra[i : i + 4])
j = i + 4 + xlen
if xid in xids:
modified = True
else:
buffer.append(extra[i : j])
i = j
if not modified:
return extra
return b''.join(buffer)

Not sure which one is better.

--
nosy: +anadius

___
Python tracker 

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



[issue35829] datetime: parse "Z" timezone suffix in fromisoformat()

2021-11-04 Thread Brett Cannon


Brett Cannon  added the comment:

I also support the idea of adding an `allow_Z` or some equivalent keyword 
parameter to isoformat() and then allowing for `Z` in `fromisoformat()`.

--
nosy: +brett.cannon

___
Python tracker 

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



[issue45160] ttk.OptionMenu radiobuttons change variable value twice

2021-11-04 Thread Łukasz Langa

Change by Łukasz Langa :


--
pull_requests: +27669
pull_request: https://github.com/python/cpython/pull/29416

___
Python tracker 

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



[issue44257] typo and verbous grammar in the grammar spec

2021-11-04 Thread Łukasz Langa

Łukasz Langa  added the comment:


New changeset 0e34a5918c74c3cc2284cd77a2eba4108b0d6fb0 by Pablo Galindo Salgado 
in branch '3.10':
[3.10] bpo-44257: fix "assigment_expr" typo + regenerate the grammar, and 
remove unused imports (GH-29393) (GH-29395)
https://github.com/python/cpython/commit/0e34a5918c74c3cc2284cd77a2eba4108b0d6fb0


--
nosy: +lukasz.langa

___
Python tracker 

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



[issue45704] string.Formatter.parse does not handle auto-numbered positional fields

2021-11-04 Thread Eric V. Smith


Eric V. Smith  added the comment:

The more I think about this, the more I think it's not .parse's job to fill in 
the field numbers, it's the job of whoever is calling it.

Just as it's not .parse's job to give you an error if you switch back and forth 
between numbered and un-numbered fields.

It's literally just telling you what's in the string as it breaks it apart, not 
assigning any further meaning to the parts. I guess I should have called it 
.lex, not .parse.

--

___
Python tracker 

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



[issue24949] Identifier lookup in a multi-level package is flakey

2021-11-04 Thread Irit Katriel


Change by Irit Katriel :


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



[issue45718] asyncio: MultiLoopWatcher has a race condition (Proposed work-around)

2021-11-04 Thread William Fisher


New submission from William Fisher :

Summary: asyncio.MultiLoopChildWatcher has two problems that create a race 
condition.

1. The SIGCHLD signal handler does not guard against interruption/re-entry.
2. The SIGCHLD signal handler can interrupt add_child_handler's 
`self._do_waitpid(pid)`.

This is a continuation of bpo-38323. That issue discussed two bugs. This issue 
proposes a work-around for one of them that may be useful in making build tests 
more reliable.

I'm reserving discussion to the case of a single asyncio event loop on the main 
thread. (MultiLoopChildWatcher has a separate "signal-delivery-blocked" problem 
when used in an event loop that is not in the main thread as mentioned in 
bpo-38323.)


Symptoms:

Log messages that look like this:

1634935451.761 WARNING Unknown child process pid 8747, will report returncode 
255
...
1634935451.762 WARNING Child watcher got an unexpected pid: 8747
Traceback (most recent call last):
  File 
"/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/asyncio/unix_events.py",
 line 1306, in _do_waitpid
loop, callback, args = self._callbacks.pop(pid)
KeyError: 8747


Background:

I've been working on a library to make calling asyncio subprocesses more 
convenient. As part of my testing, I've been stress testing asyncio using 
different child watcher policies. My CI build runs more than 200 tests each on 
macOS, Linux and FreeBSD. I've noticed a small percentage of sporadic failures 
using MultiLoopChildWatcher.

My understanding of Python signal functions is that:

1. Upon receipt of a signal, the native "C" signal handler sets a flag that 
indicates the signal arrived.
2. The main thread checks the signal flags after each bytecode instruction. If 
a signal flag is set, Python saves the call stack, runs the signal handler on 
the main thread immediately, then pops the stack when it returns (assuming no 
exception raised by signal handler).
3. If you are in the middle of a signal handler running on the main thread and 
Python detects another signal flag, your signal handler can be interrupted.
4. Stacked signal handlers run in LIFO order. The last one that enters will run 
to completion without interruption.


Explanation:

I wrapped MultiLoopChildWatcher's sig_chld function in a decorator that logs 
when it is entered and exited. This clearly shows that _sig_chld is being 
re-entered. In the following log snippet, I'm running two commands in a 
pipeline "tr | cat".

1634935451.743 DEBUG process '/usr/bin/tr' created: pid 8747
...
1634935451.746 DEBUG process '/bin/cat' created: pid 8748
...
1634935451.761 DEBUG enter '_sig_chld' 20
1634935451.761 DEBUG enter '_sig_chld' 20
1634935451.761 WARNING Unknown child process pid 8747, will report returncode 
255
1634935451.762 DEBUG process 8748 exited with returncode 0
1634935451.762 DEBUG exit '_sig_chld' 20
1634935451.762 WARNING Child watcher got an unexpected pid: 8747
Traceback (most recent call last):
  File 
"/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/asyncio/unix_events.py",
 line 1306, in _do_waitpid
loop, callback, args = self._callbacks.pop(pid)
KeyError: 8747
1634935451.763 WARNING Unknown child process pid 8748, will report returncode 
255
1634935451.763 WARNING Child watcher got an unexpected pid: 8748
Traceback (most recent call last):
  File 
"/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/asyncio/unix_events.py",
 line 1306, in _do_waitpid
loop, callback, args = self._callbacks.pop(pid)
KeyError: 8748
1634935451.763 DEBUG exit '_sig_chld' 20


Here is the breakdown of what happens:

1. Pid 8747 exits and we enter _sig_chld #1.
2. sig_chld #1 calls os.waitpid which gives (pid, status) = (8747, 0).
3. Before sig_chld #1 has a chance to call `self._callbacks.pop(pid)`, it is 
interrupted.
4. sig_chld #2 calls os.waitpid for pid 8747. We get a ChildProcessError and 
then "Unknown child process pid 8747, will report returncode 255"
5. sig_chld #2 invokes the callback for pid 8747 saying the returncode=255.
6. sig_chld #2 continues to completion. It reaps pid 8748 normally.
7. sig_chld #1 picks up where it left off. We get an error when we try to pop 
the callback for 8747.
8. sig_chld #1 calls os.waitpid for pid 8748. This gives us failure messages 
because it was done by sig_chld #2.

The issue of interruption can also happen in the case of running a single 
process. If the _sig_chld interrupts the call to `self._do_waitpid(pid)` in 
add_child_watcher, a similar interleaving can occur.


Work-Around:

In my tests, I patched MultiLoopChildWatcher and so far, it appears to be more 
reliable. In add_child_handler, I call raise_signal(SIGCHLD) so that all the 
work is done in the signal handler.


class PatchedMultiLoopChildWatcher(asyncio.MultiLoopChildWatcher):
"Test race condition fixes in MultiLoopChildWatcher."

def add_child_handler(self, pid, callback, *args):
loop = asyncio.get_running_loop()
self._callbacks[pid] = 

[issue15751] [subinterpreters] Make the PyGILState API compatible with subinterpreters

2021-11-04 Thread felk


Change by felk :


--
nosy: +felk

___
Python tracker 

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



[issue30570] issubclass segfaults on objects with weird __getattr__

2021-11-04 Thread Łukasz Langa

Łukasz Langa  added the comment:

Thanks, Dennis! ✨  ✨

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



[issue30570] issubclass segfaults on objects with weird __getattr__

2021-11-04 Thread Łukasz Langa

Łukasz Langa  added the comment:


New changeset f701237db2611140e578cebbdfef91ae4714af4e by Łukasz Langa in 
branch '3.9':
[3.9] bpo-30570: Fix segfault on buildbots caused by stack overflow from 
recursion in tests (GH-29258) (GH-29415)
https://github.com/python/cpython/commit/f701237db2611140e578cebbdfef91ae4714af4e


--

___
Python tracker 

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



[issue30570] issubclass segfaults on objects with weird __getattr__

2021-11-04 Thread miss-islington


miss-islington  added the comment:


New changeset 1f3ae5c1ca5a8e7696bad414c1de38e0f5f1e2c3 by Miss Islington (bot) 
in branch '3.10':
bpo-30570: Fix segfault on buildbots caused by stack overflow from recursion in 
tests (GH-29258)
https://github.com/python/cpython/commit/1f3ae5c1ca5a8e7696bad414c1de38e0f5f1e2c3


--

___
Python tracker 

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



[issue43969] "bad magic number" when Python 2's pyc file exists without py file

2021-11-04 Thread Mitchell Hentges


Mitchell Hentges  added the comment:

I'm going to close this here - I currently don't have the cycles to push this 
forward. Besides, this issue only occurs in environments that are using both 
Python 2 and 3, and as Python 2's EOL date gets further in the past, the 
severity of this ticket decreases.

For future readers, if you need a workaround for this exact problem, it was 
solved by my team with this import hook: 
https://hg.mozilla.org/mozilla-central/file/50e4a4e6975a7f828277a2b9c3cc9770a6c94107/build/mach_initialize.py#l630

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



[issue27313] test case failures in test_widgets.ComboboxTest.of test_ttk_guionly on OS X with Cocoa Tk 8.5.18

2021-11-04 Thread Łukasz Langa

Change by Łukasz Langa :


--
nosy: +lukasz.langa
nosy_count: 3.0 -> 4.0
pull_requests: +27668
pull_request: https://github.com/python/cpython/pull/29411

___
Python tracker 

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



[issue42943] singledispatchmethod should expose registry of all known overloads

2021-11-04 Thread Alex Waygood


Change by Alex Waygood :


--
nosy: +AlexWaygood
versions: +Python 3.11 -Python 3.10

___
Python tracker 

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



[issue30570] issubclass segfaults on objects with weird __getattr__

2021-11-04 Thread Łukasz Langa

Change by Łukasz Langa :


--
pull_requests: +27667
pull_request: https://github.com/python/cpython/pull/29415

___
Python tracker 

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



[issue44828] tkinter.filedialog linked with Tk 8.6.11 crashes on macOS 12 Monterey, breaking IDLE saves

2021-11-04 Thread Łukasz Langa

Łukasz Langa  added the comment:


New changeset 10b0c671580a2f8dd013b6345c1dc9789d5bd95c by Ned Deily in branch 
'3.8':
bpo-44828: Avoid leaving a zombie Save panel (GH-29372)
https://github.com/python/cpython/commit/10b0c671580a2f8dd013b6345c1dc9789d5bd95c


--

___
Python tracker 

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



[issue30570] issubclass segfaults on objects with weird __getattr__

2021-11-04 Thread Łukasz Langa

Łukasz Langa  added the comment:


New changeset 1e29dce1138a39e095ba47ab4c1e445fd08716e2 by Miss Islington (bot) 
in branch '3.9':
bpo-30570: Use Py_EnterRecursiveCall() in issubclass() (GH-29048) (GH-29178)
https://github.com/python/cpython/commit/1e29dce1138a39e095ba47ab4c1e445fd08716e2


--
nosy: +lukasz.langa

___
Python tracker 

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



[issue45716] Confusing parsing error message when trying to use True as keyword argument

2021-11-04 Thread Pablo Galindo Salgado


Change by Pablo Galindo Salgado :


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

___
Python tracker 

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



[issue30570] issubclass segfaults on objects with weird __getattr__

2021-11-04 Thread miss-islington


Change by miss-islington :


--
pull_requests: +27666
pull_request: https://github.com/python/cpython/pull/29414

___
Python tracker 

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



[issue45220] Windows builds sometimes fail on Azure and GitHub Action: fatal error RC1116: RC terminating after preprocessor errors

2021-11-04 Thread Łukasz Langa

Łukasz Langa  added the comment:


New changeset c0f3281d6ca5c59d4a11698364463d968b9ddd3c by Miss Islington (bot) 
in branch '3.10':
bpo-45220: Remove invalid include from resource definition files on Windows 
(GH-29396) (GH-29406)
https://github.com/python/cpython/commit/c0f3281d6ca5c59d4a11698364463d968b9ddd3c


--

___
Python tracker 

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



[issue45678] `functools.singledispatchmethod` is missing tests (and is buggy in 3.9)

2021-11-04 Thread Alex Waygood


Alex Waygood  added the comment:

Yet more tests were added to the 3.9 branch in PR 29394 in order to test the 
bugfix. PR 29412 "forward-ports" these new tests into main (and 3.10, if they 
are backported).

--

___
Python tracker 

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



[issue45678] `functools.singledispatchmethod` is missing tests (and is buggy in 3.9)

2021-11-04 Thread Alex Waygood


Change by Alex Waygood :


--
pull_requests: +27664
pull_request: https://github.com/python/cpython/pull/29412

___
Python tracker 

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



[issue17305] IDNA2008 encoding is missing

2021-11-04 Thread Eric Case


Change by Eric Case :


--
nosy: +case

___
Python tracker 

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



[issue43652] Upgrade Windows tcl/tk to 8.6.11

2021-11-04 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

This worked for me on main and 3.10.  Thanks.

--

___
Python tracker 

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



[issue45678] `functools.singledispatchmethod` is missing tests (and is buggy in 3.9)

2021-11-04 Thread Łukasz Langa

Łukasz Langa  added the comment:


New changeset effb72fa0f6f8f8ec92687fc6a29d63bbdb7e98d by Alex Waygood in 
branch '3.9':
[3.9] bpo-45678: Fix `singledispatchmethod` `classmethod`/`staticmethod` bug 
(GH-29394)
https://github.com/python/cpython/commit/effb72fa0f6f8f8ec92687fc6a29d63bbdb7e98d


--

___
Python tracker 

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



[issue13703] Hash collision security issue

2021-11-04 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

Because today's spammer, whose message was removed, deleted us all.  Restoring 
the version to 3.3 is not possible.

--

___
Python tracker 

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



[issue45717] Bad link to python docs in help(_hashlib)

2021-11-04 Thread Joshua


New submission from Joshua :

I was attempting to look through hashlib to try and understand more about 
python's built-in hash functions. As part of this, I ran 'help(_hashlib)' which 
returns this text: 'MODULE REFERENCE
https://docs.python.org/3.11/library/_hashlib.html'

This is an invalid link which has been an issue in all versions of the 
documentation I looked up.

As an aside, where would I find the source for _hashlib?

--
components: Library (Lib)
messages: 405744
nosy: Joshuah143
priority: normal
severity: normal
status: open
title: Bad link to python docs in help(_hashlib)
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



[issue45716] Confusing parsing error message when trying to use True as keyword argument

2021-11-04 Thread Andre Roberge


Change by Andre Roberge :


--
nosy: +aroberge

___
Python tracker 

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



[issue45716] Confusing parsing error message when trying to use True as keyword argument

2021-11-04 Thread Eric V. Smith


Change by Eric V. Smith :


--
components: +Parser
nosy: +lys.nikolaou, pablogsal

___
Python tracker 

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



[issue45710] Junction/symbolic folder access error on Windows 11

2021-11-04 Thread Eryk Sun


Eryk Sun  added the comment:

It's not completely surprising that attempting to traverse a name-surrogate 
reparse point under "%UserProfile%\AppData" fails when using the store app. If 
you can't or won't move the mountpoint up to %UserProfile%, or anywhere else 
outside of the application-data tree, then I suggest using a regular Python 
installation from python.org.

The error in Windows 11 is ERROR_MOUNT_POINT_NOT_RESOLVED (649), based on the 
NT status code STATUS_MOUNT_POINT_NOT_RESOLVED. This error status is associated 
with the kernel routines IoCreateFileSpecifyDeviceObjectHint() [1] and 
IoCreateFileEx() [2]:

IoCreateFileEx returns this status value if the DriverContext
parameter is not NULL and if the file or directory name contains
a mount point that resolves to a volume other than the one to
which the specified device object is attached. This device 
object is specified by the DeviceObjectHint member of the 
IO_DRIVER_CREATE_CONTEXT structure.

A filter driver can use this feature to open a path on a particular volume or 
filesystem device (i.e. the device hint) and bypass other filter drivers that 
are attached to the device stack. However, if path parsing traverses a reparse 
point to another filesystem, it has to fail with 
STATUS_MOUNT_POINT_NOT_RESOLVED. Note that a reparse point that targets a path 
in the same filesystem works fine. For example:

>>> path = os.path.join(os.environ['appdata'], 'spam')
>>> os.lstat(path).st_reparse_tag == stat.IO_REPARSE_TAG_MOUNT_POINT
True
>>> os.path.realpath(path)
'C:\\Temp\\spam'
>>> os.path.exists(os.path.join(path, 'eggs.py'))
True
>>> subprocess.call(['python', os.path.join(path, 'eggs.py')])
works fine
0

The case of a cross-device mountpoint or symlink under "%UserProfile%\AppData" 
also fails when using the store app in Windows 10. However, the error in 
Windows 10 is ERROR_INVALID_FUNCTION (1), from the status code 
STATUS_NOT_IMPLEMENTED, so the underlying implementation details must be quite 
different. I was able to work around the limitation somewhat in Windows 10 (but 
not Windows 11) by first changing to the mountpoint directory and accessing 
relative paths. This doesn't work when running a script, however, since the 
interpreter tries to open the fully-qualified path, which has to traverse the 
mountpoint or symlink.

---
[1 
https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/ntddk/nf-ntddk-iocreatefilespecifydeviceobjecthint
[2] 
https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/ntddk/nf-ntddk-iocreatefileex.

--
nosy: +eryksun

___
Python tracker 

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



[issue45582] Rewrite getpath.c in Python

2021-11-04 Thread Steve Dower


Steve Dower  added the comment:

> What fresh clone do you mean?  test_embed is failing, not test_freeze.

test_freeze is passing, but it shouldn't be able to locate a valid Lib/ 
directory to load modules from. So it's somehow managing to do it against the 
"official" logic (none of the searches are going to find 
`root/python-build/Lib` starting from `root/python-installation/python`).

I haven't dug into it yet, but I suspect if the root used for this test is 
moved outside of the main tree then it will fail again.

--

___
Python tracker 

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



[issue45716] Confusing parsing error message when trying to use True as keyword argument

2021-11-04 Thread Carl Friedrich Bolz-Tereick


New submission from Carl Friedrich Bolz-Tereick :

A bit of a nitpick, but the following SyntaxError message is a bit confusing:

>>> f(True=1)
  File "", line 1
f(True=1)
  ^
SyntaxError: expression cannot contain assignment, perhaps you meant "=="?

The problem with that line is not that it contains an assignment, it's almost a 
valid keyword argument after all. The problem is that the name of the keyword 
is True, which is no longer a name you can assign to. It would be better to 
produce the same error as with __debug__:

>>> f(__debug__=1)
  File "", line 1
SyntaxError: cannot assign to __debug__

The latter error message is however produced by the compiler, not the parser I 
think?

--
messages: 405741
nosy: Carl.Friedrich.Bolz
priority: normal
severity: normal
status: open
title: Confusing parsing error message when trying to use True as keyword 
argument

___
Python tracker 

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



[issue43652] Upgrade Windows tcl/tk to 8.6.11

2021-11-04 Thread Steve Dower


Steve Dower  added the comment:


New changeset 6340ba7f2c1bef94939dcab0d5babc256ffd7485 by Steve Dower in branch 
'3.10':
bpo-43652: Actually update to Tcl/Tk 8.6.11 on Windows (GH-29397)
https://github.com/python/cpython/commit/6340ba7f2c1bef94939dcab0d5babc256ffd7485


--

___
Python tracker 

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



[issue45708] PEP 515-style formatting with underscores does not seem to work for Decimal

2021-11-04 Thread Mark Dickinson


Mark Dickinson  added the comment:

> whether Decimal should extend beyond the specification in this case

We already go way beyond the original specification for string formatting. The 
spec doesn't go further than specifying to-scientific-string and 
to-engineering-string, neither of which even get into limiting precision.

--

___
Python tracker 

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



[issue44319] setup openssl failed on linux

2021-11-04 Thread Christian Heimes


Christian Heimes  added the comment:

/usr/lib64/openssl11 is not a valid OpenSSL root directory. The option expects 
an OpenSSL installation directory with bin, lib, and include subdirectories. 
The custom scheme from CentOS EPEL openssl11 package is not supported.

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



[issue45220] Windows builds sometimes fail on Azure and GitHub Action: fatal error RC1116: RC terminating after preprocessor errors

2021-11-04 Thread miss-islington


miss-islington  added the comment:


New changeset 1a44d27e6f8a06cb7d56e39be48852f0c3f4502b by Miss Islington (bot) 
in branch '3.9':
bpo-45220: Remove invalid include from resource definition files on Windows 
(GH-29396)
https://github.com/python/cpython/commit/1a44d27e6f8a06cb7d56e39be48852f0c3f4502b


--

___
Python tracker 

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



[issue43652] Upgrade Windows tcl/tk to 8.6.11

2021-11-04 Thread Steve Dower


Change by Steve Dower :


--
pull_requests: +27663
pull_request: https://github.com/python/cpython/pull/29407

___
Python tracker 

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



[issue45220] Windows builds sometimes fail on Azure and GitHub Action: fatal error RC1116: RC terminating after preprocessor errors

2021-11-04 Thread miss-islington


Change by miss-islington :


--
pull_requests: +27662
pull_request: https://github.com/python/cpython/pull/29406

___
Python tracker 

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



[issue45220] Windows builds sometimes fail on Azure and GitHub Action: fatal error RC1116: RC terminating after preprocessor errors

2021-11-04 Thread miss-islington


Change by miss-islington :


--
pull_requests: +27661
pull_request: https://github.com/python/cpython/pull/29405

___
Python tracker 

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



[issue43652] Upgrade Windows tcl/tk to 8.6.11

2021-11-04 Thread Steve Dower


Steve Dower  added the comment:


New changeset 36b4f9e2a7d5ed55c441eb6dfe5c13baa483b9d4 by Steve Dower in branch 
'main':
bpo-43652: Actually update to Tcl/Tk 8.6.11 on Windows (GH-29397)
https://github.com/python/cpython/commit/36b4f9e2a7d5ed55c441eb6dfe5c13baa483b9d4


--

___
Python tracker 

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



[issue45220] Windows builds sometimes fail on Azure and GitHub Action: fatal error RC1116: RC terminating after preprocessor errors

2021-11-04 Thread Steve Dower


Steve Dower  added the comment:


New changeset fd0c84dc28d00d68e4f43034dc41786a682390fd by Steve Dower in branch 
'main':
bpo-45220: Remove invalid include from resource definition files on Windows 
(GH-29396)
https://github.com/python/cpython/commit/fd0c84dc28d00d68e4f43034dc41786a682390fd


--

___
Python tracker 

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



[issue44828] tkinter.filedialog linked with Tk 8.6.11 crashes on macOS 12 Monterey, breaking IDLE saves

2021-11-04 Thread Zack McCauley

Zack McCauley  added the comment:

If you use the older methods to detect OSVersion, Monterey will also
identify as 10.16. iirc there’s an environment variable to enable or
disable that.

On Thu, Nov 4, 2021 at 7:54 AM Marc Culler  wrote:

>
> Marc Culler  added the comment:
>
> According to wikipedia, it was only the Big Sur beta that identified
> itself as 10.16.  (And I observed this with the beta).  But the release
> and, I think, the later Big Sur betas stopped doing that.
>
> But I did eventually find a page showing a tweet that "documents" this
> behavior:
>
> https://eclecticlight.co/2020/07/21/big-sur-is-both-10-16-and-11-0-its-official/
>
> I guess obscure tweets have replaced documentation.
>
> --
>
> ___
> Python tracker 
> 
> ___
>

--

___
Python tracker 

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



[issue45715] round(2500, -3)

2021-11-04 Thread Dennis Sweeney


Dennis Sweeney  added the comment:

Thanks for the report, but this is the intended behavior.

>From https://docs.python.org/3/library/functions.html#round :

"""values are rounded to the closest multiple of 10 to the power minus ndigits; 
if two multiples are equally close, rounding is done toward the even choice 
(so, for example, both round(0.5) and round(-0.5) are 0, and round(1.5) is 2)"""

This is called "round-half-to-even" or "Banker's rounding" (see 
https://en.wikipedia.org/wiki/Rounding#Round_half_to_even) and it's used to 
prevent the upward bias that would happen if we always rounded halfway points 
up.

--
nosy: +Dennis Sweeney
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



[issue45651] -X frozen_modules not defaulting to "off" on Windows when running in source tree?

2021-11-04 Thread Guido van Rossum

Guido van Rossum  added the comment:

Yes, that’s definitely the problem.

--

___
Python tracker 

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



[issue45582] Rewrite getpath.c in Python

2021-11-04 Thread Eric Snow


Eric Snow  added the comment:

On Wed, Nov 3, 2021 at 6:25 PM Steve Dower  wrote:
> Now to find out why the old getpath could somehow locate the stdlib but new 
> getpath cannot... (I'm guessing it is finding the "original" stdlib rather 
> than the fresh clone, since AFAICT there's no reference at all to the 
> original source dir)

What fresh clone do you mean?  test_embed is failing, not test_freeze.
So there is no out-of-tree build involved.

--

___
Python tracker 

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



[issue45651] -X frozen_modules not defaulting to "off" on Windows when running in source tree?

2021-11-04 Thread Eric Snow


Eric Snow  added the comment:

maybe related: 
https://github.com/python/cpython/pull/29041#discussion_r734085599

--

___
Python tracker 

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



[issue45714] test_multiprocessing_spawn hangs sometimes

2021-11-04 Thread Skip Montanaro


Skip Montanaro  added the comment:

Took me a while to notice the -i flag to regrtest.py. I think that solves my 
particular problem, so I will close this. Is there a place to see how 'make 
test' is run on the buildbots?

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



[issue42967] [CVE-2021-23336] urllib.parse.parse_qsl(): Web cache poisoning - `; ` as a query args separator

2021-11-04 Thread Éric Araujo

Éric Araujo  added the comment:

See the changelog entry for 2021-11-04 10:31:24 (and the other ticket where 
Guido just commented)

(and thanks for cleaning spam!)

--

___
Python tracker 

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



[issue13703] Hash collision security issue

2021-11-04 Thread Guido van Rossum


Guido van Rossum  added the comment:

Hey Erlend, why did you add so many people to the nosy list of this old
issue?

On Thu, Nov 4, 2021 at 07:33 Erlend E. Aasland 
wrote:

>
> Change by Erlend E. Aasland :
>
>
> --
> components: +Interpreter Core -Argument Clinic
> nosy: +Arach, Arfrever, Huzaifa.Sidhpurwala, Jim.Jewett, Mark.Shannon,
> PaulMcMillan, Zhiping.Deng, alex, barry, benjamin.peterson,
> christian.heimes, cvrebert, dmalcolm, eric.araujo, eric.snow, fx5,
> georg.brandl, grahamd, gregory.p.smith, gvanrossum, gz, jcea, jsvaughan,
> lemburg, loewis, mark.dickinson, neologix, pitrou, python-dev, roger.serwy,
> skorgu, skrah, terry.reedy, tim.peters, v+python, vstinner, zbysz
> -ahmedsayeed1982, larry
>
> ___
> Python tracker 
> 
> ___
>
-- 
--Guido (mobile)

--

___
Python tracker 

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



[issue45715] round(2500, -3)

2021-11-04 Thread Jacek


New submission from Jacek :

round(2500, -3) returns 2000 instead of 3000.
I have checked it on 3.7.4 and 3.6.9.

--
components: Library (Lib)
messages: 405726
nosy: jacekblaz
priority: normal
severity: normal
status: open
title: round(2500, -3)
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



[issue45708] PEP 515-style formatting with underscores does not seem to work for Decimal

2021-11-04 Thread Raymond Hettinger


Raymond Hettinger  added the comment:

Tim, do you have any thoughts on whether Decimal should extend beyond the 
specification in this case?

--
assignee:  -> rhettinger
nosy: +rhettinger, tim.peters

___
Python tracker 

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



[issue42967] [CVE-2021-23336] urllib.parse.parse_qsl(): Web cache poisoning - `; ` as a query args separator

2021-11-04 Thread Erlend E. Aasland


Erlend E. Aasland  added the comment:

See bpo-12168 for a similar cleanup by Eryk Sun. There was approx. 20 spammed 
issues. Eryk fixed most of them; I did a couple.

--

___
Python tracker 

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



[issue44828] tkinter.filedialog linked with Tk 8.6.11 crashes on macOS 12 Monterey, breaking IDLE saves

2021-11-04 Thread Marc Culler


Marc Culler  added the comment:

According to wikipedia, it was only the Big Sur beta that identified
itself as 10.16.  (And I observed this with the beta).  But the release
and, I think, the later Big Sur betas stopped doing that.

But I did eventually find a page showing a tweet that "documents" this behavior:
https://eclecticlight.co/2020/07/21/big-sur-is-both-10-16-and-11-0-its-official/

I guess obscure tweets have replaced documentation.

--

___
Python tracker 

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



[issue42967] [CVE-2021-23336] urllib.parse.parse_qsl(): Web cache poisoning - `; ` as a query args separator

2021-11-04 Thread Erlend E. Aasland


Erlend E. Aasland  added the comment:

Yes, cleaning up ahmedsayeed1982 spam. I did my best to revert the nosy list, 
component, versions, and assigned to changes. What did I mess up?

--

___
Python tracker 

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



[issue42967] [CVE-2021-23336] urllib.parse.parse_qsl(): Web cache poisoning - `; ` as a query args separator

2021-11-04 Thread Éric Araujo

Éric Araujo  added the comment:

erlandaasland you’ve been editing closed issues today (got messages from at 
least 2).  maybe submitting old browser tabs with obsolete form data?

--
nosy: +erlendaasland

___
Python tracker 

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



[issue44828] tkinter.filedialog linked with Tk 8.6.11 crashes on macOS 12 Monterey, breaking IDLE saves

2021-11-04 Thread Marc Culler


Marc Culler  added the comment:

Where do you think that "feature" is documented?

--

___
Python tracker 

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



[issue12168] SysLogHandler incorrectly appends \000 to messages

2021-11-04 Thread Eryk Sun


Change by Eryk Sun :


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

___
Python tracker 

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



[issue12168] SysLogHandler incorrectly appends \000 to messages

2021-11-04 Thread Eryk Sun


Change by Eryk Sun :


--
components: +Library (Lib) -Regular Expressions
nosy:  -ahmedsayeed1982, ezio.melotti, mrabarnett
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



[issue12419] Add ident parameter to SysLogHandler

2021-11-04 Thread Erlend E. Aasland


Change by Erlend E. Aasland :


--
components: +Library (Lib) -Installation
nosy: +flub, python-dev, vinay.sajip -ahmedsayeed1982
versions:  -Python 3.6

___
Python tracker 

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



[issue17482] functools.update_wrapper mishandles __wrapped__

2021-11-04 Thread Eryk Sun


Change by Eryk Sun :


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

___
Python tracker 

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



[issue12419] Add ident parameter to SysLogHandler

2021-11-04 Thread Erlend E. Aasland


Change by Erlend E. Aasland :


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

___
Python tracker 

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



[issue17482] functools.update_wrapper mishandles __wrapped__

2021-11-04 Thread Eryk Sun


Change by Eryk Sun :


--
components:  -IO
nosy:  -ahmedsayeed1982
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



[issue13703] Hash collision security issue

2021-11-04 Thread Erlend E. Aasland


Change by Erlend E. Aasland :


--
components: +Interpreter Core -Argument Clinic
nosy: +Arach, Arfrever, Huzaifa.Sidhpurwala, Jim.Jewett, Mark.Shannon, 
PaulMcMillan, Zhiping.Deng, alex, barry, benjamin.peterson, christian.heimes, 
cvrebert, dmalcolm, eric.araujo, eric.snow, fx5, georg.brandl, grahamd, 
gregory.p.smith, gvanrossum, gz, jcea, jsvaughan, lemburg, loewis, 
mark.dickinson, neologix, pitrou, python-dev, roger.serwy, skorgu, skrah, 
terry.reedy, tim.peters, v+python, vstinner, zbysz -ahmedsayeed1982, larry

___
Python tracker 

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



[issue33725] Python crashes on macOS after fork with no exec

2021-11-04 Thread Eryk Sun


Change by Eryk Sun :


--
components: +macOS -Library (Lib)
nosy: +ned.deily, ronaldoussoren -ahmedsayeed1982
versions: +Python 3.8 -Python 3.7

___
Python tracker 

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



[issue13703] Hash collision security issue

2021-11-04 Thread Erlend E. Aasland


Change by Erlend E. Aasland :


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

___
Python tracker 

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



[issue33725] Python crashes on macOS after fork with no exec

2021-11-04 Thread Eryk Sun


Change by Eryk Sun :


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

___
Python tracker 

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



[issue28524] Set default argument of logging.disable() to logging.CRITICAL

2021-11-04 Thread Eryk Sun


Change by Eryk Sun :


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

___
Python tracker 

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



[issue42967] [CVE-2021-23336] urllib.parse.parse_qsl(): Web cache poisoning - `; ` as a query args separator

2021-11-04 Thread Erlend E. Aasland


Change by Erlend E. Aasland :


--
nosy: +AdamGold, eric.araujo, gregory.p.smith, kj, lemburg, mcepl, 
miss-islington, ned.deily, orsenthil, pablogsal, petr.viktorin, rschiron, 
serhiy.storchaka, vstinner -ahmedsayeed1982
versions: +Python 3.10, Python 3.6, Python 3.7, Python 3.9

___
Python tracker 

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



[issue28524] Set default argument of logging.disable() to logging.CRITICAL

2021-11-04 Thread Eryk Sun


Change by Eryk Sun :


--
components: +Library (Lib) -Subinterpreters
nosy:  -ahmedsayeed1982
versions: +Python 3.7 -Python 3.8

___
Python tracker 

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



[issue13936] RFE: change bool(datetime.time(0, 0, 0)) to evaluate as True

2021-11-04 Thread Eryk Sun


Change by Eryk Sun :


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

___
Python tracker 

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



[issue42967] [CVE-2021-23336] urllib.parse.parse_qsl(): Web cache poisoning - `; ` as a query args separator

2021-11-04 Thread Erlend E. Aasland


Change by Erlend E. Aasland :


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

___
Python tracker 

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



[issue13936] RFE: change bool(datetime.time(0, 0, 0)) to evaluate as True

2021-11-04 Thread Eryk Sun


Change by Eryk Sun :


--
components: +Library (Lib) -Tkinter
nosy:  -ahmedsayeed1982

___
Python tracker 

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



[issue14001] CVE-2012-0845 Python v2.7.2 / v3.2.2 (SimpleXMLRPCServer): DoS (excessive CPU usage) by processing malformed XMLRPC / HTTP POST request

2021-11-04 Thread Erlend E. Aasland


Change by Erlend E. Aasland :


--
components: +Library (Lib), XML -email
nosy: +Arfrever, dmalcolm, ezio.melotti, flox, iankko, loewis, neologix, 
orsenthil, pitrou, python-dev, rosslagerwall, schmir -ahmedsayeed1982, barry, 
r.david.murray

___
Python tracker 

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



[issue21082] os.makedirs(exist_ok=True) is not thread-safe: umask is set temporary to 0, serious security problem

2021-11-04 Thread Eryk Sun


Change by Eryk Sun :


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

___
Python tracker 

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



[issue21082] os.makedirs(exist_ok=True) is not thread-safe: umask is set temporary to 0, serious security problem

2021-11-04 Thread Eryk Sun


Change by Eryk Sun :


--
components: +Library (Lib) -Subinterpreters
nosy:  -ahmedsayeed1982

___
Python tracker 

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



[issue14001] CVE-2012-0845 Python v2.7.2 / v3.2.2 (SimpleXMLRPCServer): DoS (excessive CPU usage) by processing malformed XMLRPC / HTTP POST request

2021-11-04 Thread Erlend E. Aasland


Change by Erlend E. Aasland :


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

___
Python tracker 

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



[issue38379] finalizer resurrection in gc

2021-11-04 Thread Eryk Sun


Change by Eryk Sun :


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

___
Python tracker 

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



[issue38379] finalizer resurrection in gc

2021-11-04 Thread Eryk Sun


Change by Eryk Sun :


--
components: +Interpreter Core -IDLE
nosy:  -ahmedsayeed1982, terry.reedy
versions: +Python 3.7, Python 3.8, Python 3.9 -Python 3.6

___
Python tracker 

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



[issue18458] interactive interpreter crashes and test_readline fails on OS X 10.9 Mavericks due to libedit update

2021-11-04 Thread Erlend E. Aasland


Change by Erlend E. Aasland :


--
components:  -email
nosy: +Etienne Le Sueur, Russell.Jurney, jcea, mkleehammer, mrichman, 
ned.deily, nneonneo, python-dev, ronaldoussoren -ahmedsayeed1982, barry, 
r.david.murray
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



[issue12782] Multiple context expressions do not support parentheses for continuation across lines

2021-11-04 Thread Eryk Sun


Change by Eryk Sun :


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

___
Python tracker 

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



[issue12782] Multiple context expressions do not support parentheses for continuation across lines

2021-11-04 Thread Eryk Sun


Change by Eryk Sun :


--
components: +Interpreter Core -IDLE
nosy:  -ahmedsayeed1982, terry.reedy

___
Python tracker 

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



[issue18458] interactive interpreter crashes and test_readline fails on OS X 10.9 Mavericks due to libedit update

2021-11-04 Thread Erlend E. Aasland


Change by Erlend E. Aasland :


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

___
Python tracker 

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



[issue39926] unicodedata for Unicode 13.0.0

2021-11-04 Thread Eryk Sun


Change by Eryk Sun :


--
components:  -Argument Clinic

___
Python tracker 

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



[issue39926] unicodedata for Unicode 13.0.0

2021-11-04 Thread Eryk Sun


Change by Eryk Sun :


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

___
Python tracker 

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



[issue40257] Improve the use of __doc__ in pydoc

2021-11-04 Thread Erlend E. Aasland


Change by Erlend E. Aasland :


--
components: +Library (Lib) -Interpreter Core
nosy: +eamanu, gvanrossum, levkivskyi, lukasz.langa, mark.dickinson, mbussonn, 
ncoghlan, serhiy.storchaka, tcaswell, terry.reedy, veky, xtreak -ahmedsayeed1982
versions: +Python 3.9 -Python 3.6

___
Python tracker 

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



[issue39926] unicodedata for Unicode 13.0.0

2021-11-04 Thread Eryk Sun


Change by Eryk Sun :


--
nosy:  -ahmedsayeed1982, larry
versions: +Python 3.9 -Python 3.7

___
Python tracker 

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



  1   2   >