Mirror of mitogen
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
David Wilson f1009b7502 issue #121: fix breakage caused by a9c6c13
This actually addresses multiple problems:

* Single-file programs were broken, since the fix introduced in
  6931cc10c4 caused builtin_find_module()
  to start indicating __main__ can always be loaded locally. That's
  broken, and there might be more cases where the same problem will crop
  up.

  Since it was indicated __main__ could be loaded locally, the built-in
  import machinery was allowed to attempt that (since we remove __main__
  from sys.modules during bootstrap), which caused a safety check to
  fire in the bowels of Python:

      "Cannot re-init internal module %.200s"

* The check for presence of the whitelist was totally broken, since the
  whitelist is never an empty list. Therefore 'self' was being returned
  for every module, including extension modules like 'termios'.

I have hand-verified this does not break the fix for issue #113. I
looked at writing a test for that, but it requires a Docker container
(or similar) with an ancient version of Ansible installed. Will open a
separate ticket tracking this.
8 years ago
ansible_mitogen docs: Convert all URLs that support https:// 8 years ago
docs docs: typo 8 years ago
examples issue #122: helper to print environment 8 years ago
mitogen issue #121: fix breakage caused by a9c6c13 8 years ago
tests tests: Fix import error 8 years ago
.gitignore Some gitignore extras 8 years ago
.lgtm.yml compat: ignore LGTM checks on third party 8 years ago
.travis.yml Remove overall build timeout from .travis.yml. 8 years ago
LICENSE Add license text everywhere. 8 years ago
README.md README: move testing bits into tests directory. 8 years ago
dev_requirements.txt Move django test script into permanent test 8 years ago
preamble_size.py docs: fix preamble_size.py after whitelist changes 8 years ago
setup.cfg Initial flake8 configuration. 8 years ago
setup.py issue #93: enable use_2to3 to see what happens 8 years ago
test.sh tests: Find all *_test.py scripts and run them 8 years ago

README.md