[prev in list] [next in list] [prev in thread] [next in thread]
List: python-patches
Subject: [Patches] [ python-Patches-1229280 ] optionally allow mutable
From: noreply () sourceforge ! net (SourceForge ! net)
Date: 2005-06-28 20:11:56
Message-ID: E1DnMR2-0000ra-7F () sc8-sf-web3 ! sourceforge ! net
[Download RAW message or body]
Patches item #1229280, was opened at 2005-06-28 13:11
Message generated for change (Settings changed) made by gregcouch
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1229280&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core (C code)
Group: Python 2.4
>Status: Deleted
Resolution: None
Priority: 5
Submitted By: Greg Couch (gregcouch)
Assigned to: Nobody/Anonymous (nobody)
Summary: optionally allow mutable builtin types
Initial Comment:
Non-heap types, aka builtin types, cannot have their
attributes changed by Python code -- see
Objects/typeobject.c: type_setattro(). This limitation
is good for Python's core builtin types (int, float,
list, dict, ...), but not necessarily for non-heap
types in extension modules. The attached patch allows
for non-heap types to mutate iff the
Py_TPFLAGS_MUTABLE_BUILTIN flag is set.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1229280&group_id=5470
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic