[issue32884] Adding the ability for getpass to print asterisks when password is typed

2021-08-09 Thread Andrei Kulakov


Andrei Kulakov  added the comment:

Unfortunately modern laptop keyboards have almost no key travel and barely any 
tactile feedback [*]. Users on such keyboards really do need feedback for each 
key pressed. Not providing an option for such feedback is in effect forcing 
users to choose maximally weak password.

[*] worse, a large proportion of MBP keyboards produced in the last few years 
have the notoriously bad 'butterfly' key design that occasionally duplicates 
and swallows keypresses. Yes, a trillion dollar company can't make a functional 
keyboard.

--
nosy: +andrei.avk

___
Python tracker 

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



[issue36700] base64 has old references that should be updated

2021-08-09 Thread Andrei Kulakov


Change by Andrei Kulakov :


--
keywords: +patch
nosy: +andrei.avk
nosy_count: 4.0 -> 5.0
pull_requests: +26186
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/27700

___
Python tracker 

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



[issue41402] email: ContentManager.set_content calls nonexistent method encode() on bytes

2021-08-09 Thread miss-islington


miss-islington  added the comment:


New changeset a3185da26f8c818907c297d92c533deaa96f40fd by Miss Islington (bot) 
in branch '3.10':
bpo-41402: Fix email ContentManager calling .encode() on bytes (GH-21631)
https://github.com/python/cpython/commit/a3185da26f8c818907c297d92c533deaa96f40fd


--

___
Python tracker 

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



[issue44877] Python > 3.7 build fails with IBM XL compiler

2021-08-09 Thread Quellyn Snead


New submission from Quellyn Snead :

Python 3.8 and above fails to build with the IBM XL compiler on Power9 
platforms.

## System and Environment Information

```
$ arch
ppc64le
```

```
$ echo $CC
xlc 
-F/projects/opt/ppc64le/ibm/xlc-16.1.1.7/xlC/16.1.1/etc/xlc.cfg.rhel.7.8.gcc.8.3.0.cuda.10.1
```

```
$ xlc --version
IBM XL C/C++ for Linux, V16.1.1 (5725-C73, 5765-J13)
Version: 16.01.0001.0007
```

## Test Procedure
```
$ git clone g...@github.com:quellyn/cpython.git
$ cd cpython
$ checkout 3.8

$ ./configure --with-pydebug
$ make -j2 | tee -a make.out
```

I tested for 3.7, 3.8, 3.9, 3.10, and master. In all cases the `make` failed 
for versions 3.8+. I've attached both the `config.log` and the make output logs 
for all. 

- Power9 architecture (ppc64le)
- IBM XL C/C++ 16.1.1.7

Python 3.7 builds without issue.

--
components: Installation
files: cpython.tar.gz
messages: 399296
nosy: quellyn
priority: normal
severity: normal
status: open
title: Python > 3.7 build fails with IBM XL compiler
type: compile error
versions: Python 3.10, Python 3.11, Python 3.7, Python 3.8, Python 3.9
Added file: https://bugs.python.org/file50207/cpython.tar.gz

___
Python tracker 

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



[issue44876] .replace functions in datetime do not call __new__

2021-08-09 Thread Joel Gibson


New submission from Joel Gibson :

I've come here while investigating a segfault when datetime.replace(...) was 
called with a Pandas Timestamp object:
https://github.com/pandas-dev/pandas/issues/42305

The Python implementation of datetime.replace
https://github.com/python/cpython/blob/03e5647ab07c7d2a05094fc3b5ed6eba6fc01349/Lib/datetime.py#L1823
is polymorphic, in the sense that if a custom object like pd.Timestamp is 
passed in, a pd.Timestamp will come out rather than a datetime. This works just 
fine (copying and using Python code makes this segfault disappear). 

The C implementation is also polymorphic
https://github.com/python/cpython/blob/03e5647ab07c7d2a05094fc3b5ed6eba6fc01349/Modules/_datetimemodule.c#L5845
but I think that something in the C implementation is wrong: eventually 
tp_alloc gets called for the passed type, but never tp_new, and then afterwards 
the custom type is treated just like a regular datetime. In the pd.Timestamp 
case, there are some extra fields that only get set in the __new__ method, 
leading to a segfault later when they're accessed.

I'm not familiar enough with the C/CPython interface (especially object setup 
and initialisation) to tell where a fix for this should go, I would assume that 
the line
https://github.com/python/cpython/blob/03e5647ab07c7d2a05094fc3b5ed6eba6fc01349/Modules/_datetimemodule.c#L5872
should be replaced by a call to PyObject_new(Py_TYPE(self), ...), or something 
similar.

This also affects date.replace and time.replace.

--
components: Library (Lib)
messages: 399295
nosy: joelgibson
priority: normal
severity: normal
status: open
title: .replace functions in datetime do not call __new__
type: behavior

