Closed suever closed 9 years ago
From darcymason@gmail.com on November 26, 2009 20:53:32
just needs explicit "arg2 is None" check rather than boolean "if arg2" (but should also have unit test added).
Status: Accepted
Labels: -Difficulty-Medium Difficulty-Easy
From darcymason@gmail.com on December 21, 2009 19:55:23
This issue was closed by revision 8acf5e867e .
Status: Fixed
Mergedinto: -
From tentacle...@googlemail.com on November 24, 2009 16:52:15
What steps will reproduce the problem? 1. new_tag = dicom.tag.Tag(0x0002, 0x0000)
The test for the second argument in the constructor of Tag will return false if the second argument is zero. The tag then becomes a 4-byte integer with the group value in the least significant bytes.
Obviously this isn't a problem if Tag is always constructed using tuples.
Original issue: http://code.google.com/p/pydicom/issues/detail?id=64