avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Hammerbacher (JIRA)" <j...@apache.org>
Subject [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
Date Thu, 19 Nov 2009 10:19:40 GMT

     [ 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.


Mime
View raw message