___
Python tracker 

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



[issue39498] Signpost security considerations in library

2021-08-09 Thread miss-islington


Change by miss-islington :


--
pull_requests: +26185
pull_request: https://github.com/python/cpython/pull/27699

___
Python tracker 

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



[issue14853] test_file.py depends on sys.stdin being unseekable

2021-08-09 Thread Irit Katriel


Irit Katriel  added the comment:


New changeset 8ed183391241f0c73e7ba7f42b1d49fc02985f7b by Irit Katriel in 
branch 'main':
bpo-14853: add back the stdin test, skip if stdin is redirected (GH-27694)
https://github.com/python/cpython/commit/8ed183391241f0c73e7ba7f42b1d49fc02985f7b


--

___
Python tracker 

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



[issue14853] test_file.py depends on sys.stdin being unseekable

2021-08-09 Thread miss-islington


Change by miss-islington :


--
pull_requests: +26184
pull_request: https://github.com/python/cpython/pull/27698

___
Python tracker 

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



[issue14853] test_file.py depends on sys.stdin being unseekable

2021-08-09 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 8.0 -> 9.0
pull_requests: +26183
pull_request: https://github.com/python/cpython/pull/27697

___
Python tracker 

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



[issue39498] Signpost security considerations in library

2021-08-09 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 7.0 -> 8.0
pull_requests: +26182
pull_request: https://github.com/python/cpython/pull/27696

___
Python tracker 

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



[issue39498] Signpost security considerations in library

2021-08-09 Thread Łukasz Langa

Łukasz Langa  added the comment:


New changeset c5c5326d4799fe4ae566aff32ed3461af95859cc by Anthony Shaw in 
branch 'main':
bpo-39498 Start linking the security warnings in the stdlib modules (GH-18272)
https://github.com/python/cpython/commit/c5c5326d4799fe4ae566aff32ed3461af95859cc


--
nosy: +lukasz.langa

___
Python tracker 

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



[issue41402] email: ContentManager.set_content calls nonexistent method encode() on bytes

2021-08-09 Thread Łukasz Langa

Łukasz Langa  added the comment:


New changeset 395f4c7fbfb89b8724a4abf84410b5e1e374932d by Miss Islington (bot) 
in branch '3.9':
bpo-41402: Fix email ContentManager calling .encode() on bytes (GH-21631) 
(GH-27687)
https://github.com/python/cpython/commit/395f4c7fbfb89b8724a4abf84410b5e1e374932d


--

___
Python tracker 

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



[issue44875] Update dis.findlinestarts documentaiton to reflect new usage of `co_lines` (PEP 626)

2021-08-09 Thread George King


George King  added the comment:

I should also mention that my reading was not exhaustive, so there may be other 
docs that need updating as well.

--

___
Python tracker 

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



[issue44875] Update dis.findlinestarts documentaiton to reflect new usage of `co_lines` (PEP 626)

2021-08-09 Thread George King


New submission from George King :

`dis.findlinestarts()` has been changed to use the no `co_lines()` function. 
(Blame indicates commit 877df851c3e by Mark Shannon.) However the docs 
currently state that it uses the older `co_firstlineno` and `co_lnotab`: 
https://docs.python.org/3.10/library/dis.html#dis.findlinestarts.

My cursory understanding of `dis.py` internals is that `get_instructions` 
relies on `findlinestarts`, implying that both of these APIs are going to 
return different line numbers than they did previously. I am perfectly fine 
with this, and hopeful that the PEP 626 changes will improve tool accuracy.

At minimum the `dis` docs should be updated. I also suggest that some kind of 
note about this be added to the PEP 626 text, because the way it reads now 
suggests that it avoids breakage by creating the new `co_lines` API. However it 
seems that users of the higher level dis APIs are going to see subtly different 
behavior.

FWIW I am fine with the change, and I hope this doesn't instigate a reversion 
to the old behavior. `lnotabs` semantics were very cryptic and seemed rather 
broken when I attempted to use it years ago. I am revisiting an experimental 
code coverage tool in part because of the PEP.

--
assignee: docs@python
components: Documentation
messages: 399290
nosy: Mark.Shannon, docs@python, gwk
priority: normal
severity: normal
status: open
title: Update dis.findlinestarts documentaiton to reflect new usage of 
`co_lines` (PEP 626)
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



[issue44859] Improve some sqlite3 errors

2021-08-09 Thread Erlend E. Aasland


Change by Erlend E. Aasland :


--
pull_requests: +26181
pull_request: https://github.com/python/cpython/pull/27695

___
Python tracker 

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



[issue14853] test_file.py depends on sys.stdin being unseekable

2021-08-09 Thread Irit Katriel


Change by Irit Katriel :


--
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.3, Python 
3.4

___
Python tracker 

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



