Python Forum
About integer objects vs integer values
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
About integer objects vs integer values
#17
Skaperen Wrote:i'm curious why internal details matter to you.
Anyone who has written a few extension modules by using the CPython's C API is interested in internal details and in reference counts. I know that garbage collection in general doesn't need reference counts, there may exist implementations of python that don't use it. In any case, the assignment statement doesn't copy python objects. It only assigns a pointer value to an existing instance.
Reply


Messages In This Thread
About integer objects vs integer values - by Nwb - Apr-25-2019, 04:55 AM
RE: About integer objects vs integer values - by Gribouillis - Apr-28-2019, 09:22 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Does the integer implementation matter? ichabod801 2 1,844 Oct-22-2019, 03:26 PM
Last Post: snippsat
  integer bases Skaperen 7 4,719 Nov-24-2017, 09:46 AM
Last Post: heiner55
  multiplying integer to decimal ArnabRoyBatman 8 12,685 Jun-20-2017, 04:49 PM
Last Post: DeaD_EyE

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020