package reportbug retitle 848692 reportbug fails with punctuation in name severity 848692 important kthxbye
This issue hit me as well, seeing as I use a middle initial, and therefore have a period in my realname field. I'm raising the severity to important, although I could argue based on one's inability to choose one's name, this could be grave. The issue is this code: if re.match(r'[\w\s]+$', realname): return '%s <%s>' % (realname, email) addr = email.utils.formataddr((realname, email)) We don't take the branch since “.” (and “'”, etc.) are not in [\w\s], and then we throw an exception as email is not the module imported at the top, but the local variable. As the original reporter and I discovered, omitting the punctuation from one's name makes things work, as the branch is then taken. -- brian m. carlson / brian with sandals: Houston, Texas, US +1 832 623 2791 | https://www.crustytoothpaste.net/~bmc | My opinion only OpenPGP: https://keybase.io/bk2204
signature.asc
Description: PGP signature