[issue14853] test_file.py depends on sys.stdin being unseekable

2021-08-09 Thread Irit Katriel


Change by Irit Katriel :


--
nosy: +iritkatriel
nosy_count: 7.0 -> 8.0
pull_requests: +26180
pull_request: https://github.com/python/cpython/pull/27694

___
Python tracker 

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



[issue33426] [doc] Behavior of os.path.join does not match documentation

2021-08-09 Thread Irit Katriel


Change by Irit Katriel :


--
keywords: +easy
title: Behavior of os.path.join does not match documentation -> [doc] Behavior 
of os.path.join does not match documentation
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.4, Python 
3.5, Python 3.6

___
Python tracker 

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



[issue29077] build failure when enabling dtrace on FreeBSD

2021-08-09 Thread Mateusz Piotrowski


Change by Mateusz Piotrowski <0...@freebsd.org>:


--
nosy: +0mp
versions: +Python 3.10, 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



[issue44859] Improve some sqlite3 errors

2021-08-09 Thread Erlend E. Aasland


Erlend E. Aasland  added the comment:

Also, for SQLite 3.7.17 and above, we should raise sqlite3.Warning for error 
codes SQLITE_NOTICE and SQLITE_WARNING.

--

___
Python tracker 

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



[issue7615] unicode_escape codec does not escape quotes

2021-08-09 Thread Irit Katriel


Change by Irit Katriel :


--
resolution: out of date -> 
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.6, Python 2.7

___
Python tracker 

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



[issue7615] unicode_escape codec does not escape quotes

2021-08-09 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

Nothing was changed. Backslashes in your output are backslashes in the bytes 
object repr.

>>> print('a\'b"c\'\'\'d"""e'.encode('unicode_escape').decode())
a'b"c'''d"""e

--
nosy: +serhiy.storchaka
status: pending -> open

___
Python tracker 

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



[issue7615] unicode_escape codec does not escape quotes

2021-08-09 Thread Irit Katriel


Irit Katriel  added the comment:

Looks like this has been fixed by now:

>>> print(u'a\'b"c\'\'\'d"""e'.encode('unicode_escape'))
b'a\'b"c\'\'\'d"""e'

Let me know if there is a reason not to close this issue.

--
nosy: +iritkatriel
resolution:  -> out of date
status: open -> pending

___
Python tracker 

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



[issue22330] PyOS_mystricmp is broken

2021-08-09 Thread Irit Katriel


Irit Katriel  added the comment:

This was fixed under Issue 41524.

--
nosy: +iritkatriel
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> PyOS_mystricmp advances pointers too far

___
Python tracker 

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



[issue44874] Deprecate Py_TRASHCAN_SAFE_BEGIN/END

2021-08-09 Thread Irit Katriel


Change by Irit Katriel :


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

___
Python tracker 

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



[issue44874] Deprecate Py_TRASHCAN_SAFE_BEGIN/END

2021-08-09 Thread Irit Katriel


Change by Irit Katriel :


--
nosy: +lukasz.langa, pablogsal

___
Python tracker 

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



[issue44874] Deprecate Py_TRASHCAN_SAFE_BEGIN/END

2021-08-09 Thread Irit Katriel


New submission from Irit Katriel :

The old trashcan macros - Py_TRASHCAN_SAFE_BEGIN/END are unsafe (see 
Issue40608).

They were removed from the limited C API in 3.9: 
https://github.com/python/cpython/blob/main/Doc/whatsnew/3.9.rst#removed-1

They should be removed altogether, in favour of Py_TRASHCAN_BEGIN/END. Since 
they are not documented, I think this would be done by changing the comment 
before their definition in Include/cpython/object.h.

--
components: Interpreter Core
messages: 399285
nosy: iritkatriel
priority: normal
severity: normal
status: open
title: Deprecate Py_TRASHCAN_SAFE_BEGIN/END
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



[issue44872] FrameObject uses the old trashcan macros

2021-08-09 Thread Irit Katriel


Change by Irit Katriel :


--
pull_requests: +26178
pull_request: https://github.com/python/cpython/pull/27692

___
Python tracker 

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



[issue44872] FrameObject uses the old trashcan macros

2021-08-09 Thread Irit Katriel


Change by Irit Katriel :


--
nosy: +lukasz.langa

___
Python tracker 

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



[issue44872] FrameObject uses the old trashcan macros

2021-08-09 Thread Irit Katriel


Change by Irit Katriel :


--
versions: +Python 3.8

___
Python tracker 

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



[issue44872] FrameObject uses the old trashcan macros

2021-08-09 Thread Irit Katriel


Change by Irit Katriel :


--
pull_requests: +26177
pull_request: https://github.com/python/cpython/pull/27691

___
Python tracker 

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



[issue44854] Add .editorconfig to the root directory

2021-08-09 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:


