REF count is in the BILLIONS! ((chatGPT has no clue whats going on)) /u/Proxima_EDMU Python Education

Hello, i dont think i have to explian:

>>> import sys

>>> sys.getrefcount(1)

4294967295

>>> sys.getrefcount(‘a’)

4294967295

>>> sys.getrefcount(1000)

3

why does this happen? chatGPT says this is the maximum ref counts for a 32 bit computer. Im in a 64 bit. not even chatGPT can fix this yall.

I do notice this only happens to objets that are internable, im not sure thats the correct term.

submitted by /u/Proxima_EDMU
[link] [comments]

​r/learnpython Hello, i dont think i have to explian: >>> import sys >>> sys.getrefcount(1) 4294967295 >>> sys.getrefcount(‘a’) 4294967295 >>> sys.getrefcount(1000) 3 why does this happen? chatGPT says this is the maximum ref counts for a 32 bit computer. Im in a 64 bit. not even chatGPT can fix this yall. I do notice this only happens to objets that are internable, im not sure thats the correct term. submitted by /u/Proxima_EDMU [link] [comments] 

Hello, i dont think i have to explian:

>>> import sys

>>> sys.getrefcount(1)

4294967295

>>> sys.getrefcount(‘a’)

4294967295

>>> sys.getrefcount(1000)

3

why does this happen? chatGPT says this is the maximum ref counts for a 32 bit computer. Im in a 64 bit. not even chatGPT can fix this yall.

I do notice this only happens to objets that are internable, im not sure thats the correct term.

submitted by /u/Proxima_EDMU
[link] [comments] 

Leave a Reply

Your email address will not be published. Required fields are marked *