Skip to content

False positive "not-callable" for "multiprocessing.current_process" #1699

@Delgan

Description

@Delgan

Hello.

Steps to reproduce

Lint the following code:

import multiprocessing multiprocessing.current_process()

Current behavior

This reports an issue: E: 2, 0: multiprocessing.current_process is not callable (not-callable)

Expected behavior

No issue reported.

pylint --version output

pylint 1.7.4, astroid 1.5.3 Python 3.6.3 (default, Oct 4 2017, 02:55:45) [GCC 5.4.0 20160609] 

Notes

Curiously, threading.current_thread() works fine.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions