<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Object-Model on Home</title><link>https://oedokumaci.com/tags/object-model/</link><description>Recent content in Object-Model on Home</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>© 2026 Oral Ersoy Dokumaci</copyright><lastBuildDate>Tue, 05 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://oedokumaci.com/tags/object-model/index.xml" rel="self" type="application/rss+xml"/><item><title>Why 256 is 256, but 512 is not 512 in Python</title><link>https://oedokumaci.com/blog/posts/python-object-model/</link><pubDate>Tue, 05 May 2026 00:00:00 +0000</pubDate><guid>https://oedokumaci.com/blog/posts/python-object-model/</guid><description>In Python, two variables equal to 256 share the same object, but two variables equal to 512 don&amp;rsquo;t. The reason is Python&amp;rsquo;s object model. In this chapter, we cover identity, type, and value; how assignment and name binding actually work; the small-integer cache; and why mutating a list changes both aliases while reassigning a string doesn&amp;rsquo;t.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://oedokumaci.com/blog/posts/python-object-model/featured.jpg"/></item></channel></rss>