Commit graph

13 commits

Author SHA1 Message Date
Kirill Simonov
ab8d940469 Share data files between Py2 and Py3 test suites. 2008-12-29 19:05:11 +00:00
Kirill Simonov
8e88d11b41 Minor 2.3 and win32 compatibility fixes; clarify the 'feature not found' message in setup.py. 2008-12-28 21:42:35 +00:00
Kirill Simonov
aff84ff195 Refactored the test suite; updated include and library paths in setup.cfg. 2008-12-28 20:16:50 +00:00
Kirill Simonov
ed79023a71 Fix loss of microsecond precision in datetime.datetime constructor (fix #30).
Thanks to edemaine@mit.edu for the bug report and the patch.
2006-10-04 07:42:50 +00:00
Kirill Simonov
29413ea88e Fix timestamp constructing and representing (close #25). 2006-08-16 18:22:38 +00:00
Kirill Simonov
8b083c6a96 Subclass all base classes from object.
Hold references to the objects being represented (should fix #22).

The value of a mapping node is represented as a list of pairs `(key, value)`
now.

Sort dictionary items (fix #23).

Recursive structures are now loaded and dumped correctly, including complex
structures like recursive tuples (fix #5). Thanks Peter Murphy for the patches.
To make it possible, representer functions are allowed to be generators.
In this case, the first generated value is an object. Other values produced
by the representer are ignored.

Make Representer not try to guess `!!pairs` when a list is represented.
You need to construct a `!!pairs` node explicitly now.

Do not check for duplicate mapping keys as it didn't work correctly anyway.
2006-08-03 16:07:29 +00:00
Kirill Simonov
500659ddd6 Revamp the inf/nan handling again. 2006-05-22 19:49:54 +00:00
Kirill Simonov
410d822bd5 Prepare setup.py for release. Fix #7. 2006-04-23 18:07:52 +00:00
Kirill Simonov
c87ce16706 Add support for pickling/unpickling python objects. 2006-04-22 20:40:43 +00:00
Kirill Simonov
cce15169da Fix !!python/name for Python 2.3. Clear the yaml module namespace. 2006-04-21 17:31:29 +00:00
Kirill Simonov
89cc4e3e4f Add more unit tests. 2006-04-18 19:33:30 +00:00
Kirill Simonov
6a97abb4c7 Major refactoring. 2006-04-15 23:54:52 +00:00
Kirill Simonov
4c570faa8b Move pyyaml3000 to a separate directory. 2006-03-04 22:43:48 +00:00