Skip to content

Instantly share code, notes, and snippets.

@markpeek
Created July 22, 2017 20:18
Show Gist options
  • Save markpeek/c5b6cb71820d3d19098eaca0e2b9d8f2 to your computer and use it in GitHub Desktop.
Save markpeek/c5b6cb71820d3d19098eaca0e2b9d8f2 to your computer and use it in GitHub Desktop.
PyYAML .egg issue with cfn_flip
% virtualenv venv
New python executable in /Users/mark/github/awslabs/eggissue/venv/bin/python2.7
Also creating executable in /Users/mark/github/awslabs/eggissue/venv/bin/python
Installing setuptools, pip, wheel...done.
% source venv/bin/activate
(venv) % git clone https://github.com/awslabs/aws-cfn-template-flip.git
Cloning into 'aws-cfn-template-flip'...
remote: Counting objects: 202, done.
remote: Compressing objects: 100% (29/29), done.
remote: Total 202 (delta 18), reused 32 (delta 12), pack-reused 160
Receiving objects: 100% (202/202), 116.05 KiB | 0 bytes/s, done.
Resolving deltas: 100% (102/102), done.
(venv) % cd aws-cfn-template-flip/
(venv) % touch tests/__init__.py
(venv) % vi setup.py
(venv) % python setup.py test
running test
Searching for six
Reading https://pypi.python.org/simple/six/
Downloading https://pypi.python.org/packages/b3/b2/238e2590826bfdd113244a40d9d3eb26918bd798fc187e2360a8367068db/six-1.10.0.tar.gz#md5=34eed507548117b2ab523ab14b2f8b55
Best match: six 1.10.0
Processing six-1.10.0.tar.gz
Writing /var/folders/mg/ts8kbcs13f9_66gx027lmbpr0000gn/T/easy_install-vT3QSv/six-1.10.0/setup.cfg
Running six-1.10.0/setup.py -q bdist_egg --dist-dir /var/folders/mg/ts8kbcs13f9_66gx027lmbpr0000gn/T/easy_install-vT3QSv/six-1.10.0/egg-dist-tmp-felLVv
no previously-included directories found matching 'documentation/_build'
zip_safe flag not set; analyzing archive contents...
six: module references __path__
creating /Users/mark/github/awslabs/eggissue/aws-cfn-template-flip/.eggs/six-1.10.0-py2.7.egg
Extracting six-1.10.0-py2.7.egg to /Users/mark/github/awslabs/eggissue/aws-cfn-template-flip/.eggs
Installed /Users/mark/github/awslabs/eggissue/aws-cfn-template-flip/.eggs/six-1.10.0-py2.7.egg
Searching for PyYAML
Reading https://pypi.python.org/simple/PyYAML/
Downloading https://pypi.python.org/packages/6b/f0/a0250248ea260d55748fff586d89a32afbb22656f4498b08d2636a48d4ec/PyYAML-3.12.zip#md5=aa5e762e79b19bb80dbcf04f82178832
Best match: PyYAML 3.12
Processing PyYAML-3.12.zip
Writing /var/folders/mg/ts8kbcs13f9_66gx027lmbpr0000gn/T/easy_install-4b3_zr/PyYAML-3.12/setup.cfg
Running PyYAML-3.12/setup.py -q bdist_egg --dist-dir /var/folders/mg/ts8kbcs13f9_66gx027lmbpr0000gn/T/easy_install-4b3_zr/PyYAML-3.12/egg-dist-tmp-ICS3Pp
In file included from ext/_yaml.c:271:
ext/_yaml.h:6:9: warning: 'PyUnicode_FromString' macro redefined
[-Wmacro-redefined]
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^
/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:194:10: note:
previous definition is here
# define PyUnicode_FromString PyUnicodeUCS2_FromString
^
ext/_yaml.c:1410:17: warning: assigning to 'char *' from 'const char *' discards
qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
__pyx_v_value = yaml_get_version_string();
^ ~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:2577:52: warning: incompatible pointer types passing 'int (void *,
char *, size_t, size_t *)' (aka 'int (void *, char *, unsigned long,
unsigned long *)') to parameter of type 'yaml_read_handler_t *' (aka 'int
(*)(void *, unsigned char *, unsigned long, unsigned long *)')
[-Wincompatible-pointer-types]
...__pyx_f_5_yaml_input_handler, ((void *)__pyx_v_self));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/yaml.h:1368:30: note: passing argument to parameter 'handler'
here
yaml_read_handler_t *handler, void *data);
^
ext/_yaml.c:2818:59: warning: passing 'char [1]' to parameter of type
'const unsigned char *' converts between pointers to integer types with
different sign [-Wpointer-sign]
...PyString_AS_STRING(__pyx_v_stream), PyString_GET_SIZE(__pyx_v_stream));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/include/python2.7/stringobject.h:91:32: note:
expanded from macro 'PyString_AS_STRING'
#define PyString_AS_STRING(op) (((PyStringObject *)(op))->ob_sval)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/yaml.h:1342:30: note: passing argument to parameter 'input'
here
const unsigned char *input, size_t size);
^
ext/_yaml.c:4572:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to
parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
...= PyUnicode_FromString(__pyx_v_token->data.tag_directive.handle); if (un...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t strlen(const char *);
^
ext/_yaml.c:4572:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to
parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
...= PyUnicode_FromString(__pyx_v_token->data.tag_directive.handle); if (un...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^~~
/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:751:17: note:
passing argument to parameter 'string' here
const char *string, /* UTF-8 encoded string */
^
ext/_yaml.c:4584:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to
parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
...= PyUnicode_FromString(__pyx_v_token->data.tag_directive.prefix); if (un...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t strlen(const char *);
^
ext/_yaml.c:4584:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to
parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
...= PyUnicode_FromString(__pyx_v_token->data.tag_directive.prefix); if (un...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^~~
/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:751:17: note:
passing argument to parameter 'string' here
const char *string, /* UTF-8 encoded string */
^
ext/_yaml.c:5444:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to
parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
__pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.alias.value); i...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t strlen(const char *);
^
ext/_yaml.c:5444:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to
parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
__pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.alias.value); i...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^~~
/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:751:17: note:
passing argument to parameter 'string' here
const char *string, /* UTF-8 encoded string */
^
ext/_yaml.c:5518:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to
parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
__pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.anchor.value); if (...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t strlen(const char *);
^
ext/_yaml.c:5518:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to
parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
__pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.anchor.value); if (...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^~~
/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:751:17: note:
passing argument to parameter 'string' here
const char *string, /* UTF-8 encoded string */
^
ext/_yaml.c:5592:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to
parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
__pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag.handle); i...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t strlen(const char *);
^
ext/_yaml.c:5592:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to
parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
__pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag.handle); i...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^~~
/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:751:17: note:
passing argument to parameter 'string' here
const char *string, /* UTF-8 encoded string */
^
ext/_yaml.c:5604:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to
parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
__pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag.suffix); i...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t strlen(const char *);
^
ext/_yaml.c:5604:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to
parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
__pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag.suffix); i...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^~~
/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:751:17: note:
passing argument to parameter 'string' here
const char *string, /* UTF-8 encoded string */
^
ext/_yaml.c:5716:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to
parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
__pyx_t_2 = PyUnicode_DecodeUTF8(__pyx_v_token->data.scalar.value, __pyx...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:751:17: note:
passing argument to parameter 'string' here
const char *string, /* UTF-8 encoded string */
^
ext/_yaml.c:7424:42: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to
parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
__pyx_t_4 = PyUnicode_FromString(__pyx_v_tag_directive->handle); if (unl...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t strlen(const char *);
^
ext/_yaml.c:7424:21: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to
parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
__pyx_t_4 = PyUnicode_FromString(__pyx_v_tag_directive->handle); if (unl...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^~~
/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:751:17: note:
passing argument to parameter 'string' here
const char *string, /* UTF-8 encoded string */
^
ext/_yaml.c:7436:42: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to
parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
__pyx_t_4 = PyUnicode_FromString(__pyx_v_tag_directive->prefix); if (unl...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t strlen(const char *);
^
ext/_yaml.c:7436:21: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to
parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
__pyx_t_4 = PyUnicode_FromString(__pyx_v_tag_directive->prefix); if (unl...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^~~
/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:751:17: note:
passing argument to parameter 'string' here
const char *string, /* UTF-8 encoded string */
^
ext/_yaml.c:7655:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to
parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
__pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.alias.anchor); if (...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t strlen(const char *);
^
ext/_yaml.c:7655:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to
parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
__pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.alias.anchor); if (...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^~~
/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:751:17: note:
passing argument to parameter 'string' here
const char *string, /* UTF-8 encoded string */
^
ext/_yaml.c:7749:40: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to
parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
__pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.scalar.anchor); if ...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t strlen(const char *);
^
ext/_yaml.c:7749:19: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to
parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
__pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.scalar.anchor); if ...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^~~
/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:751:17: note:
passing argument to parameter 'string' here
const char *string, /* UTF-8 encoded string */
^
ext/_yaml.c:7790:40: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to
parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
__pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.scalar.tag); if (un...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t strlen(const char *);
^
ext/_yaml.c:7790:19: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to
parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
__pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.scalar.tag); if (un...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^~~
/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:751:17: note:
passing argument to parameter 'string' here
const char *string, /* UTF-8 encoded string */
^
ext/_yaml.c:7811:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to
parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
__pyx_t_4 = PyUnicode_DecodeUTF8(__pyx_v_event->data.scalar.value, __pyx...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:751:17: note:
passing argument to parameter 'string' here
const char *string, /* UTF-8 encoded string */
^
ext/_yaml.c:8179:40: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to
parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
...= PyUnicode_FromString(__pyx_v_event->data.sequence_start.anchor); if (u...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t strlen(const char *);
^
ext/_yaml.c:8179:19: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to
parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
...= PyUnicode_FromString(__pyx_v_event->data.sequence_start.anchor); if (u...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^~~
/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:751:17: note:
passing argument to parameter 'string' here
const char *string, /* UTF-8 encoded string */
^
ext/_yaml.c:8220:40: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to
parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
...= PyUnicode_FromString(__pyx_v_event->data.sequence_start.tag); if (unli...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t strlen(const char *);
^
ext/_yaml.c:8220:19: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to
parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
...= PyUnicode_FromString(__pyx_v_event->data.sequence_start.tag); if (unli...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^~~
/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:751:17: note:
passing argument to parameter 'string' here
const char *string, /* UTF-8 encoded string */
^
ext/_yaml.c:8449:40: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to
parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
...= PyUnicode_FromString(__pyx_v_event->data.mapping_start.anchor); if (un...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t strlen(const char *);
^
ext/_yaml.c:8449:19: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to
parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
...= PyUnicode_FromString(__pyx_v_event->data.mapping_start.anchor); if (un...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^~~
/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:751:17: note:
passing argument to parameter 'string' here
const char *string, /* UTF-8 encoded string */
^
ext/_yaml.c:8490:40: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to
parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
...= PyUnicode_FromString(__pyx_v_event->data.mapping_start.tag); if (unlik...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t strlen(const char *);
^
ext/_yaml.c:8490:19: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to
parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
...= PyUnicode_FromString(__pyx_v_event->data.mapping_start.tag); if (unlik...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^~~
/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:751:17: note:
passing argument to parameter 'string' here
const char *string, /* UTF-8 encoded string */
^
ext/_yaml.c:10094:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *')
to parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
...= PyUnicode_FromString(__pyx_v_self->parsed_event.data.alias.anchor); i...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t strlen(const char *);
^
ext/_yaml.c:10094:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *')
to parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
...= PyUnicode_FromString(__pyx_v_self->parsed_event.data.alias.anchor); i...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^~~
/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:751:17: note:
passing argument to parameter 'string' here
const char *string, /* UTF-8 encoded string */
^
ext/_yaml.c:10378:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *')
to parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
...= PyUnicode_FromString(__pyx_v_self->parsed_event.data.scalar.anchor); i...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t strlen(const char *);
^
ext/_yaml.c:10378:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *')
to parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
...= PyUnicode_FromString(__pyx_v_self->parsed_event.data.scalar.anchor); i...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^~~
/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:751:17: note:
passing argument to parameter 'string' here
const char *string, /* UTF-8 encoded string */
^
ext/_yaml.c:10434:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *')
to parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
...__pyx_v_self->parsed_event.data.sequence_start.anchor); if (unlikely(!__...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t strlen(const char *);
^
ext/_yaml.c:10434:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *')
to parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
...PyUnicode_FromString(__pyx_v_self->parsed_event.data.sequence_start.anchor)...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^~~
/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:751:17: note:
passing argument to parameter 'string' here
const char *string, /* UTF-8 encoded string */
^
ext/_yaml.c:10490:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *')
to parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
...__pyx_v_self->parsed_event.data.mapping_start.anchor); if (unlikely(!__p...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t strlen(const char *);
^
ext/_yaml.c:10490:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *')
to parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
...PyUnicode_FromString(__pyx_v_self->parsed_event.data.mapping_start.anchor)...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^~~
/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:751:17: note:
passing argument to parameter 'string' here
const char *string, /* UTF-8 encoded string */
^
ext/_yaml.c:11109:36: warning: passing 'yaml_char_t *' (aka 'unsigned char *')
to parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
...= PyUnicode_DecodeUTF8(__pyx_v_self->parsed_event.data.scalar.value, __p...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:751:17: note:
passing argument to parameter 'string' here
const char *string, /* UTF-8 encoded string */
^
ext/_yaml.c:11310:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *')
to parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
...= PyUnicode_FromString(__pyx_v_self->parsed_event.data.scalar.tag); if (...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t strlen(const char *);
^
ext/_yaml.c:11310:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *')
to parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
...= PyUnicode_FromString(__pyx_v_self->parsed_event.data.scalar.tag); if (...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^~~
/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:751:17: note:
passing argument to parameter 'string' here
const char *string, /* UTF-8 encoded string */
^
ext/_yaml.c:11841:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *')
to parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
...PyUnicode_FromString(__pyx_v_self->parsed_event.data.sequence_start.tag)...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t strlen(const char *);
^
ext/_yaml.c:11841:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *')
to parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
...PyUnicode_FromString(__pyx_v_self->parsed_event.data.sequence_start.tag)...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^~~
/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:751:17: note:
passing argument to parameter 'string' here
const char *string, /* UTF-8 encoded string */
^
ext/_yaml.c:12435:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *')
to parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
...PyUnicode_FromString(__pyx_v_self->parsed_event.data.mapping_start.tag)...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:66: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t strlen(const char *);
^
ext/_yaml.c:12435:17: warning: passing 'yaml_char_t *' (aka 'unsigned char *')
to parameter of type 'const char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
...PyUnicode_FromString(__pyx_v_self->parsed_event.data.mapping_start.tag)...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:6:54: note: expanded from macro 'PyUnicode_FromString'
#define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
^~~
/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:751:17: note:
passing argument to parameter 'string' here
const char *string, /* UTF-8 encoded string */
^
ext/_yaml.c:13630:53: warning: incompatible pointer types passing 'int
(void *, char *, size_t)' (aka 'int (void *, char *, unsigned long)') to
parameter of type 'yaml_write_handler_t *' (aka 'int (*)(void *, unsigned
char *, unsigned long)') [-Wincompatible-pointer-types]
...__pyx_f_5_yaml_output_handler, ((void *)__pyx_v_self));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/yaml.h:1830:31: note: passing argument to parameter 'handler'
here
yaml_write_handler_t *handler, void *data);
^
ext/_yaml.c:15002:44: warning: assigning to 'yaml_char_t *'
(aka 'unsigned char *') from 'char [1]' converts between pointers to
integer types with different sign [-Wpointer-sign]
__pyx_v_tag_directives_end->handle = PyString_AS_STRING(__pyx_v_handle);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:15117:44: warning: assigning to 'yaml_char_t *'
(aka 'unsigned char *') from 'char [1]' converts between pointers to
integer types with different sign [-Wpointer-sign]
__pyx_v_tag_directives_end->prefix = PyString_AS_STRING(__pyx_v_prefix);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:15454:62: warning: passing 'char *' to parameter of type
'yaml_char_t *' (aka 'unsigned char *') converts between pointers to
integer types with different sign [-Wpointer-sign]
...= ((yaml_alias_event_initialize(__pyx_v_event, __pyx_v_anchor) == 0) != 0);
^~~~~~~~~~~~~~
/usr/local/include/yaml.h:553:63: note: passing argument to parameter 'anchor'
here
yaml_alias_event_initialize(yaml_event_t *event, yaml_char_t *anchor);
^
ext/_yaml.c:16169:63: warning: passing 'char *' to parameter of type
'yaml_char_t *' (aka 'unsigned char *') converts between pointers to
integer types with different sign [-Wpointer-sign]
...= ((yaml_scalar_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_...
^~~~~~~~~~~~~~
/usr/local/include/yaml.h:579:22: note: passing argument to parameter 'anchor'
here
yaml_char_t *anchor, yaml_char_t *tag,
^
ext/_yaml.c:16169:79: warning: passing 'char *' to parameter of type
'yaml_char_t *' (aka 'unsigned char *') converts between pointers to
integer types with different sign [-Wpointer-sign]
...__pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plai...
^~~~~~~~~~~
/usr/local/include/yaml.h:579:43: note: passing argument to parameter 'tag' here
yaml_char_t *anchor, yaml_char_t *tag,
^
ext/_yaml.c:16169:92: warning: passing 'char *' to parameter of type
'yaml_char_t *' (aka 'unsigned char *') converts between pointers to
integer types with different sign [-Wpointer-sign]
...__pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plai...
^~~~~~~~~~~~~
/usr/local/include/yaml.h:580:22: note: passing argument to parameter 'value'
here
yaml_char_t *value, int length,
^
ext/_yaml.c:16603:71: warning: passing 'char *' to parameter of type
'yaml_char_t *' (aka 'unsigned char *') converts between pointers to
integer types with different sign [-Wpointer-sign]
...= ((yaml_sequence_start_event_initialize(__pyx_v_event, __pyx_v_anchor, ...
^~~~~~~~~~~~~~
/usr/local/include/yaml.h:602:22: note: passing argument to parameter 'anchor'
here
yaml_char_t *anchor, yaml_char_t *tag, int implicit,
^
ext/_yaml.c:16603:87: warning: passing 'char *' to parameter of type
'yaml_char_t *' (aka 'unsigned char *') converts between pointers to
integer types with different sign [-Wpointer-sign]
...__pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_sequence_style) =...
^~~~~~~~~~~
/usr/local/include/yaml.h:602:43: note: passing argument to parameter 'tag' here
yaml_char_t *anchor, yaml_char_t *tag, int implicit,
^
ext/_yaml.c:17037:70: warning: passing 'char *' to parameter of type
'yaml_char_t *' (aka 'unsigned char *') converts between pointers to
integer types with different sign [-Wpointer-sign]
...= ((yaml_mapping_start_event_initialize(__pyx_v_event, __pyx_v_anchor, _...
^~~~~~~~~~~~~~
/usr/local/include/yaml.h:634:22: note: passing argument to parameter 'anchor'
here
yaml_char_t *anchor, yaml_char_t *tag, int implicit,
^
ext/_yaml.c:17037:86: warning: passing 'char *' to parameter of type
'yaml_char_t *' (aka 'unsigned char *') converts between pointers to
integer types with different sign [-Wpointer-sign]
...__pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_mapping_style) =...
^~~~~~~~~~~
/usr/local/include/yaml.h:634:43: note: passing argument to parameter 'tag' here
yaml_char_t *anchor, yaml_char_t *tag, int implicit,
^
ext/_yaml.c:18516:42: warning: assigning to 'yaml_char_t *'
(aka 'unsigned char *') from 'char [1]' converts between pointers to
integer types with different sign [-Wpointer-sign]
__pyx_v_tag_directives_end->handle = PyString_AS_STRING(__pyx_v_handle);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:18631:42: warning: assigning to 'yaml_char_t *'
(aka 'unsigned char *') from 'char [1]' converts between pointers to
integer types with different sign [-Wpointer-sign]
__pyx_v_tag_directives_end->prefix = PyString_AS_STRING(__pyx_v_prefix);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:19491:65: warning: passing 'char *' to parameter of type
'yaml_char_t *' (aka 'unsigned char *') converts between pointers to
integer types with different sign [-Wpointer-sign]
...= ((yaml_alias_event_initialize((&__pyx_v_event), __pyx_v_anchor) == 0) ...
^~~~~~~~~~~~~~
/usr/local/include/yaml.h:553:63: note: passing argument to parameter 'anchor'
here
yaml_alias_event_initialize(yaml_event_t *event, yaml_char_t *anchor);
^
ext/_yaml.c:20240:68: warning: passing 'char *' to parameter of type
'yaml_char_t *' (aka 'unsigned char *') converts between pointers to
integer types with different sign [-Wpointer-sign]
...= ((yaml_scalar_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx...
^~~~~~~~~~~~~~
/usr/local/include/yaml.h:579:22: note: passing argument to parameter 'anchor'
here
yaml_char_t *anchor, yaml_char_t *tag,
^
ext/_yaml.c:20240:84: warning: passing 'char *' to parameter of type
'yaml_char_t *' (aka 'unsigned char *') converts between pointers to
integer types with different sign [-Wpointer-sign]
...__pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plai...
^~~~~~~~~~~
/usr/local/include/yaml.h:579:43: note: passing argument to parameter 'tag' here
yaml_char_t *anchor, yaml_char_t *tag,
^
ext/_yaml.c:20240:97: warning: passing 'char *' to parameter of type
'yaml_char_t *' (aka 'unsigned char *') converts between pointers to
integer types with different sign [-Wpointer-sign]
...__pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plai...
^~~~~~~~~~~~~
/usr/local/include/yaml.h:580:22: note: passing argument to parameter 'value'
here
yaml_char_t *value, int length,
^
ext/_yaml.c:20605:76: warning: passing 'char *' to parameter of type
'yaml_char_t *' (aka 'unsigned char *') converts between pointers to
integer types with different sign [-Wpointer-sign]
...((yaml_sequence_start_event_initialize((&__pyx_v_event), __pyx_v_anchor...
^~~~~~~~~~~~~~
/usr/local/include/yaml.h:602:22: note: passing argument to parameter 'anchor'
here
yaml_char_t *anchor, yaml_char_t *tag, int implicit,
^
ext/_yaml.c:20605:92: warning: passing 'char *' to parameter of type
'yaml_char_t *' (aka 'unsigned char *') converts between pointers to
integer types with different sign [-Wpointer-sign]
...__pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_sequence_style) =...
^~~~~~~~~~~
/usr/local/include/yaml.h:602:43: note: passing argument to parameter 'tag' here
yaml_char_t *anchor, yaml_char_t *tag, int implicit,
^
ext/_yaml.c:21113:75: warning: passing 'char *' to parameter of type
'yaml_char_t *' (aka 'unsigned char *') converts between pointers to
integer types with different sign [-Wpointer-sign]
...((yaml_mapping_start_event_initialize((&__pyx_v_event), __pyx_v_anchor, ...
^~~~~~~~~~~~~~
/usr/local/include/yaml.h:634:22: note: passing argument to parameter 'anchor'
here
yaml_char_t *anchor, yaml_char_t *tag, int implicit,
^
ext/_yaml.c:21113:91: warning: passing 'char *' to parameter of type
'yaml_char_t *' (aka 'unsigned char *') converts between pointers to
integer types with different sign [-Wpointer-sign]
...__pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_mapping_style) =...
^~~~~~~~~~~
/usr/local/include/yaml.h:634:43: note: passing argument to parameter 'tag' here
yaml_char_t *anchor, yaml_char_t *tag, int implicit,
^
ext/_yaml.c:25616:28: warning: unused function '__Pyx_PyObject_AsString'
[-Wunused-function]
static CYTHON_INLINE char* __Pyx_PyObject_AsString(PyObject* o) {
^
ext/_yaml.c:25613:32: warning: unused function '__Pyx_PyUnicode_FromString'
[-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char* c_str) {
^
ext/_yaml.c:358:29: warning: unused function '__Pyx_Py_UNICODE_strlen'
[-Wunused-function]
static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u)
^
ext/_yaml.c:25728:33: warning: unused function '__Pyx_PyIndex_AsSsize_t'
[-Wunused-function]
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) {
^
ext/_yaml.c:24269:27: warning: unused function '__Pyx_ErrFetchInState'
[-Wunused-function]
static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, P...
^
ext/_yaml.c:24734:32: warning: unused function '__Pyx_GetItemInt_List_Fast'
[-Wunused-function]
static CYTHON_INLINE PyObject *__Pyx_GetItemInt_List_Fast(PyObject *o, P...
^
ext/_yaml.c:24749:32: warning: unused function '__Pyx_GetItemInt_Tuple_Fast'
[-Wunused-function]
static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Tuple_Fast(PyObject *o, ...
^
ext/_yaml.c:25382:37: warning: function '__Pyx_PyInt_As_long' is not needed and
will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) {
^
80 warnings generated.
zip_safe flag not set; analyzing archive contents...
Copying PyYAML-3.12-py2.7-macosx-10.11-x86_64.egg to /Users/mark/github/awslabs/eggissue/aws-cfn-template-flip/.eggs
Installed /Users/mark/github/awslabs/eggissue/aws-cfn-template-flip/.eggs/PyYAML-3.12-py2.7-macosx-10.11-x86_64.egg
running egg_info
creating cfn_flip.egg-info
writing requirements to cfn_flip.egg-info/requires.txt
writing cfn_flip.egg-info/PKG-INFO
writing top-level names to cfn_flip.egg-info/top_level.txt
writing dependency_links to cfn_flip.egg-info/dependency_links.txt
writing entry points to cfn_flip.egg-info/entry_points.txt
writing manifest file 'cfn_flip.egg-info/SOURCES.txt'
reading manifest file 'cfn_flip.egg-info/SOURCES.txt'
writing manifest file 'cfn_flip.egg-info/SOURCES.txt'
running build_ext
Traceback (most recent call last):
File "setup.py", line 29, in <module>
"console_scripts": ["cfn-flip=cfn_flip.main:main"],
File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/Users/mark/github/awslabs/eggissue/venv/lib/python2.7/site-packages/setuptools/command/test.py", line 211, in run
self.run_tests()
File "/Users/mark/github/awslabs/eggissue/venv/lib/python2.7/site-packages/setuptools/command/test.py", line 234, in run_tests
**exit_kwarg
File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/main.py", line 94, in __init__
self.parseArgs(argv)
File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/main.py", line 149, in parseArgs
self.createTests()
File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/main.py", line 158, in createTests
self.module)
File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 130, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 103, in loadTestsFromName
return self.loadTestsFromModule(obj)
File "/Users/mark/github/awslabs/eggissue/venv/lib/python2.7/site-packages/setuptools/command/test.py", line 43, in loadTestsFromModule
tests.append(self.loadTestsFromName(submodule))
File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 100, in loadTestsFromName
parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 'test_flip'
(venv) % unzip -d yamldir .eggs/PyYAML-3.12-py2.7-macosx-10.11-x86_64.egg
Archive: .eggs/PyYAML-3.12-py2.7-macosx-10.11-x86_64.egg
inflating: yamldir/_yaml.py
inflating: yamldir/_yaml.pyc
inflating: yamldir/_yaml.so
inflating: yamldir/EGG-INFO/dependency_links.txt
inflating: yamldir/EGG-INFO/native_libs.txt
inflating: yamldir/EGG-INFO/PKG-INFO
inflating: yamldir/EGG-INFO/SOURCES.txt
inflating: yamldir/EGG-INFO/top_level.txt
inflating: yamldir/EGG-INFO/zip-safe
inflating: yamldir/yaml/__init__.py
inflating: yamldir/yaml/__init__.pyc
inflating: yamldir/yaml/composer.py
inflating: yamldir/yaml/composer.pyc
inflating: yamldir/yaml/constructor.py
inflating: yamldir/yaml/constructor.pyc
inflating: yamldir/yaml/cyaml.py
inflating: yamldir/yaml/cyaml.pyc
inflating: yamldir/yaml/dumper.py
inflating: yamldir/yaml/dumper.pyc
inflating: yamldir/yaml/emitter.py
inflating: yamldir/yaml/emitter.pyc
inflating: yamldir/yaml/error.py
inflating: yamldir/yaml/error.pyc
inflating: yamldir/yaml/events.py
inflating: yamldir/yaml/events.pyc
inflating: yamldir/yaml/loader.py
inflating: yamldir/yaml/loader.pyc
inflating: yamldir/yaml/nodes.py
inflating: yamldir/yaml/nodes.pyc
inflating: yamldir/yaml/parser.py
inflating: yamldir/yaml/parser.pyc
inflating: yamldir/yaml/reader.py
inflating: yamldir/yaml/reader.pyc
inflating: yamldir/yaml/representer.py
inflating: yamldir/yaml/representer.pyc
inflating: yamldir/yaml/resolver.py
inflating: yamldir/yaml/resolver.pyc
inflating: yamldir/yaml/scanner.py
inflating: yamldir/yaml/scanner.pyc
inflating: yamldir/yaml/serializer.py
inflating: yamldir/yaml/serializer.pyc
inflating: yamldir/yaml/tokens.py
inflating: yamldir/yaml/tokens.pyc
(venv) % PYTHONPATH=yamldir python setup.py test
running test
Searching for six
Best match: six 1.10.0
Processing six-1.10.0-py2.7.egg
Using /Users/mark/github/awslabs/eggissue/aws-cfn-template-flip/.eggs/six-1.10.0-py2.7.egg
Searching for PyYAML
Best match: PyYAML 3.12
Processing PyYAML-3.12-py2.7-macosx-10.11-x86_64.egg
Using /Users/mark/github/awslabs/eggissue/aws-cfn-template-flip/.eggs/PyYAML-3.12-py2.7-macosx-10.11-x86_64.egg
running egg_info
writing requirements to cfn_flip.egg-info/requires.txt
writing cfn_flip.egg-info/PKG-INFO
writing top-level names to cfn_flip.egg-info/top_level.txt
writing dependency_links to cfn_flip.egg-info/dependency_links.txt
writing entry points to cfn_flip.egg-info/entry_points.txt
reading manifest file 'cfn_flip.egg-info/SOURCES.txt'
writing manifest file 'cfn_flip.egg-info/SOURCES.txt'
running build_ext
test_flip_to_clean_json (tests.test_flip.CfnFlipTestCase) ... ok
test_flip_to_clean_yaml (tests.test_flip.CfnFlipTestCase) ... ok
test_flip_to_json (tests.test_flip.CfnFlipTestCase) ... ok
test_flip_to_json_with_condition (tests.test_flip.CfnFlipTestCase) ... ok
test_flip_to_json_with_datetimes (tests.test_flip.CfnFlipTestCase) ... ok
test_flip_to_yaml (tests.test_flip.CfnFlipTestCase) ... ok
test_flip_to_yaml_with_clean_getatt (tests.test_flip.CfnFlipTestCase) ... ok
test_flip_with_bad_data (tests.test_flip.CfnFlipTestCase) ... ok
test_getatt_from_yaml (tests.test_flip.CfnFlipTestCase) ... ok
test_to_json_with_json (tests.test_flip.CfnFlipTestCase) ... ok
test_to_json_with_yaml (tests.test_flip.CfnFlipTestCase) ... ok
test_to_yaml_with_json (tests.test_flip.CfnFlipTestCase) ... ok
test_to_yaml_with_yaml (tests.test_flip.CfnFlipTestCase) ... ok
test_basic_case (tests.test_joins.ReplaceJoinTestCase) ... ok
test_get_att (tests.test_joins.ReplaceJoinTestCase) ... ok
test_in_array (tests.test_joins.ReplaceJoinTestCase) ... ok
test_others (tests.test_joins.ReplaceJoinTestCase) ... ok
test_ref (tests.test_joins.ReplaceJoinTestCase) ... ok
test_yaml_ordered_dict (tests.test_yaml_patching.YamlPatchTestCase) ... ok
----------------------------------------------------------------------
Ran 19 tests in 0.089s
OK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment