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 2008年06月24日 11:36 by vdupras, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| difflib_py3k_deprecation.diff | vdupras, 2008年06月24日 11:36 | |||
| difflib_py3k_deprecation2.diff | vdupras, 2008年06月24日 11:42 | |||
| Messages (3) | |||
|---|---|---|---|
| msg68677 - (view) | Author: Virgil Dupras (vdupras) (Python triager) | Date: 2008年06月24日 11:36 | |
When running with the -3 flag, difflib creates DeprecationWarnings. I attach a patch fixing them. There was a note in the code saying "DOES NOT WORK for x in a". However, after my changes, tests still pass, so I removed these notices. If someone knows what this was all about, let me know. |
|||
| msg68678 - (view) | Author: Virgil Dupras (vdupras) (Python triager) | Date: 2008年06月24日 11:42 | |
It slipped out of my mind that performance was probably important for this module, so I ditched that nested get call and went if an if..else. |
|||
| msg68693 - (view) | Author: Raymond Hettinger (rhettinger) * (Python committer) | Date: 2008年06月24日 15:59 | |
Applying a minimal version of this patch -- changing has_key() to __contains__(). See r64511. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:35 | admin | set | github: 47439 |
| 2008年06月24日 15:59:10 | rhettinger | set | status: open -> closed resolution: accepted messages: + msg68693 nosy: + rhettinger |
| 2008年06月24日 11:42:45 | vdupras | set | files:
+ difflib_py3k_deprecation2.diff messages: + msg68678 |
| 2008年06月24日 11:36:12 | vdupras | create | |