Change by Semyon :
--
nosy: +MarSoft
___
Python tracker
<https://bugs.python.org/issue20907>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
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 r
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
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 as if
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
Change by Semyon Levin :
--
components: +Installation
versions: +Python 3.7
___
Python tracker
<https://bugs.python.org/issue34036>
___
___
Python-bugs-list m
Semyon Proshev 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
<https://bugs.python.o
Semyon Proshev 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 a
New submission from Semyon Proshev :
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 queue module to allow