osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

About the implementation of del in Python 3


On Fri, Jul 7, 2017 at 10:34 AM, Gregory Ewing
<greg.ewing at canterbury.ac.nz> wrote:
> Steve D'Aprano wrote:
>>
>> Address refers to a position in space.
>
>
> Not always. A PO Box number can remain the same when its owner's
> location in space changes. And IP addresses notoriously fail to
> identify physical locations.

A position in some form of space. An IP address gives a position
within the internet; you can tease it apart to figure out which RIR,
which country, which ISP, and which computer. A street address gives a
position on the planet; you can tease it apart to find which country,
which city, which street, and which mailbox. A PO Box is actually the
same thing as a street address, but instead of telling you where its
owner can be found, it tells you where *the box* can be found. A
memory address tells you where some byte/word can be found in some
memory space - maybe the process's virtual memory, maybe the OS's
virtual memory, maybe the computer's physical memory. A web address
tells you where a document can be found in the cobwebs of the
internet. Not all of them are directly connected to physical
locations, but all of them can be used to locate something.

ChrisA