[issue35335] msgfmt should be able to merge more than one po file

2018-12-03 Thread s-ball
s-ball added the comment: Currently my main use case is to be able to compile one or more po file(s) from a Python script, so I just need to be able to repeatedly call make from that script - which was broken per issue 9741 To be honest, I must acknowledge that I initially thought that compi

[issue35335] msgfmt should be able to merge more than one po file

2018-12-03 Thread Éric Araujo
Éric Araujo added the comment: I am curious about the use cases for this feature! -- ___ Python tracker ___ ___ Python-bugs-list mai

[issue35335] msgfmt should be able to merge more than one po file

2018-12-03 Thread SilentGhost
Change by SilentGhost : -- nosy: +eric.araujo, ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue35335] msgfmt should be able to merge more than one po file

2018-12-03 Thread s-ball
Change by s-ball : -- keywords: +patch pull_requests: +10112 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mai

[issue35335] msgfmt should be able to merge more than one po file

2018-12-02 Thread s-ball
s-ball added the comment: After some more thinking about it, my opinion is that the proposed path for issue 9741 does not address at all my requirements. So I will try to propose a pull request addressing both issues here. -- ___ Python tracker <

[issue35335] msgfmt should be able to merge more than one po file

2018-12-01 Thread s-ball
s-ball added the comment: I have followed SilentGhost's advice and begun by thoroughly testing the current behaviour. I then realized that I was wrong, and that (probably by chance) msgfmt.py partially followed my requirements, but pybabel did not and GNU gettext msgfmt did not really. I wro

[issue35335] msgfmt should be able to merge more than one po file

2018-11-29 Thread SilentGhost
SilentGhost added the comment: The test for this part of code are located in Lib/test/test_tools/test_i18n.py as you'll quickly notice there aren't any tests specific to msgfmt.py I would actually advice to start by writing some tests for existing behaviour, so you'd know if (when) you break

[issue35335] msgfmt should be able to merge more than one po file

2018-11-29 Thread s-ball
s-ball added the comment: Ok, I have created a fork, and started coding on a local branch. But it will take some time, because I assume that I am supposed to write tests for the msgfmt module... -- ___ Python tracker

[issue35335] msgfmt should be able to merge more than one po file

2018-11-28 Thread SilentGhost
SilentGhost added the comment: The best way is to propose a PR via github (here are some details: https://devguide.python.org/pullrequest/) This sort of change, can only be applied against master (future 3.8), so don't spend time on legacy releases. -- nosy: +SilentGhost versions: -

[issue35335] msgfmt should be able to merge more than one po file

2018-11-27 Thread s-ball
New submission from s-ball : GNU gettext msgfmt can merge several po files into one single mo file. The current version of msgfmt can only compile one po file to one mo file. After looking at the code, the enhancement should be simple to implement. Command line: if one output file is given (op