[prev in list] [next in list] [prev in thread] [next in thread]
List: python-dev
Subject: Re: [Python-Dev] Automatic Scope Macros
From: Kristján_Valur_Jónsson <kristjan () ccpgames ! com>
Date: 2007-04-24 21:11:53
Message-ID: 4E9372E6B2234D4F859320D896059A9508CD57CF76 () exchis ! ccp ! ad ! local
[Download RAW message or body]
What you really want is to use C++.
However, that is a brash and immature language that is still awaiting wider \
acceptance and is therefore not supported.
K
-----Original Message-----
From: python-dev-bounces+kristjan=ccpgames.com@python.org \
[mailto:python-dev-bounces+kristjan=ccpgames.com@python.org] On Behalf Of Georg \
Brandl
Sent: Tuesday, April 24, 2007 21:00
To: python-dev@python.org
Subject: Re: [Python-Dev] Automatic Scope Macros
Calvin Spealman schrieb:
> Could we use and add this macro to object.h? It could be a much
> cleaner and safer way of dealing with new references you want to clean
> up in the same scope.
In most cases, you will have error checking in _scopecode which DECREFs the
variable and returns, or jumps to a "cleanup" label. I can't see how this would
be possible with these macros.
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/python-dev%40progressive-comp.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic