Re: The Folly of Python

Liste des GroupesRevenir à ol advocacy 
Sujet : Re: The Folly of Python
De : OFeem1987 (at) *nospam* teleworm.us (Chris Ahlstrom)
Groupes : comp.os.linux.advocacy
Date : 16. Apr 2024, 13:58:07
Autres entêtes
Organisation : None
Message-ID : <uvlp4f$u64i$1@dont-email.me>
References : 1 2 3 4 5 6
User-Agent : slrn/1.0.3 (Linux)
rbowman wrote this copyrighted missive and expects royalties:

On Mon, 15 Apr 2024 21:16:46 -0400, DFS wrote:
>
What do you notice about those id numbers?
>
for i in range(1000, 1011): print("int %d, id = %d" % (i, id(i)))
...
int 1000, id = 133523511399088
int 1001, id = 133523511399056
int 1002, id = 133523511399088
int 1003, id = 133523511399056
int 1004, id = 133523511399088
int 1005, id = 133523511399056
int 1006, id = 133523511399088
int 1007, id = 133523511399056
int 1008, id = 133523511399088
int 1009, id = 133523511399056
int 1010, id = 133523511399088
>
or, for extra credit explain
>
for i in range(250, 261): print("int %d, id = %d" % (i, id(i)))
...
int 250, id = 133523513024528
int 251, id = 133523513024560
int 252, id = 133523513024592
int 253, id = 133523513024624
int 254, id = 133523513024656
int 255, id = 133523513024688
int 256, id = 133523513024720
int 257, id = 133523511399088
int 258, id = 133523511398960
int 259, id = 133523511399088
int 260, id = 133523511398960

Ahh the indeterminate beauty of garbage collection!

--
Q: Why did the astrophysicist order three hamburgers?
A: Because he was hungry.

