Commit Graph

44 Commits (master)

Author SHA1 Message Date
Alex Willmer 37ebce7e6e Begin 0.3.8dev 1 month ago
Alex Willmer a3644963c4 Prepare v0.3.7 1 month ago
Alex Willmer 933477fcbe Begin 0.3.7dev 2 months ago
Alex Willmer 5d789faee5 Prepare 0.3.6 2 months ago
Alex Willmer fc24b3f25e Start v0.3.6 development 2 months ago
Alex Willmer e97ab2f597 Prepare v0.3.5 2 months ago
Alex Willmer 455fd2bcdf Bump version 11 months ago
Alex Willmer f18f5165cd Prep for v0.3.4 11 months ago
Alex Willmer d71fb672e8 Begin v0.3.4.dev0 2 years ago
Alex Willmer c0d3deeac5 Prepare v0.3.3 2 years ago
Alex Willmer 5b8f7dd1be
Start v0.3.3 development 2 years ago
Alex Willmer e8c3fe7881
Fix Trove classifier, bump version
fixes #891

(cherry picked from commit 1a84184838)
2 years ago
Alex Willmer da3772cbff Increment version to 0.3.1.dev0 3 years ago
Alex Willmer 9b1617f26f Bump version to 0.3.0rc1 3 years ago
David Wilson 153d79b878 Bump version for release. 5 years ago
David Wilson c82112a34b Bump version for release. 5 years ago
David Wilson 1843f183a3 [stream-refactor] fix flake8 errors 5 years ago
David Wilson ba2c65d5ef Bump version for release. 5 years ago
David Wilson c255a8b562 Bump version for release. 5 years ago
David Wilson e010667230 Bump version for release. 5 years ago
David Wilson 1f77d24bec Update copyright year everywhere. 5 years ago
David Wilson fa0c25bb2d Bump version for release. 5 years ago
David Wilson 0e193c223c issue #508: master: minify all Mitogen/ansible_mitogen sources.
Minify-safe files are marked with a magical "# !mitogen: minify_safe"
comment anywhere in the file, which activates the minifier. The result
is naturally cached by ModuleResponder, therefore lru_cache is gone too.

Given:

    import os, mitogen
    @mitogen.main()
    def main(router):
        c = router.ssh(hostname='k3')
        c.call(os.getpid)
        router.sudo(via=c)

SSH footprint drops from 56.2 KiB to 42.75 KiB (-23.9%)
Ansible "shell: hostname" drops 149.26 KiB to 117.42 KiB (-21.3%)
5 years ago
David Wilson 960392cf50 core: tidy up existing profiling code and support MITOGEN_PROFILE_FMT 5 years ago
David Wilson cfcc7c0273 Bump version for release. 6 years ago
David Wilson d64729e041 Bump version for release. 6 years ago
David Wilson 1c5a03bfa5 Bump version for release. 6 years ago
David Wilson 9a453d4753 Bump version for release. 6 years ago
David Wilson 894926cf61 docs: add initial release notes. 6 years ago
David Wilson 410016ff47 Initial Python 3.x port work.
* ansible: use unicode_literals everywhere since it only needs to be
  compatible back to 2.6.
* compat/collections.py: delete this entirely and rip out the parts of
  functools that require it.
* Introduce serializable Kwargs dict subclass that translates keys to
  Unicode on instantiation.
* enable_debug_logging() must set _v/_vv globals.
* cStringIO does not exist in 3.x.
* Treat IOLogger and LogForwarder input as latin-1.
* Avoid ResourceWarnings in first stage by explicitly closing fps.
* Fix preamble_size.py syntax errors.
6 years ago
David Wilson d2714752ee docs: tidy ups 6 years ago
David Wilson 1fc7df5be5 Move canonical library version to __init__.py. 6 years ago
David Wilson 7698f86a9f Whups, don't always enable profiling in mitogen.main() 6 years ago
David Wilson e7c98e3bda Have mitogen.main(profiling=True) effect the master process too 6 years ago
David Wilson 8e2b07a54e issue #139: add profiling=True option to mitogen.main(). 6 years ago
Alex Willmer 2c05958ecc docs: Replace google.com as target of get_url()
Probably best to avoid angering the 800 lb gorilla with access to killer
robots.

https://example.org works, this is why it exists.
6 years ago
Alex Willmer 1c20c61605 docs: Convert all URLs that support https://
Excluded: graphml XML namespaces, links to e.g. Fabric homepage

Fixes #128
6 years ago
David Wilson ff617824a1 ansible: fix some flake8 errors
* Unused imports
* Undefined names in helpers.py
* Copyright header wrapping
6 years ago
Alex Willmer 8513b331b7 Use Pythabsoluteon 2.4 compatible module import
Python 2.4 does not support explicit relative imports. They were added
at Python 2.5, along with `from __future__ import absolute_import`.

On 2.x this will mean the import is first (implicitly) tried relative,
but on 3.x it will always be tried absolute.

Fixes #92
6 years ago
David Wilson 07d4d799f1 Add mitogen.main() decorator mainly for docs and demo use. 6 years ago
David Wilson 326886832e Add license text everywhere. 6 years ago
David Wilson 14783c75e8 issue #9: log warning when a cross-sibling CALL_FUNCTION occurs
First step to making it a fatal error.
6 years ago
David Wilson 1f99dcb435 fix unbelievably dumb variable shadowing 6 years ago
David Wilson e7ff6259a3 Initial commit. 6 years ago