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/2003-March/034283.html below:

[Python-Dev] Capabilities

[Python-Dev] CapabilitiesKa-Ping Yee ping@zesty.ca
Sat, 29 Mar 2003 18:27:50 -0600 (CST)
On Tue, 11 Mar 2003, Greg Ewing wrote:
> Perhaps it would be useful to distinguish between what
> might be called "read-only" introspection, and more
> powerful forms of introspection.
>
> Usually it doesn't do any harm to be able to find out
> things like what class an object belongs to and what
> methods it supports, so perhaps these kinds of
> introspections don't need to be restricted by default.

A serious flaw with this particular point is that Python
does not separate the identity of a class from the power
to create instances of that class.  Having access to a
particular instance should certainly not allow one to
ask it for its class, and then instantiate the class with
arbitrary constructor arguments.


-- ?!ng




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