mirror of https://github.com/ansible/ansible.git
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.
b95e3d18a7
PyYAML has a SafeRepresenter in lib/... that defines def represent_unicode(self, data): return self.represent_scalar(u'tag:yaml.org,2002:str', data) and a different SafeRepresenter in lib3/... that defines def represent_str(self, data): return self.represent_scalar('tag:yaml.org,2002:str', data) so the right thing to do on Python 3 is to use represent_str. (AnsibleUnicode is a subclass of six.text_type, i.e. 'str' on Python 3.) |
9 years ago | |
---|---|---|
.. | ||
cli | 9 years ago | |
compat | 10 years ago | |
config | 10 years ago | |
errors | 10 years ago | |
executor | 9 years ago | |
galaxy | 9 years ago | |
inventory | 9 years ago | |
module_utils | 9 years ago | |
modules | 9 years ago | |
new_inventory | 10 years ago | |
parsing | 9 years ago | |
playbook | 9 years ago | |
plugins | 9 years ago | |
template | 9 years ago | |
utils | 9 years ago | |
vars | 9 years ago | |
__init__.py | 10 years ago | |
constants.py | 9 years ago | |
test-requirements.txt | 10 years ago |