New changeset 058fb35b57ca8c5063d16ec818e668b3babfea65 by Serhiy Storchaka in 
branch 'main':
bpo-44854: Remove trailing whitespaces (GH-27689)
https://github.com/python/cpython/commit/058fb35b57ca8c5063d16ec818e668b3babfea65


--

___
Python tracker 

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



[issue44872] FrameObject uses the old trashcan macros

2021-08-09 Thread Irit Katriel


Change by Irit Katriel :


--
pull_requests: +26176
pull_request: https://github.com/python/cpython/pull/27690

___
Python tracker 

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



[issue38840] incorrect __all__ list in multiprocessing.managers module

2021-08-09 Thread Łukasz Langa

Change by Łukasz Langa :


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



[issue38840] incorrect __all__ list in multiprocessing.managers module

2021-08-09 Thread miss-islington


miss-islington  added the comment:


New changeset 8ece98a7e418c3c68a4c61bc47a2d0931b59a889 by Miss Islington (bot) 
in branch '3.10':
bpo-38840: Incorrect __all__ in multiprocessing.managers (GH-18034)
https://github.com/python/cpython/commit/8ece98a7e418c3c68a4c61bc47a2d0931b59a889


--

___
Python tracker 

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



[issue38840] incorrect __all__ list in multiprocessing.managers module

2021-08-09 Thread Łukasz Langa

Łukasz Langa  added the comment:


New changeset 40b353bc079b990cf0d6259a5720fb9729c1b81e by Miss Islington (bot) 
in branch '3.9':
bpo-38840: Incorrect __all__ in multiprocessing.managers (GH-18034) (GH-27684)
https://github.com/python/cpython/commit/40b353bc079b990cf0d6259a5720fb9729c1b81e


--

___
Python tracker 

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



[issue25782] CPython hangs on error __context__ set to the error itself

2021-08-09 Thread Nikita Sobolev


Nikita Sobolev  added the comment:

There's also a similar case with python3.9:

```python
>>> class MyError(Exception):
...   ...
... 
>>> e = MyError('e')
>>> e.__context__ = e
>>> 
>>> try:
...   raise e
... except MyError:
...   print('done')
... 
done  # hangs after this
^C^Z
```

The same code works with python3.8
We got hit by this in RustPython: 
https://github.com/RustPython/RustPython/pull/2820

--
nosy: +sobolevn

___
Python tracker 

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



[issue44854] Add .editorconfig to the root directory

2021-08-09 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
nosy: +serhiy.storchaka
nosy_count: 2.0 -> 3.0
pull_requests: +26175
pull_request: https://github.com/python/cpython/pull/27689

___
Python tracker 

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



[issue44872] FrameObject uses the old trashcan macros

2021-08-09 Thread Irit Katriel


Irit Katriel  added the comment:


