[issue40651] class:`OrderedDict` Examples: LRU implementation has a bug.

2020-05-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset d88f0aa8e24ea7562f2e04833f46d8526e846334 by Miss Islington (bot) in branch '3.8': bpo-40651: Improve LRU recipe in the OrderedDict documentation (GH-GH-20139) (GH-20167) https://github.com/python/cpython/commit/d88f0aa8e24ea7562f2e04833f46d

[issue40651] class:`OrderedDict` Examples: LRU implementation has a bug.

2020-05-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for PR :-) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8, Python 3.9 ___ Python tracker ___

[issue40651] class:`OrderedDict` Examples: LRU implementation has a bug.

2020-05-17 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +19466 pull_request: https://github.com/python/cpython/pull/20167 ___ Python tracker _

[issue40651] class:`OrderedDict` Examples: LRU implementation has a bug.

2020-05-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset bb8635cc3bc3dd65996803849ee1a91cfbebae9c by qudongfang in branch 'master': bpo-40651: Improve LRU recipe in the OrderedDict documentation (GH-#20139) https://github.com/python/cpython/commit/bb8635cc3bc3dd65996803849ee1a91cfbebae9c ---

[issue40651] class:`OrderedDict` Examples: LRU implementation has a bug.

2020-05-16 Thread Dongfang Qu
Change by Dongfang Qu : -- keywords: +patch pull_requests: +19445 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20139 ___ Python tracker ___

[issue40651] class:`OrderedDict` Examples: LRU implementation has a bug.

2020-05-16 Thread Dongfang Qu
Dongfang Qu added the comment: Document of `collections`. https://docs.python.org/3/library/collections.html -- ___ Python tracker ___

[issue40651] class:`OrderedDict` Examples: LRU implementation has a bug.

2020-05-16 Thread Dongfang Qu
New submission from Dongfang Qu : class:`OrderedDict` Examples: LRU implementation has a bug. Details: The calls to the `__setitem__` method should also count as usages. -- assignee: docs@python components: Documentation messages: 369083 nosy: Dongfang Qu, docs@python priority: normal