Skip to content

Conversation

jblumie
Copy link

@jblumie jblumie commented Sep 17, 2025

If such characters were present in the NIE to be checked a TypeError would be thrown:

TypeError: Unsupported operand types: string % int

Tried to find any evidence of these charatcters actually being allowed for Spanish NIE but no evidence of such a thing was found. If this were an error and they are in fact supported then proper handling of those inputs is advised.

Also, haven't found any tests for this, adding to the assumption this isn't intentional.

If such characters were present in the NIE to be checked a TypeError
would be thrown:

TypeError: Unsupported operand types: string % int

Tried to find any evidence of these charatcters actually being allowed
for Spanish NIE but no evidence of such a thing was found. If this were
an error and they are in fact supported then proper handling of those
inputs is advised.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant