jaraco / jaraco/inflect

Multiple issues with code on pypi page

Open
#116 2 comments 0 reactions 0 assignees View on GitHub
bug documentation help wanted
Dominant language
Python
Stars
1.1k
Forks
127
PR merge metrics
No merged PRs in 30d

Description

I tried running the example code on the [pypi page](https://pypi.org/project/inflect/), 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

No contributing guide indexed for this repository

Research direction

Start by reproducing the examples from the PyPI project page with the installed package, checking each reported failure separately: gender handling, whitespace, verb comparisons, and the previously reported join() problem. Identify which behaviors are actual defects versus incorrect examples or missing cases; done means the confirmed issues have targeted fixes or clear reproductions and the examples run as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.