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

reliance on sys.stdin which is not always available #82

Closed
Labels
Milestone
@thehesiod

Description

@thehesiod

We just got this exception when being used in a lambda since sys.stdin is None:

  File \"/var/task/nameparser/config/__init__.py\", line 95, in add_with_encoding    encoding = encoding or sys.stdin.encoding or DEFAULT_ENCODINGAttributeError: 'NoneType' object has no attribute 'encoding'",

perhaps using stdout is better as it's less likely to not be available, or expanding the check for it being None

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp