- 28 Aug, 2015 23 commits
-
-
James Cammarata committed
-
Fixes #12099
James Cammarata committed -
FieldAttributes will now by default not be post_validated unless a flag is set on them in the class, as a large number of fields are really there simply to be inherited by Task/PlayContext and shouldn't be templated too early. The other (unrelated to the base issue) in #12084 is also fixed here, where the roles field is loaded before vars/vars_files, meaning there are no vars yet loaded in the play when the templating occurs. Fixes #12084
James Cammarata committed -
More specific about urllib2 restrictions
Greg DeKoenigsberg committed -
Greg DeKoenigsberg committed
-
Greg DeKoenigsberg committed
-
Reflect new permissions for pushing to doc site
Greg DeKoenigsberg committed -
James Cammarata committed
-
Toshio Kuratomi committed
-
cloudstack: implement general api_region support, update docs
James Cammarata committed -
Brian Coca committed
-
Brian Coca committed
-
Brian Coca committed
-
Fixes #12018
James Cammarata committed -
TODO: add this to VariableManager to validate vars loaded from files too Fixes #12022
James Cammarata committed -
Update "smart" transport to handle Sun_SSH_1.5 on SmartOS
James Cammarata committed -
Link to `constants.py` in the source tree from the documenation.
Brian Coca committed -
Python 3: use print() as function under contrib/
Brian Coca committed -
`constants.py` is referenced in the *Environmental configuration* section of the documentation. This change provides a link from the documentation to the source code.
Homme Zwaagstra committed -
This fixes the remaining Python 3 syntax errors, so re-enable compileall for contrib/ again.
Marius Gedminas committed -
- Fixed line break causing part of the text to display as "Definition List" which Sphinx renders in bold.
Brian Coca committed -
which Sphinx renders in bold.
Steve McKuhr committed
-
- 27 Aug, 2015 17 commits
-
-
fixes #12111
Brian Coca committed -
Adding support for Archlinux and Slackware in fallback
James Cammarata committed -
Enable py34 test in travis so we don't regress recent fixes
Toshio Kuratomi committed -
Toshio Kuratomi committed
-
Some steps towards Python 3 support
Toshio Kuratomi committed -
`assert (condition, message)` gets parsed by Python as `assert a_two_tuple`, and a 2-element tuple is never False. Discovered by compileall on Python 3.4, which emits a SyntaxWarning for this common mistake.
Marius Gedminas committed -
(This is supposed to be temporary, until the code under contrib/ gets cleaned up from all the remaining print statements.)
Marius Gedminas committed -
Marius Gedminas committed
-
Marius Gedminas committed
-
Marius Gedminas committed
-
You cannot call bytes(obj) to get a simple representation of obj on Python 3! E.g. bytes(42) returns a byte string with 42 NUL characters instead of b'42'.
Marius Gedminas committed -
types.NoneType was removed in Python 3. None is a singleton in Python, so 'x is None' is equivalent to 'isinstance(x, NoneType)'.
Marius Gedminas committed -
I neglected the __future__ import because print(one_thing) works the same way even when print is a statement.
Marius Gedminas committed -
Python has had automatic int-to-long promotion for a long long time now. Even Python 2.4 does that automatically. Python 3 drops support for the L suffix altogether.
Marius Gedminas committed -
This syntax is valid in Python 2.6+ and 3.x.
Marius Gedminas committed -
It's not allowed in Python 3 and merely a bad idea in Python 2.
Marius Gedminas committed -
This syntax works on Python 2.6 through 3.x. lib/ansible/module_utils (and lib/ansible/modules) need to support Python 2.4, so I didn't touch those.
Marius Gedminas committed
-