Graham Dumpleton

Results 765 comments of Graham Dumpleton

Am inclined to think this is a shortcoming in Python implementation of coroutines in that it doesn't cope well with decorated functions, or certainly not ones where the decorated function...

Thanks. I will have a look. I need to think through what implications are of moving the lock to the `with` statement rather than being on the function as a...

Sorry, been really caught up in work. I'll see if can set aside some time this weekend to look at it. I also need to get a mod_wsgi release out...

I am not sure this is thread safe any more. A few comments below. In: ``` def notify_module_loaded(module): name = getattr(module, '__name__', None) with _post_import_hooks_lock: hooks = _post_import_hooks.pop(name, ()) #...

The dict.pop method has always been atomic. * http://effbot.org/pyfaq/what-kinds-of-global-value-mutation-are-thread-safe.htm The dict.setdefault method has been atomic since Python 3.2 and Python 2.7.3. * https://hg.python.org/cpython/rev/5c52e7c6d868 These are fundamental guarantees and since CPython...

I figured any literal values as key was fine, eg., string, bytes, int, float and maybe even tuple. Am still happy to go with the more conservative approach for now...

Does the file: ``` libmoveit_py_bindings_tools.so.1.1.9 ``` exist anywhere on your system? Rather brute force way of find out, but what files are found when you run: ``` find / -name...

It shouldn't exist in `/usr/lib/apache2/modules`. Did you put it there? Is `/opt/ros/noetic` your Python virtual environment or where your actual Python installation is located?

When you run the Python version you are using, from the interpreter what do you get for: ``` import sys print(sys.prefix) ``` Where did `/opt/ros` and `/opt/ros/noetic` come from? Are...