-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed lowercase inputs #22
Conversation
The code used to raise exception for lowercase inputs, when used roman.fromRoman('xvi') for example, it gave: Exception occured: Invalid Roman numeral: xvi I could fix this issue by adding lowercase entries to the maps and patterns, but this simple fix would also fix the issue, and not make the code more cluttered.
I have signed the Contributors Agreement for Zope. |
Sorry for the delay, it took a few days for the application to go through and then show you as "Member" here. Please merge your change. |
No worries, though It tells me "Only those with write access to this repository can merge pull requests." |
As Member you do have the required access. |
I was just informed that the contributor agreement admins have changed their policy and created an "in between" status for new contributors that does not include the privileges to directly write to the repositories. This is in response to a flood of low-quality contributions. I have decided to just merge this myself. |
As #22 moved the conversion to upper case into the conversion function, it is no longer necessary to convert it in the main function.
As #22 moved the conversion to upper case into the conversion function, it is no longer necessary to convert it in the main function.
The code used to raise exception for lowercase inputs, when used roman.fromRoman('xvi') for example, it gave:
Exception occured: Invalid Roman numeral: xvi
I could fix this issue by adding lowercase entries to the maps and patterns, but this simple fix would also fix the issue, and not make the code more cluttered.