r1chardj0n3s / parse

Parse strings using a specification based on the Python format() syntax.
http://pypi.python.org/pypi/parse
MIT License
1.72k stars 101 forks source link

adding properties to access named fields and fixed fields #115

Closed martinResearch closed 4 years ago

martinResearch commented 4 years ago

Adding properties to access named fields and fixed fields. This aims at addressing this issue https://github.com/r1chardj0n3s/parse/issues/114

r1chardj0n3s commented 4 years ago

Looks good, thanks. I'll just document it as well before release.

wimglenn commented 5 months ago

This commit regressed Python 2.7, as I discovered in https://github.com/r1chardj0n3s/parse/pull/184

AttributeError: 'list' object has no attribute 'copy'

Fixed by https://github.com/r1chardj0n3s/parse/pull/184/commits/3698ea8b7d834543e82e02534cb279b2833bf8e1.