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

pygettext generates output even when there should be none #133049

Open
Labels
triagedThe issue has been accepted as valid by a triager.type-bugAn unexpected behavior, bug, or error
@StanFromIreland

Description

@StanFromIreland

Bug report

Bug description:

This occurs in two cases:

  • Output is still generated when there is no input. Whereasxgettext:
    $ xgettextxgettext: no input file givenTry 'xgettext --help' for more information.
    And the second case follows on from this (but can also occur with input files)
  • Inxgettext, no output is generated if there are no messages. Inpygettext output is still generate even if no messages are found, the header is still sent.
    We should fix it to work likexgettext and not produce "empty" output.

I will send a pr soon, once other tests are merged.

cc@tomasr8

CPython versions tested on:

CPython main branch

Operating systems tested on:

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    triagedThe issue has been accepted as valid by a triager.type-bugAn unexpected behavior, bug, or error

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp