jaraco/inflect

Multiple issues with code on pypi page

Open

#116 opened on Oct 9, 2020

 (2 comments) (0 reactions) (0 assignees)Python (125 forks)github user discovery
bugdocumentationhelp wanted

Repository metrics

Stars
 (1,082 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

I tried running the example code on the pypi page, but there were multiple errors. Aside from undefined variables, I found

  • p.gender('f') raises BadGenderError since 'f' isn't in singular_pronoun_genders
  • Something like print("There" + p.plural_verb("was", errors) + p.no(" error", errors)) prints There[3 SPACES]were[2 SPACES]6[1 SPACE]errors. There's too much whitespace. This happens for many of the functions
  • run/running or run/runner fail all 4 of the compare checks. Not sure if function is broken or that's just a missing case.
  • join() function can't be found at runtime (When installed via pip3) even though I can see it in the downloaded source code from the pypi website.

Contributor guide