[
https://issues.apache.org/jira/browse/AVRO-2893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17178366#comment-17178366
]
Hudson commented on AVRO-2893:
------------------------------
SUCCESS: Integrated in Jenkins build AvroJava #920 (See
[https://builds.apache.org/job/AvroJava/920/])
AVRO-2893: Isolate Errors to Simplify Import Graph (#933) (github:
[https://github.com/apache/avro/commit/d5e35e8afaee0566cd85c748ffbff3841be2bd20])
* (edit) lang/py/avro/test/test_io.py
* (edit) lang/py/avro/test/test_datafile.py
* (edit) lang/py/avro/tether/tether_task.py
* (edit) lang/py/avro/test/mock_tether_parent.py
* (edit) lang/py/avro/tether/tether_task_runner.py
* (edit) lang/py/avro/io.py
* (edit) lang/py/avro/test/txsample_http_client.py
* (edit) lang/py/scripts/avro
* (edit) lang/py/avro/ipc.py
* (edit) lang/py/avro/schema.py
* (edit) lang/py/avro/datafile.py
* (add) lang/py/avro/errors.py
* (edit) lang/py/avro/protocol.py
* (edit) lang/py/avro/test/test_schema.py
* (edit) lang/py/avro/test/test_protocol.py
* (edit) lang/py/avro/test/sample_http_client.py
* (edit) lang/py/avro/codecs.py
> Isolate Exception Classes to Simplify Import Graph
> --------------------------------------------------
>
> Key: AVRO-2893
> URL: https://issues.apache.org/jira/browse/AVRO-2893
> Project: Apache Avro
> Issue Type: Improvement
> Components: python
> Reporter: Michael A. Smith
> Assignee: Michael A. Smith
> Priority: Major
>
> Many of the python avro modules implement custom exceptions. Other modules
> import those exceptions. Since imports cannot be cyclic, this means you can't
> use, say, {{avro.schema.AvroException}} in {{avro.io}} and at the same time
> use {{avro.io.BinaryDecoder}} in {{avro.schema}}.
> I propose that exception classes should be moved into {{avro.errors}} and
> that that module should strictly not import anything else from {{avro.*}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)