I am not sure how this can be useful for us. The gettext module does not use the hash table. Anyway, it is easier and faster to read the whole file in memory in Python.
This doesn't mean rejection. It just has a low priority feature.
And how to test it? It would help if the gettext module supported lazy loading. It should be optional, because reading the whole file in memory is more efficient and safer.
Activity
StanFromIreland commented on Mar 26, 2025
This can be put in the gettext project since there have been other msgfmt issues there.
serhiy-storchaka commented on Jul 23, 2025
I am not sure how this can be useful for us. The gettext module does not use the hash table. Anyway, it is easier and faster to read the whole file in memory in Python.
This doesn't mean rejection. It just has a low priority feature.
And how to test it? It would help if the gettext module supported lazy loading. It should be optional, because reading the whole file in memory is more efficient and safer.
StanFromIreland commented on Jul 23, 2025
See #79809
I thought it would be better to first support it in msgfmt and then in gettext? Do you think it should be the other way around?