#5268: Remove Python specific types from YAML output (use safe_dump?)
---------------------------------+------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: jacob
Status: new | Component: Serialization
Version: SVN | Resolution:
Keywords: | Stage: Accepted
Has_patch: 1 | Needs_docs: 0
Needs_tests: 1 | Needs_better_patch: 1
---------------------------------+------------------------------------------
Changes (by russellm):
* needs_better_patch: 0 => 1
* summary: add yaml save_dump argument => Remove Python specific types
from YAML output (use safe_dump?)
* needs_tests: 0 => 1
* stage: Design decision needed => Accepted
Comment:
Ok. I'm -1 to adding a safe_dump argument to the serializer. However, I
agree that the output format is not pretty. I've changed the ticket title
to reflect the underlying problem.
It looks as if the YAML output has changed significantly since the unicode
branch was merged - this is the underlying problem that should be solved.
The solution may be to switch to using safe_dump all the time - I'll leave
that decision to whoever tackles this problem.
--
Ticket URL: <http://code.djangoproject.com/ticket/5268#comment:4>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---