This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.smith
Recipients SDesch, eric.smith
Date 2021-11-03.16:12:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1635955973.29.0.68480917894.issue45704@roundup.psfhosted.org>
In-reply-to
Content
> Side note: It's a somewhat weird that `.get_field` expects a string while `.get_value` expects an int for positional arguments.

.parse is just concerned with parsing, so it works on and returns strings. .get_field takes strings because it is the thing that's trying to determine whether or not a field name looks like an integer or not. At least that's how I remember it.
History
Date User Action Args
2021-11-03 16:12:53eric.smithsetrecipients: + eric.smith, SDesch
2021-11-03 16:12:53eric.smithsetmessageid: <1635955973.29.0.68480917894.issue45704@roundup.psfhosted.org>
2021-11-03 16:12:53eric.smithlinkissue45704 messages
2021-11-03 16:12:53eric.smithcreate