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年03月17日 19:15 by brett.cannon, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| methods_members.patch | jackdied, 2008年03月19日 17:04 | |||
| Messages (3) | |||
|---|---|---|---|
| msg63713 - (view) | Author: Brett Cannon (brett.cannon) * (Python committer) | Date: 2008年03月17日 19:15 | |
Using __members__ should raise a Py3K warning. |
|||
| msg64071 - (view) | Author: Jack Diederich (jackdied) * (Python committer) | Date: 2008年03月19日 17:04 | |
This patch raises a py3k warning from inside the dir() machinery so it will only warn when dir() is called on an object with an old style __members__ or __methods__ attribute. It does not warn if there is an old style __members__ attribute that is not used. |
|||
| msg64271 - (view) | Author: Georg Brandl (georg.brandl) * (Python committer) | Date: 2008年03月21日 20:22 | |
Added test case and warning for another use of __methods__ and committed as r61715. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:31 | admin | set | github: 46599 |
| 2008年03月21日 20:22:19 | georg.brandl | set | status: open -> closed nosy: + georg.brandl resolution: accepted messages: + msg64271 |
| 2008年03月19日 17:04:42 | jackdied | set | files:
+ methods_members.patch assignee: jackdied messages: + msg64071 keywords: + patch nosy: + jackdied |
| 2008年03月17日 20:12:53 | brett.cannon | set | priority: release blocker -> critical |
| 2008年03月17日 19:15:55 | brett.cannon | create | |