Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

AttributeError: 'FakeOutput' object has no attribute 'encoding' #622

Closed
@goetzc

Description

@goetzc

sys.stdout.encoding gives this error.
Alsosys.stdin.encoding gives'UTF8', while python gives'UTF-8' for both cases.

This commit makes bpython work (naturally stdin is still different than in standard python):

bpythonversion0.15ontopofPython3.5.2/usr/bin/python>>>importsys>>>sys.stdin.encoding'UTF8'>>>sys.stdout.encoding'UTF-8'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp