Emmanuel Leblond

Results 177 comments of Emmanuel Leblond

Thanks @MarioMey I'll make sure this is the case in Godot-Python4

@LunaticWyrm467 I'm not sure what you are talking about, do you have a link in the godot documentation or can you provide a screenshot of that ? In any way...

see also https://docs.python.org/3.11/using/cmdline.html?highlight=pythonpath#cmdoption-P

On second though, we will go for a simpler approach: organization can be configured to be expired before bootstrap, hence once bootstrap occured there is no way to access it...

> We said we use u64/i64 Yup, we should use u64/i64 when defining our structure... unless we have a good reason not to ;-) Here we wrap `chrono::Datetime` that uses...

> Same shit can happen for usize/isize, but we prefered to use u64/i64 in Vincent's PR thinking Just follow KISS then ;-) This u64/i64 thing is really important for serialized...

Mongoengine relies on pymongo under the hood, so you should not use `connect` before forking given this function itself create a pymongo.MongoClient connection (you should have a look at https://github.com/MongoEngine/mongoengine/blob/master/mongoengine/connection.py...

What I understand from the pymongo FAQ is you should not create a connection before forking into subprocesses, otherwise you'll end up with multiple `MongoClient` (one per subprocess) with the...

With gunicorn you can specify a function to run that will return the wsgi app (i.g. `gunicorn "my_app.main:bootstrap_app()"`), I guess uWSGI provides a similar mechanism. The solution is then to...