You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use of pyyaml's !!python/object tags to create arbitrary Python objects isn't working. I'm raising this as a bug because it should work, but I'm not sure it's necessarily something we want to support.
Steps to Reproduce
Add a context item like !!python/object:django.forms.fields.CharField, and you get an error like this:
Exception Type: ConstructorError at /pattern-library/pattern/patterns/organisms/form/feedback-form.html
Exception Value: could not determine a constructor for the tag 'tag:yaml.org,2002:python/object:django.forms.fields.CharField'
in "<unicode string>", line 3, column 5:
!!python/object:django.forms.fie ...
^
This seems to be related to the use of yaml.FullLoader and our version of pyyaml somehow (ref yaml/pyyaml#266)
The text was updated successfully, but these errors were encountered:
Issue Summary
Use of
pyyaml
's!!python/object
tags to create arbitrary Python objects isn't working. I'm raising this as a bug because it should work, but I'm not sure it's necessarily something we want to support.Steps to Reproduce
Add a context item like
!!python/object:django.forms.fields.CharField
, and you get an error like this:This seems to be related to the use of
yaml.FullLoader
and our version ofpyyaml
somehow (ref yaml/pyyaml#266)The text was updated successfully, but these errors were encountered: