summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorDamien Baty <damien@damienbaty.com>2021-01-18 12:36:56 +0100
committerDamien Baty <damien@damienbaty.com>2021-01-18 13:06:05 +0100
commit294623e1f1c4a83c193e6eb8c61cf1cb7233b8b9 (patch)
treeca2138916a5ebb754937312ef852cff9a63ecbfc /ChangeLog
parentc9fd1934e9c49d9052f64439fc7ea82026bce00f (diff)
downloadastroid-git-294623e1f1c4a83c193e6eb8c61cf1cb7233b8b9.tar.gz
brain: Add `__class_getitem__` to `subprocess.Popen` starting from Python 3.9
This is necessary for pylint to detect that `subprocess.Popen` is subscriptable, starting from Python 3.9 (see PyCQA/pylint#4034). $ python3.9 >>> import subprocess >>> subprocess.Popen.__class_getitem__ <bound method GenericAlias of <class 'subprocess.Popen'>>
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index de28a9c0..95f26575 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,10 @@ What's New in astroid 2.5.0?
============================
Release Date: TBA
+* Add ``__class_getitem__`` method to ``subprocess.Popen`` brain under Python 3.9 so that it is seen as subscriptable by pylint.
+
+ Fixes PyCQA/pylint#4034
+
* Adds `degrees`, `radians`, which are `numpy ufunc` functions, in the `numpy` brain. Adds `random` function in the `numpy.random` brain.
Fixes PyCQA/pylint#3856