You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Jeff Hammerbacher (JIRA)" <ji...@apache.org> on 2009/11/19 11:19:40 UTC

[jira] Updated: (AVRO-215) Add docstring indicating utility of "seen" parameter to __hash__ and __eq__ in schema.py and explore use of decorators for memoization

     [ https://issues.apache.org/jira/browse/AVRO-215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Hammerbacher updated AVRO-215:
-----------------------------------

    Summary: Add docstring indicating utility of "seen" parameter to __hash__ and __eq__ in schema.py and explore use of decorators for memoization  (was: Add docstring indicating utility of "seen" parameter to __hash__ and __eq__ in schema.py)

> Add docstring indicating utility of "seen" parameter to __hash__ and __eq__ in schema.py and explore use of decorators for memoization
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AVRO-215
>                 URL: https://issues.apache.org/jira/browse/AVRO-215
>             Project: Avro
>          Issue Type: Improvement
>          Components: python
>            Reporter: Jeff Hammerbacher
>
> As pointed out by Doug on the mailing list, the point of the "seen" parameter is to "contain the set of schemas that are on the stack.  Schemas can be circular, so this is required to prevent infinite loops."

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.