News for hackers. Stuff that matters.
Re:Python behind the scenes #8: how Python integers work by kevin_thibedeau on Tuesday February 09, 2021 @08:51PM (#26084949)
This isn't portable C. You can't assume that some pointers will be invalid and free for other uses.
Re:Python behind the scenes #8: how Python integers work by jashmatthews on Wednesday February 10, 2021 @05:17AM (#26087442)
The runtime also controls the alignment of allocations.
Re:Python behind the scenes #8: how Python integers work by cma on Tuesday February 09, 2021 @11:29PM (#26085758)
You can have a fallback to always use int objects for architectures without that alignment requirement.