Fix loss of microsecond precision in datetime.datetime constructor (fix #30).
commit30bb1a380c5d75b9c9dbc4e1b381405517480b70
authorxi <xi@18f92427-320e-0410-9341-c67f048884a3>
Wed, 4 Oct 2006 07:42:50 +0000 (4 07:42 +0000)
committerxi <xi@18f92427-320e-0410-9341-c67f048884a3>
Wed, 4 Oct 2006 07:42:50 +0000 (4 07:42 +0000)
tree90814f90994b2af5ee1db5ebf532c2d1a4657186
parent183e8d1d4abf5fe11e872fd8f5535002ce6ae37f
Fix loss of microsecond precision in datetime.datetime constructor (fix #30).
Thanks to edemaine@mit.edu for the bug report and the patch.

git-svn-id: http://svn.pyyaml.org/pyyaml/trunk@234 18f92427-320e-0410-9341-c67f048884a3
lib/yaml/constructor.py
tests/data/timestamp-bugs.code
tests/data/timestamp-bugs.data
tests/test_constructor.py
tests/test_representer.py