8000 Properties missing from FileHandler · Issue #1833 · python/typeshed · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Properties missing from FileHandler #1833
Closed
@ExplodingCabbage

Description

@ExplodingCabbage

Everything here ought to be legal...

from logging import FileHandler
fh = FileHandler('foo')
print(fh.baseFilename)
print(fh.mode)

... but mypy disagrees:

$ mypy ~/test.py
test.py:3: error: "FileHandler" has no attribute "baseFilename"
test.py:4: error: "FileHandler" has no attribute "mode"
$ 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0