version 0.17.6
MODIFY
.gitignore
.gitignore
@@ -13,3 +13,4 @@ venv
.idea
*.pyc
.cache/
+.pytest_cache/

MODIFY
ChangeLog
ChangeLog
+2018-02-01 version 0.17.6
+* Improvements to write union using tuple (@Artimi in PR #153)
+
2018-01-24 version 0.17.5
* Fix some exceptions when running the main module (@scottbelden in PR #149)

MODIFY
fastavro/__init__.py
fastavro/__init__.py
@@ -43,7 +43,7 @@ The only onterface function is iter_avro, example usage::
writer(out, schema, records)
'''
-__version_info__ = (0, 17, 5)
+__version_info__ = (0, 17, 6)
__version__ = '%s.%s.%s' % __version_info__

MODIFY
fastavro/_write.pyx
fastavro/_write.pyx
@@ -502,7 +502,7 @@ cpdef write_union(bytearray fo, datum, schema):
cdef int32 most_fields
cdef int32 index
cdef int32 fields
- cdef str schema_name = None
+ cdef str schema_name
if isinstance(datum, tuple):
(name, datum) = datum
for index, candidate in enumerate(schema):

version 0.17.6