This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2012年11月10日 14:57 by mark.dickinson, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| issue16451.patch | mark.dickinson, 2012年11月12日 20:52 | review | ||
| Messages (3) | |||
|---|---|---|---|
| msg175281 - (view) | Author: Mark Dickinson (mark.dickinson) * (Python committer) | Date: 2012年11月10日 14:57 | |
(From #14794 ...) compute_slice_indices in Objects/rangeobject.c and slice_indices in Objects/sliceobject.c implement essentially the same algorithm. It would be nice to refactor to avoid the repetition. |
|||
| msg175473 - (view) | Author: Mark Dickinson (mark.dickinson) * (Python committer) | Date: 2012年11月12日 20:52 | |
Patch attached. |
|||
| msg175797 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2012年11月17日 19:18 | |
New changeset e9af9b1ca67e by Mark Dickinson in branch 'default': Issue #16451: Refactor to remove duplication between range and slice in slice index computations. http://hg.python.org/cpython/rev/e9af9b1ca67e |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:38 | admin | set | github: 60655 |
| 2012年11月17日 19:22:43 | mark.dickinson | set | status: open -> closed resolution: fixed |
| 2012年11月17日 19:18:28 | python-dev | set | nosy:
+ python-dev messages: + msg175797 |
| 2012年11月12日 20:52:32 | mark.dickinson | set | files:
+ issue16451.patch keywords: + patch messages: + msg175473 |
| 2012年11月12日 07:39:11 | mark.dickinson | set | assignee: mark.dickinson |
| 2012年11月10日 14:58:03 | mark.dickinson | set | nosy:
+ serhiy.storchaka stage: needs patch |
| 2012年11月10日 14:57:31 | mark.dickinson | create | |