Skip to content
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

Add tuple tests to functools.lru_cache #89864

Closed
sobolevn opened this issue Nov 3, 2021 · 3 comments
Closed

Add tuple tests to functools.lru_cache #89864

sobolevn opened this issue Nov 3, 2021 · 3 comments
Labels
3.9 only security fixes 3.10 only security fixes 3.11 bug and security fixes tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error

Comments

@sobolevn
Copy link
Member

sobolevn commented Nov 3, 2021

BPO 45701
Nosy @rhettinger, @ambv, @miss-islington, @sobolevn
PRs
  • bpo-45679: add tuple tests with lru_cache to test_functools #29339
  • bpo-45701: Improve documentation for *typed* parameter #29498
  • [3.10] bpo-45701: Improve documentation for *typed* parameter (GH-29498) #29509
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2021-11-05.19:53:30.751>
    created_at = <Date 2021-11-03.10:47:28.645>
    labels = ['type-bug', 'tests', '3.9', '3.10', '3.11']
    title = 'Add tuple tests to `functools.lru_cache`'
    updated_at = <Date 2021-11-18.16:12:16.875>
    user = 'https://github.com/sobolevn'

    bugs.python.org fields:

    activity = <Date 2021-11-18.16:12:16.875>
    actor = 'lukasz.langa'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-11-05.19:53:30.751>
    closer = 'rhettinger'
    components = ['Tests']
    creation = <Date 2021-11-03.10:47:28.645>
    creator = 'sobolevn'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 45701
    keywords = ['patch']
    message_count = 3.0
    messages = ['405601', '406063', '406549']
    nosy_count = 4.0
    nosy_names = ['rhettinger', 'lukasz.langa', 'miss-islington', 'sobolevn']
    pr_nums = ['29339', '29498', '29509']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue45701'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    @sobolevn
    Copy link
    Member Author

    sobolevn commented Nov 3, 2021

    Context: https://bugs.python.org/issue45679

    We need to add tests that tuple works as expected with functools.lru_cache, including 1 / 1.0 / True and 0 / 0.0 / False special cases.

    PR: #29339

    @sobolevn sobolevn added 3.9 only security fixes 3.10 only security fixes 3.11 bug and security fixes tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error labels Nov 3, 2021
    @rhettinger
    Copy link
    Contributor

    New changeset 912a4cc by Raymond Hettinger in branch 'main':
    bpo-45701: Improve documentation for *typed* parameter (GH-29498)
    912a4cc

    @ambv
    Copy link
    Contributor

    ambv commented Nov 18, 2021

    New changeset 0df5d31 by Miss Islington (bot) in branch '3.10':
    bpo-45701: Improve documentation for *typed* parameter (GH-29498) (GH-29509)
    0df5d31

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.9 only security fixes 3.10 only security fixes 3.11 bug and security fixes tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    3 participants