New changeset 7d14fdb03c3e8384c01da1b21647ce837ed6a29c by Irit Katriel in 
branch 'main':
bpo-44872: use new trashcan macros in framobject.c (#27683)
https://github.com/python/cpython/commit/7d14fdb03c3e8384c01da1b21647ce837ed6a29c


--

___
Python tracker 

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



[issue44508] asyncio: document failure mode for loop.call_soon_threadsafe

2021-08-09 Thread meowmeowcat


meowmeowcat  added the comment:

Thanks! I've opened a PR for this issue.

--

___
Python tracker 

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



[issue44508] asyncio: document failure mode for loop.call_soon_threadsafe

2021-08-09 Thread meowmeowcat


Change by meowmeowcat :


--
keywords: +patch
nosy: +meowmeowmeowcat
nosy_count: 4.0 -> 5.0
pull_requests: +26174
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/27688

___
Python tracker 

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



[issue38840] incorrect __all__ list in multiprocessing.managers module

2021-08-09 Thread Łukasz Langa

Łukasz Langa  added the comment:


New changeset d0978761118856e8ca8ea7b162a6585b8da83df9 by Zackery Spytz in 
branch 'main':
bpo-38840: Incorrect __all__ in multiprocessing.managers (GH-18034)
https://github.com/python/cpython/commit/d0978761118856e8ca8ea7b162a6585b8da83df9


--
nosy: +lukasz.langa

___
Python tracker 

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



[issue41402] email: ContentManager.set_content calls nonexistent method encode() on bytes

2021-08-09 Thread miss-islington


Change by miss-islington :


--
pull_requests: +26173
pull_request: https://github.com/python/cpython/pull/27687

___
Python tracker 

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



[issue41402] email: ContentManager.set_content calls nonexistent method encode() on bytes

2021-08-09 Thread miss-islington


Change by miss-islington :


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

___
Python tracker 

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



[issue41402] email: ContentManager.set_content calls nonexistent method encode() on bytes

2021-08-09 Thread Łukasz Langa

Łukasz Langa  added the comment:


New changeset b33186bc43bb5aaf652dd9d093a08fdde796d499 by Johannes Reiff in 
branch 'main':
bpo-41402: Fix email ContentManager calling .encode() on bytes (GH-21631)
https://github.com/python/cpython/commit/b33186bc43bb5aaf652dd9d093a08fdde796d499


--
nosy: +lukasz.langa

___
Python tracker 

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



[issue38840] incorrect __all__ list in multiprocessing.managers module

2021-08-09 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 4.0 -> 5.0
pull_requests: +26170
pull_request: https://github.com/python/cpython/pull/27684

___
Python tracker 

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



[issue38840] incorrect __all__ list in multiprocessing.managers module

2021-08-09 Thread miss-islington


Change by miss-islington :


--
pull_requests: +26171
pull_request: https://github.com/python/cpython/pull/27685

___
Python tracker 

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



[issue44873] base64 RFC4648 test cases

2021-08-09 Thread Andrei Kulakov


New submission from Andrei Kulakov :

RFC 4648 [1] has added a list of encoding test cases -- see section 10 of the 
RFC. It might be nice to add a test function that is a direct copy of these 
test cases. This will make conformance to this RFC clearer (actually right now 
we don't state conformance with 4648 in the docs except for b32 hex 
encode/decode, but I'm planning to update the docs in a separate issue).

This will also let us easily keep test cases in sync with future updates in the 
RFC.

The tests are similar to what we already have except our test cases go from '' 
=> 'abc', and their test cases from '' => 'foobar' (by adding a character at a 
time in succession). [also some of our test cases go from '' to 'abcde', so a 
bit inconsistent.]

I've confirmed that all of their test cases pass with Python dev branch code.

I can put up a PR if this sounds good.




[1] https://datatracker.ietf.org/doc/html/rfc4648.html

--
components: Library (Lib)
messages: 399276
nosy: andrei.avk
priority: normal
severity: normal
status: open
title: base64 RFC4648 test cases
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



[issue44871] Threading memory leak

2021-08-09 Thread Benjamin Peterson


Change by Benjamin Peterson :


--
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> Memory leak/high usage on copy in different thread

___
Python tracker 

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



[issue44022] urllib http client possible infinite loop on a 100 Continue response

2021-08-09 Thread Matej Cepl


Matej Cepl  added the comment:

Is there a CVE for this?

--
nosy: +mcepl

___
Python tracker 

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



[issue41402] email: ContentManager.set_content calls nonexistent method encode() on bytes

2021-08-09 Thread Łukasz Langa

Change by Łukasz Langa :


--
versions: +Python 3.11 -Python 3.8

___
Python tracker 

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



[issue44872] FrameObject uses the old trashcan macros

2021-08-09 Thread Irit Katriel


Change by Irit Katriel :


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

___
Python tracker 

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



[issue44872] FrameObject uses the old trashcan macros

2021-08-09 Thread Irit Katriel


New submission from Irit Katriel :

Py_TRASHCAN_SAFE_BEGIN/END are the old macros, and they are currently broken 
(see Issue40608). We should use Py_TRASHCAN_BEGIN/END instead.

--
components: Interpreter Core
messages: 399274
nosy: iritkatriel
priority: normal
severity: normal
status: open
title: FrameObject uses the old trashcan macros
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



[issue44338] Port LOAD_GLOBAL to adaptive interpreter

2021-08-09 Thread Mark Shannon


Change by Mark Shannon :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
type:  -> performance

___
Python tracker 

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



[issue44207] Add a version number to Python functions

2021-08-09 Thread Mark Shannon


Change by Mark Shannon :


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



[issue44821] Instance dictionaries should be created eagerly

2021-08-09 Thread Mark Shannon


Change by Mark Shannon :


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



[issue44851] Update bundled pip to 21.2.3 and setuptools to 57.4.0

2021-08-09 Thread Łukasz Langa

Łukasz Langa  added the comment:

Thanks, Tzu-ping Chung! ✨  ✨

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



[issue44851] Update bundled pip to 21.2.3 and setuptools to 57.4.0

2021-08-09 Thread Tzu-ping Chung


Change by Tzu-ping Chung :


--
pull_requests: +26168
pull_request: https://github.com/python/cpython/pull/27658

___
Python tracker 

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



[issue44522] [doc] open() function errors='surrogateescape' has inaccurate information

2021-08-09 Thread Łukasz Langa

Łukasz Langa  added the comment:

Thanks, meowmeowcat! ✨  ✨

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
versions:  -Python 3.6, 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



[issue44522] [doc] open() function errors='surrogateescape' has inaccurate information

2021-08-09 Thread Łukasz Langa

Łukasz Langa  added the comment:


New changeset 037ef8d6d9cc8225d6db0305cee2d8d0ee5bee74 by Miss Islington (bot) 
in branch '3.9':
bpo-44522: Fix inaccurate information in open() function (GH-27650) (GH-27682)
https://github.com/python/cpython/commit/037ef8d6d9cc8225d6db0305cee2d8d0ee5bee74


--

___
Python tracker 

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



[issue44522] [doc] open() function errors='surrogateescape' has inaccurate information

2021-08-09 Thread miss-islington


miss-islington  added the comment:


New changeset c79aa427c0b0c8a09e5c22a5420baf837054f509 by Miss Islington (bot) 
in branch '3.10':
bpo-44522: Fix inaccurate information in open() function (GH-27650)
https://github.com/python/cpython/commit/c79aa427c0b0c8a09e5c22a5420baf837054f509


--

___
Python tracker 

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



[issue44854] Add .editorconfig to the root directory

2021-08-09 Thread Łukasz Langa

Łukasz Langa  added the comment:

> I did not see anything in the EditorConfig guide about what happens when 
> .editorconfig does not start with root = true and another file is found.

Good question. The docs do mention this but the information is scattered across 
the website. The key points are:

> EditorConfig files are read top to bottom and the most recent rules found 
> take precedence. Properties from matching EditorConfig sections are applied 
> in the order they were read, so properties in closer files take precedence.

> When opening a file, EditorConfig plugins look for a file named .editorconfig 
> in the directory of the opened file and in every parent directory. A search 
> for .editorconfig files will stop if the root filepath is reached or an 
> EditorConfig file with root=true is found.

In other words, unless root=True is specified, the editor will keep looking for 
.editorconfig also in parent directories as well and composing the config from 
all files it found.

--

___
Python tracker 

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



[issue44522] [doc] open() function errors='surrogateescape' has inaccurate information

2021-08-09 Thread miss-islington


Change by miss-islington :


--
pull_requests: +26167
pull_request: https://github.com/python/cpython/pull/27682

___
Python tracker 

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



[issue44522] [doc] open() function errors='surrogateescape' has inaccurate information

2021-08-09 Thread Łukasz Langa

Łukasz Langa  added the comment:


New changeset b05e9b63fcfcd4bd7a6434fa9f9a7028d12f91c4 by meowmeowmeowcat in 
branch 'main':
bpo-44522: Fix inaccurate information in open() function (GH-27650)
https://github.com/python/cpython/commit/b05e9b63fcfcd4bd7a6434fa9f9a7028d12f91c4


--
nosy: +lukasz.langa

___
Python tracker 

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



[issue44871] Threading memory leak

2021-08-09 Thread Andrei Zene


New submission from Andrei Zene :

In an application where we were handling incoming requests in new threads, we 
noticed that the memory usage grew over time. After trying to understand what's 
going on, i was able to reproduce this with a smaller python script that i've 
attached.

What we do:
- start a thread
- the thread allocates some memory
- at some point later we join the thread

Notice that this seems to be more like a race-condition because it doesn't 
reproduce without adding some delays between the creation of different threads. 
I've added a comment in the file that basically commenting one time.sleep makes 
the leak to not reproduce anymore.

On the other side, I was able to reproduce this consistently with every version 
of python on mulitple systems but only on Linux. On windows it doesn't 
reproduce.

--
files: threading_leak.py
messages: 399267
nosy: andzn
priority: normal
severity: normal
status: open
title: Threading memory leak
type: performance
versions: Python 3.10, Python 3.11, Python 3.6, Python 3.7, Python 3.8, Python 
3.9
Added file: https://bugs.python.org/file50206/threading_leak.py

___
Python tracker 

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



[issue44522] [doc] open() function errors='surrogateescape' has inaccurate information

2021-08-09 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 4.0 -> 5.0
pull_requests: +26166
pull_request: https://github.com/python/cpython/pull/27681

___
Python tracker 

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



[issue33930] Segfault with deep recursion into object().__dir__

2021-08-09 Thread Pablo Galindo Salgado


Change by Pablo Galindo Salgado :


--
pull_requests: +26165
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/27678

___
Python tracker 

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



[issue44598] test_constructor (test.test_ssl.ContextTests) ... Fatal Python error: Segmentation fault

2021-08-09 Thread STINNER Victor


STINNER Victor  added the comment:

tongxiaoge: Without more information, we cannot help you. See Christian's 
questions.

--

___
Python tracker 

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



[issue33930] Segfault with deep recursion into object().__dir__

2021-08-09 Thread STINNER Victor


STINNER Victor  added the comment:

Correctness matters more than performance for 1 nanosecond. IMO a fix like 
attached bpo-33930.patch looks like the good approach to fix the crash.

--

___
Python tracker 

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



[issue44849] test_os: test_get_set_inheritable_o_path() failed on AMD64 FreeBSD Shared 3.x

2021-08-09 Thread STINNER Victor


STINNER Victor  added the comment:

AMD64 FreeBSD Shared 3.x is back to green: 
test_os.test_get_set_inheritable_o_path() now pass on FreeBSD CURRENT ;-) My 
fix works as expected. I simply used the same fix than for Linux.

--

___
Python tracker 

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



[issue40912] _PyOS_SigintEvent is never closed on Windows

2021-08-09 Thread STINNER Victor


STINNER Victor  added the comment:

Fixed by bpo-41686:

commit 0ae323b87f1bed64a7fa70f5a41a5800aca032cc
Author: Victor Stinner 
Date:   Tue Nov 17 18:15:20 2020 +0100

bpo-41686: Always create the SIGINT event on Windows (GH-23344)

bpo-41686, bpo-41713: On Windows, the SIGINT event,
_PyOS_SigintEvent(), is now created even if Python is configured to
not install signal handlers (PyConfig.install_signal_handlers=0 or
Py_InitializeEx(0)).

Changes:

* Move global variables initialization from signal_exec() to
  _PySignal_Init() to clarify that they are global variables cleared
  by _PySignal_Fini().
* _PySignal_Fini() now closes sigint_event.
* IntHandler is no longer a global variable.

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

___
Python tracker 

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



[issue44870] email.message_from_bytes not working on BytesIO() object

2021-08-09 Thread Eric V. Smith


Eric V. Smith  added the comment:

Use filecontent.getvalue(): 
https://docs.python.org/3/library/io.html#io.BytesIO.getvalue

--
nosy: +eric.smith
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



[issue42035] [C API] PyType_GetSlot cannot get tp_name

2021-08-09 Thread STINNER Victor


STINNER Victor  added the comment:

PyType_GetName() is a nice addition, thanks.

--

___
Python tracker 

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



[issue44702] Fix weakref doc

2021-08-09 Thread miss-islington


miss-islington  added the comment:


New changeset 03e5647ab07c7d2a05094fc3b5ed6eba6fc01349 by meowmeowmeowcat in 
branch 'main':
bpo-44702: Remove ambiguity in sentence (GH-27676)
https://github.com/python/cpython/commit/03e5647ab07c7d2a05094fc3b5ed6eba6fc01349


--
nosy: +miss-islington

___
Python tracker 

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



[issue44870] email.message_from_bytes not working on BytesIO() object

2021-08-09 Thread Christian Degenkolb


New submission from Christian Degenkolb :

Hi, 

the following minimal working example of the problem  

from io import BytesIO
from os import read
import email

fp = BytesIO()

with open('mail.eml', 'rb') as f:
filecontent = f.read()
print("type(filecontent)= ", type(filecontent))
fp.write(filecontent)

mailobj = email.message_from_bytes(fp)

produces the following exception

$ python testparser.py 
type(filecontent)=  
Traceback (most recent call last):
  File "testparser.py", line 16, in 
mailobj = email.message_from_bytes(fp)
  File "/usr/lib/python3.8/email/__init__.py", line 46, in message_from_bytes
return BytesParser(*args, **kws).parsebytes(s)
  File "/usr/lib/python3.8/email/parser.py", line 122, in parsebytes
text = text.decode('ASCII', errors='surrogateescape')
AttributeError: '_io.BytesIO' object has no attribute 'decode'


This is a python 3.8.10 on an Ubuntu 20.04 LTS installed from the packages. 

The documentation for message_from_bytes 
https://docs.python.org/3.10/library/email.parser.html#email.message_from_bytes 
mentions bytes-like objects which links to 
https://docs.python.org/3.10/glossary.html#term-bytes-like-object and 
references object of type byte. 

Shouldn't this work with BytesIO()? A'm I missing something?

with regards
Christian

--
components: email
messages: 399259
nosy: barry, cd311, r.david.murray
priority: normal
severity: normal
status: open
title: email.message_from_bytes not working on BytesIO() object
type: behavior
versions: Python 3.8

___
Python tracker 

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



[issue44840] Nested if/else gets phantom else trace again (3.10)

2021-08-09 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



[issue44702] Fix weakref doc

2021-08-09 Thread meowmeowcat


Change by meowmeowcat :


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

___
Python tracker 

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



[issue44702] Fix weakref doc

2021-08-09 Thread meowmeowcat


meowmeowcat  added the comment:

Thanks! I agree with what you said here. I'll open a PR for this with your fix 
suggestion.

--
nosy: +meowmeowmeowcat

___
Python tracker 

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



[issue32695] tarfile.open() raises TypeError when using compresslevel parameter with LZMA

2021-08-09 Thread Łukasz Langa

Change by Łukasz Langa :


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

___
Python tracker 

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



[issue32695] tarfile.open() raises TypeError when using compresslevel parameter with LZMA

2021-08-09 Thread miss-islington


miss-islington  added the comment:


New changeset d5c8ad24716d146ffa025e09dad85e5a1bac5c77 by Miss Islington (bot) 
in branch '3.10':
bpo-32695: Docs and tests for compresslevel and preset kwargs in tarfile 
(GH-21470)
https://github.com/python/cpython/commit/d5c8ad24716d146ffa025e09dad85e5a1bac5c77


--

___
Python tracker 

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



[issue44840] Nested if/else gets phantom else trace again (3.10)

2021-08-09 Thread Ned Batchelder


Ned Batchelder  added the comment:

This fix looks good, thanks.

--

___
Python tracker 

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



[issue32695] tarfile.open() raises TypeError when using compresslevel parameter with LZMA

2021-08-09 Thread Łukasz Langa

Łukasz Langa  added the comment:


New changeset ede221e51796f3f5471278aabd9105870f79dfb5 by Miss Islington (bot) 
in branch '3.9':
bpo-32695: Docs and tests for compresslevel and preset kwargs in tarfile 
(GH-21470) (GH-27674)
https://github.com/python/cpython/commit/ede221e51796f3f5471278aabd9105870f79dfb5


--

___
Python tracker 

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



[issue32695] tarfile.open() raises TypeError when using compresslevel parameter with LZMA

2021-08-09 Thread miss-islington


Change by miss-islington :


--
pull_requests: +26163
pull_request: https://github.com/python/cpython/pull/27675

___
Python tracker 

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



[issue32695] tarfile.open() raises TypeError when using compresslevel parameter with LZMA

2021-08-09 Thread miss-islington


Change by miss-islington :


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

___
Python tracker 

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



[issue32695] tarfile.open() raises TypeError when using compresslevel parameter with LZMA

2021-08-09 Thread Łukasz Langa

Łukasz Langa  added the comment:


New changeset eb2d4a66ff07aa6e51cfaaa31afed31addf76936 by Zackery Spytz in 
branch 'main':
bpo-32695: Docs and tests for compresslevel and preset kwargs in tarfile 
(GH-21470)
https://github.com/python/cpython/commit/eb2d4a66ff07aa6e51cfaaa31afed31addf76936


--
nosy: +lukasz.langa

___
Python tracker 

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



[issue44840] Nested if/else gets phantom else trace again (3.10)

2021-08-09 Thread Pablo Galindo Salgado


Pablo Galindo Salgado  added the comment:


New changeset 762ef85f441cdec002cb4e812b9e77ae5033e571 by Mark Shannon in 
branch '3.10':
bpo-44840: Compiler: Move duplication of exit blocks with no line numbers to 
after CFG optimization. (GH-27656) (#27673)
https://github.com/python/cpython/commit/762ef85f441cdec002cb4e812b9e77ae5033e571


--
nosy: +pablogsal

___
Python tracker 

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



[issue44826] Specialize STORE_ATTR using PEP 659 machinery.

2021-08-09 Thread Mark Shannon


Mark Shannon  added the comment:


New changeset ac75f6bdd4748b3378dd321f862d13aa1898f77a by Mark Shannon in 
branch 'main':
bpo-44826: Specialize STORE_ATTR (GH-27590)
https://github.com/python/cpython/commit/ac75f6bdd4748b3378dd321f862d13aa1898f77a


--

___
Python tracker 

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



[issue44840] Nested if/else gets phantom else trace again (3.10)

2021-08-09 Thread Mark Shannon


Change by Mark Shannon :


--
pull_requests: +26161
pull_request: https://github.com/python/cpython/pull/27673

___
Python tracker 

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



[issue44840] Nested if/else gets phantom else trace again (3.10)

2021-08-09 Thread Mark Shannon


Mark Shannon  added the comment:


New changeset b854557b49083d8625a433eb36aacb0c87d67c52 by Mark Shannon in 
branch 'main':
bpo-44840: Compiler: Move duplication of exit blocks with no line numbers to 
after CFG optimization. (GH-27656)
https://github.com/python/cpython/commit/b854557b49083d8625a433eb36aacb0c87d67c52


--

___
Python tracker 

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



[issue38956] argparse.BooleanOptionalAction should not add the default value to the help string by default

2021-08-09 Thread Maximilian Hils


Change by Maximilian Hils :


--
nosy: +mhils
nosy_count: 5.0 -> 6.0
pull_requests: +26160
pull_request: https://github.com/python/cpython/pull/27672

___
Python tracker 

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



[issue44869] MacOS Monterrey malloc issue

2021-08-09 Thread meowmeowcat


Change by meowmeowcat :


--
components: +macOS
nosy: +ned.deily, ronaldoussoren
type:  -> crash

___
Python tracker 

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



[issue44522] [doc] open() function errors='surrogateescape' has inaccurate information

2021-08-09 Thread meowmeowcat


meowmeowcat  added the comment:

Oh, I missed this too. I'll fix it.

--

___
Python tracker 

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