New submission from Lior Cohen :
When working with venv virtual environment, python.exe finds its base_prefix
and base_exec_prefix by the home key in the pyvenv.cfg file.
If one edits this file with $xyz (or %xyz% in windows), it is not not resolved.
The reason of replacing the absolute path
Change by Lior Cohen <chnl...@gmail.com>:
--
title: inspect.isdatadescriptor fasle negative -> inspect.isdatadescriptor
false negative
___
Python tracker <rep...@bugs.python.org>
<https://bugs.pyt
New submission from Lior Cohen <chnl...@gmail.com>:
According to the c code in Include/descrobject.h
#define PyDescr_IsData(d) (Py_TYPE(d)->tp_descr_set != NULL)
and according to the "data model" chapter,
a data descriptor is an object who has __set__
Lior Cohen <chnl...@gmail.com> added the comment:
Joining @Serhiy Storchaka last question.
Is the __get__ method existance is a must be a data descriptor?
According to the C implementation in descrobject.h
```
#define PyDescr_IsData(d) (Py_TYPE(d)->tp_descr_set != NULL)
#endif
```
t