pylint-dev / pylint-dev/astroid

Module 'subprocess32' has no 'Popen' member

Open
#911 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
582
Forks
357
Avg merge
1d 1h
Merged PRs (30d)
23

Description

### Steps to reproduce
1. Create a file named `test.py` containing:
```python
import subprocess32
subprocess32.Popen(["echo"])
```
2. Run `pylint test.py`

### Current behavior

```
test.py:2:0: E1101: Module 'subprocess32' has no 'Popen' member (no-member)
```

### Expected behavior

No error

### Astroid version

`2.3.3`, `2.4.2` and `2.5` all exhibit this behaviour.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the report with the shown test.py contents and run pylint to confirm the no-member error for subprocess32.Popen. Trace astroid's handling of the subprocess32 module and its Popen member; done means the example produces no error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.