A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2009-April/088070.html below:

[Python-Dev] Let's update CObject API so it is safe and regular!

[Python-Dev] Let's update CObject API so it is safe and regular! [Python-Dev] Let's update CObject API so it is safe and regular!Jim Fulton jim at zope.com
Thu Apr 2 15:16:29 CEST 2009
On Apr 1, 2009, at 11:51 PM, Guido van Rossum wrote:
...
>> Note also this cheap exported-vtable hack isn't the
>> only use of CObjects; for example _ctypes uses them to wrap plenty of
>> one-off objects which are never set as attributes of the _ctypes  
>> module.
>>  We'd like a solution that enforces some safety for those too,  
>> without
>> creating spurious module attributes.
>
> Why would you care about safety for ctypes? It's about as unsafe as it
> gets anyway. Coredump emptor I say.


At which point, I wonder why we worry so much about someone  
intentionally breaking a CObject as in Larry's example.

Jim

--
Jim Fulton
Zope Corporation


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4