Daniel Pope
Daniel Pope
The [gettext module](https://docs.python.org/3/library/gettext.html) in the Python standard library would offer support for this, and it's not actually that hard to use. It just needs documentation on how to use it...
> I've been looking for a similar project for years. A fantastic job, simple, easy to extend, and written in python! I love this library. Thanks! :smile:
This is a good idea. I'm not sure about the context manager though. We could add this as a setting in the `chopsticks` namespace, eg. ```python chopsticks.IMPORT_LOCAL = ['psycopg2'] ```...
Maybe I'm misunderstanding the requirement, then. You want certain modules and everything they depend on to be imported "locally"? This runs the risk of importing different versions of libraries on...
I think we have tests for this. Please can you add a test for the case this fixes?
Thanks, this is interesting. I'd like to review some documentation for `nsenter` before I merge this, if you can wait a few days. There is a [Gitter for general questions...
I don't think we should maintain ctypes bindings for nsenter within Chopsticks. If you create a library we could make Chopsticks use it if it is installed.
This is occurring for two reasons: 1. We don't special case `__chopmain__` - which is the module where imported `__main__` functions are created - in the same way we special-case...
Tagging as a bug, but this is really just pbr being too clever for its own good.
This seems very hard to achieve. [setproctitle](https://pypi.python.org/pypi/setproctitle) is a C extension and won't work with Chopsticks. I had it in mind to try to write a pure-Python version that works...