Michael A. Smith created AVRO-2893:
--------------------------------------

             Summary: 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


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)

Reply via email to