[issue20907] behavioral differences between shutil.unpack_archive and ZipFile.extractall

2022-04-07 Thread Semyon
Change by Semyon : -- nosy: +MarSoft ___ Python tracker <https://bugs.python.org/issue20907> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue37911] Minor error in PEP567 code example

2019-08-21 Thread Semyon
New submission from Semyon : In PEP-567 there is a code example in `contextvars.Context` section (https://www.python.org/dev/peps/pep-0567/#contextvars-context): ``` # Print all context variables and their values in 'ctx': print(ctx.items()) ``` But `ctx.items()` doesn't return a list

[issue34415] Typo in logging.Formatter docstring

2018-08-16 Thread Semyon
New submission from Semyon : There is a typo in the docstring for logging.Formatter: > default value of "%s(message)\\n" is used. I am sure it should be different (and in sync with the actual value): > default value of "%(message)s\\n" is used. The problem is in py

[issue34394] Descriptors HowTo doesn't mention __set_name__

2018-08-13 Thread Semyon
New submission from Semyon : There is a great HowTo document for descriptors https://github.com/python/cpython/blob/master/Doc/howto/descriptor.rst But it doesn't even mention the __set_name__ method which was added in py3. And it lists the descriptor protocol without that method

[issue34036] ModuleNotFoundError: No module named '_ctypes' when install Python 3.7 on Linux

2018-07-03 Thread Semyon Levin
New submission from Semyon Levin : make install failed with File "/tmp/tmp2gwe2ma_/pip-10.0.1-py2.py3-none-any.whl/pip/_internal/utils/glibc.py", line 3, in File "/common/dev/slevin/tools/Python-3.7.0/Lib/ctypes/__init__.py", line 7, in from _ctypes import Uni

[issue34036] ModuleNotFoundError: No module named '_ctypes' when install Python 3.7 on Linux

2018-07-03 Thread Semyon Levin
Change by Semyon Levin : -- components: +Installation versions: +Python 3.7 ___ Python tracker <https://bugs.python.org/issue34036> ___ ___ Python-bugs-list m

[issue33315] Allow queue.Queue to be used in type annotations

2018-05-03 Thread Semyon Proshev
Semyon Proshev <s-pros...@ya.ru> added the comment: I'm not sure that I'll be able to make a PR quickly, so feel free to do it -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue33315] Allow queue.Queue to be used in type annotations

2018-04-23 Thread Semyon Proshev
Semyon Proshev <s-pros...@ya.ru> added the comment: I had been thinking about `__class_getitem__` when the issue were created. I suspected it's not difficult to implement and it follows PEP 560. So I'm +1 for `__class_item__`, quotes and postponed evaluation are a

[issue33315] Allow queue.Queue to be used in type annotations

2018-04-19 Thread Semyon Proshev
New submission from Semyon Proshev <s-pros...@ya.ru>: from queue import Queue a: Queue[int] This code throws a TypeError in runtime. But its pyi stub allows to use it in such a way (https://github.com/python/typeshed/blob/master/stdlib/3/queue.pyi) I'd suggest to update classes in