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年05月25日 08:05 by scoder, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| py3k-method-cache-fix.patch | scoder, 2008年05月25日 09:28 | Patch that fixes the type tests | ||
| Messages (3) | |||
|---|---|---|---|
| msg67328 - (view) | Author: Stefan Behnel (scoder) * (Python committer) | Date: 2008年05月25日 08:05 | |
The method cache is deactivated in current Py3. As Lisandro Dalcín noticed, the following code in typeobject.c always returns false for a Py3 identifier: #define MCACHE_CACHEABLE_NAME(name) \ PyString_CheckExact(name) && \ PyString_GET_SIZE(name) <= MCACHE_MAX_ATTR_SIZE |
|||
| msg67337 - (view) | Author: Stefan Behnel (scoder) * (Python committer) | Date: 2008年05月25日 09:28 | |
Here is a patch that fixes this. |
|||
| msg67338 - (view) | Author: Georg Brandl (georg.brandl) * (Python committer) | Date: 2008年05月25日 09:32 | |
Committed patch as r63621. Thanks! |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:34 | admin | set | github: 47212 |
| 2008年05月25日 09:32:29 | georg.brandl | set | status: open -> closed resolution: accepted messages: + msg67338 nosy: + georg.brandl |
| 2008年05月25日 09:28:08 | scoder | set | files:
+ py3k-method-cache-fix.patch keywords: + patch messages: + msg67337 |
| 2008年05月25日 08:05:48 | scoder | create | |