- 19 Mar, 2018 40 commits
-
-
David Wilson authored
-
David Wilson authored
Cuts down on even more spam
-
David Wilson authored
Was causing tons of log spam due to 'skipping absent related name'
-
David Wilson authored
-
David Wilson authored
Amazed this one managed to scrape through for so long. Calling __import__ from within find_module() was causing the target module, in this case cookielib, to be loaded *then overwritten* by a subsequent duplicate load higher in the stack. The result is that cookielib was loaded twice, and, per usual Python import semantics, a reference to the partially initialized first cookielib was installed in sys.modules while its code executed. At the end of cookielib on 2.x, it imports _LWPCookieJar, which in turn imports the partially built cookielib from sys.modules, then subclasses the CookieJar from /that/ module. Everything is wonderful. Then the call returns back up into the import mechanism which restarts the entire process -- only this time, _LWPCookieJar is /not/ reinitialized, so the copy in sys.modules is still left with types pointing at the old module! So the duplicate import creates a new CookieJar which is not the base class of LWPCookieJar. Tada! 3 hours debugging. This is probably a performance fix in disguise, didn't realize things were so broken. It may also be a regression elsewhere. Urgently need to finish the tests.
-
David Wilson authored
-
David Wilson authored
-
David Wilson authored
-
David Wilson authored
-
David Wilson authored
-
David Wilson authored
Could it be that some empty dict magically gets populated from somewhere invisible?
-
David Wilson authored
-
David Wilson authored
-
David Wilson authored
-
David Wilson authored
It's a magical switcher that needs argv[0], which we don't provide.
-
David Wilson authored
-
David Wilson authored
-
David Wilson authored
-
David Wilson authored
-
David Wilson authored
-
David Wilson authored
-
David Wilson authored
-
David Wilson authored
-
David Wilson authored
-
David Wilson authored
-
David Wilson authored
-
David Wilson authored
-
David Wilson authored
-
David Wilson authored
-
David Wilson authored
-
David Wilson authored
-
David Wilson authored
-
David Wilson authored
Closes #103.
-
David Wilson authored
Ansible's PluginLoader makes up bullshit when it imports a module (mostly because it has to make up something), therefore we ended up with duplicate copies of ansible_mitogen loaded: one under ansible.plugins.*.mitogen, and one under the canonical namespace. Which broke isinstance().
-
David Wilson authored
-
David Wilson authored
-
David Wilson authored
-
David Wilson authored
-
David Wilson authored
-
David Wilson authored
-