lp:~anarchivist/pymarc/dev

Created by Mark Matienzo and last modified
Get this branch:
bzr branch lp:~anarchivist/pymarc/dev
Only Mark Matienzo can upload to this branch. If you are Mark Matienzo please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Mark Matienzo
Project:
pymarc
Status:
Development

Recent revisions

94. By Ed Summers <ed@curry>

added a note to Changes file

93. By Ed Summers <ed@curry>

added some more tests of alpha tag stuff

92. By Mark Matienzo

Upping version number and replacing test/alphatag.dat

91. By Mark Matienzo

Changes to Field and Record objects, with accompanying tests and test data to deal with non-numeric tags. The changes reflected are similar to how this was dealt with in ruby-marc.

- Modified Field.__init__() and Field.is_control_field() to assume that control fields are only numeric; added character type checking using Field.tag.isdigit() to make sure these comparisons were accurate.

- Modified Record.as_marc() do handle padding properly depending on whether the tag is fully numeric or not.

- Added new test to encode.py: test_encode_decode_alphatag(), and new test data, alphatag.dat.

90. By Ed Summers <ed@curry>

added encode('utf-8') to Record.as_marc and decode('utf-8') to Record.decode_marc so that users can get/set unicode objects instead of strings. This is important for calculating byte offsets correctly, as Ted noticed: https://lists.launchpad.net/pymarc-team/msg00007.html

89. By Ed Summers

upped version for release to pypi

88. By Ed Summers

added patch from mjgiarlo for including xml namespace in marcxml output

87. By Ed Summers

forgot to remove import for exception I removed

86. By Ed Summers

changed nahuel del_subfield to delete_subfield and have it return value deleted or None instead of throwing exception

85. By Ed Summers

patch from godmar to support strict handling of namespaces when reading marcxml

Branch metadata

Branch format:
Branch format 6
Repository format:
Bazaar pack repository format 1 (needs bzr 0.92)
This branch contains Public information 
Everyone can see this information.

Subscribers