Date Sujet#  Auteur
14 Apr 24 * The Folly of Python83Farley Flud
14 Apr 24 +* Re: The Folly of Python13Stéphane CARPENTIER
14 Apr 24 i`* Re: The Folly of Python12rbowman
15 Apr 24 i `* Re: The Folly of Python11Chris Ahlstrom
16 Apr 24 i  +- Re: The Folly of Python1Lawrence D'Oliveiro
16 Apr 24 i  `* Re: The Folly of Python9DFS
16 Apr 24 i   `* Re: The Folly of Python8rbowman
16 Apr 24 i    +- Re: The Folly of Python1DFS
16 Apr 24 i    `* Re: The Folly of Python6Chris Ahlstrom
16 Apr 24 i     +* Re: The Folly of Python3rbowman
17 Apr 24 i     i`* Re: The Joy of Python2Lawrence D'Oliveiro
17 Apr 24 i     i `- Re: The Joy of Python1rbowman
16 Apr 24 i     `* Re: The Folly of Python2Farley Flud
17 Apr 24 i      `- Re: The Folly of Feeb1DFS
14 Apr 24 +* Re: The Folly of Python2Joel
15 Apr 24 i`- Re: The Folly of Python1candycanearter07
15 Apr 24 +- Re: The Folly of Farley Flud1Lawrence D'Oliveiro
15 Apr 24 +- Re: The Folly of Python1DFS
16 Apr 24 `* The Golly! of Python65DFS
17 Apr 24  +* Re: The Golly! of Python56vallor
17 Apr 24  i`* Re: The Golly! of Python55DFS
18 Apr 24  i `* Re: The Golly! of Python54vallor
18 Apr 24  i  `* Re: The Golly! of Python53DFS
18 Apr 24  i   +* We love Linux (was: Re: The Golly! of Python)3vallor
18 Apr 24  i   i`* Re: We love Linux (was: Re: The Golly! of Python)2Lawrence D'Oliveiro
22 Apr 24  i   i `- Re: We love Linux (was: Re: The Golly! of Python)1vallor
19 Apr 24  i   `* Re: The Golly! of Python49Stéphane CARPENTIER
19 Apr 24  i    +- Nuclear bombs, MultiPolar imperialism, mysticism, Islam & Africa.1Relf
20 Apr 24  i    +- Re: The Golly! of Python1rbowman
20 Apr 24  i    `* Re: The Golly! of Python46candycanearter07
20 Apr 24  i     +* Re: The Golly! of Python2rbowman
25 Apr 24  i     i`- Re: The Golly! of Python1Lawrence D'Oliveiro
20 Apr 24  i     `* Re: The Golly! of Python43candycanearter07
21 Apr 24  i      +* Re: The Golly! of Python2vallor
23 Apr 24  i      i`- Re: The Golly! of Python1Chris Ahlstrom
21 Apr 24  i      +- Re: The Golly! of Python1DFS
21 Apr 24  i      +* Re: The Golly! of Python27candycanearter07
21 Apr 24  i      i`* Re: The Golly! of Python26Joel
22 Apr 24  i      i +* Re: The Golly! of Python6Joel
24 Apr 24  i      i i+* Warnings as Errors3Relf
25 Apr 24  i      i ii`* Re: Warnings as Errors2Lawrence D'Oliveiro
25 Apr 24  i      i ii `- Re: Warnings as Errors1Chris Ahlstrom
24 Apr 24  i      i i+- Re: The Golly! of Python1Chris Ahlstrom
24 Apr 24  i      i i`- Re: The Golly! of Python1DFS
24 Apr 24  i      i `* Re: The Golly! of Python19DFS
24 Apr 24  i      i  `* Re: The Golly! of Python18Joel
24 Apr 24  i      i   +* Re: The Golly! of Python16candycanearter07
17 May 24  i      i   i`* Re: The Golly! of Python15Lawrence D'Oliveiro
18 May 24  i      i   i +* Re: The Golly! of Python13DFS
18 May 24  i      i   i i+* Re: The Golly! of Python7Andrzej Matuch
18 May 24  i      i   i ii+* Re: The Golly! of Python2vallor
18 May 24  i      i   i iii`- Re: The Golly! of Python1Joel
19 May 24  i      i   i ii`* Re: The Golly! of Python4RonB
19 May 24  i      i   i ii `* Re: The Golly! of Python3Andrzej Matuch
19 May 24  i      i   i ii  `* Re: The Golly! of Python2RonB
19 May 24  i      i   i ii   `- Re: The Golly! of Python1RonB
25 Jun 24  i      i   i i`* Re: The Golly! of Python5Lawrence D'Oliveiro
25 Jun 24  i      i   i i +- Re: The Golly! of Python1rbowman
26 Jun 24  i      i   i i `* Re: The Golly! of Python3Lawrence D'Oliveiro
26 Jun 24  i      i   i i  `* Re: The Golly! of Python2candycanearter07
27 Jun 24  i      i   i i   `- Re: The Golly! of Python1Lawrence D'Oliveiro
18 May 24  i      i   i `- Re: The Golly! of Python1Chris Ahlstrom
24 Apr 24  i      i   `- Re: The Golly! of Python1Chris Ahlstrom
21 Apr 24  i      `* Re: The Golly! of Python12rbowman
22 Apr 24  i       +* Re: The Golly! of Python10Joel
23 Apr 24  i       i`* Re: The Golly! of Python9DFS
23 Apr 24  i       i +* Re: The Golly! of Python3Andrzej Matuch
23 Apr 24  i       i i+- Re: The Golly! of Python1DFS
23 Apr 24  i       i i`- Re: The Golly! of Python1candycanearter07
25 Apr 24  i       i `* Re: The Golly! of Python5Lawrence D'Oliveiro
25 Apr 24  i       i  `* Re: The Golly! of Python4candycanearter07
26 Apr 24  i       i   `* Re: The Golly! of Python3Lawrence D'Oliveiro
26 Apr 24  i       i    `* Re: The Golly! of Python2Chris Ahlstrom
26 Apr 24  i       i     `- Re: The Golly! of Python1candycanearter07
22 Apr 24  i       `- Re: The Golly! of Python1rbowman
18 Apr 24  `* Re: The Golly! of Python8Lawrence D'Oliveiro
18 Apr 24   +* Re: The Golly! of Python2vallor
18 Apr 24   i`- Re: The Golly! of Python1Lawrence D'Oliveiro
18 Apr 24   `* Re: The Golly! of Python5DFS
18 Apr 24    +* Re: The Golly! of Python2Lawrence D'Oliveiro
18 Apr 24    i`- Re: The Golly! of Python1candycanearter07
19 Apr 24    `* Re: The Golly! of Python2Stéphane CARPENTIER
23 Apr 24     `- Re: The Golly! of Python1Chris Ahlstrom

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal