From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,NO_DNS_FOR_FROM, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from [10.7.7.5] (unknown [182.253.183.247]) by gnuweeb.org (Postfix) with ESMTPSA id B3A36804D1; Fri, 21 Oct 2022 15:08:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1666364932; bh=CwgvJVnGPD4MltbaIUZ+Ej4XICaWQ0XQ/8Va76WGa2Y=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=ZZceWfE8vFgN5X2YiIai+ZxeKh7fMpRee99Hiwtz3UqDWmILKOmvEyQoZlMH09PHp QqLLY8f0UF9fOoauKUJG1vJG7rqDEjtJ8k2dXgljG2moR1ad3ZeIOqvHvER8Dyp/EN 8n599IEommZDTA/iVVcmjzkvGPDDVVC61kZHT+nnDlr8Mb82jB/3+NKwTDTV+nIn3H nb6Re/VCBVtJIxD8dh58N8me98HctAQi6H8TVwG8KHI9UdmBoV//njQyyBCRHrZo+H imqG9AOo1P2uCrYyEyNmLKV92tbuPw7IHEUsee0U4NilWMPdcgNwlIb+M+c/S6E3Mb 14sqj+aCj4JPw== Message-ID: Date: Fri, 21 Oct 2022 22:08:48 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH v3 8/9] enum: Add Platform enumeration Content-Language: en-US To: Muhammad Rizki Cc: Alviro Iskandar Setiawan , GNU/Weeb Mailing List References: <20221021134520.701-1-kiizuha@gnuweeb.org> <20221021134520.701-9-kiizuha@gnuweeb.org> <6fb1d238-de6a-325c-8d17-6801ae24c717@gnuweeb.org> <982b723b-5c22-cfe2-6fcf-d0584b8c142d@gnuweeb.org> <90fb2819-443d-2665-e42b-b069e7dbbaff@gnuweeb.org> <64f50068-72bc-6f53-17f5-54826bd7947f@gnuweeb.org> <77f5a9df-0268-0e54-262c-ab53cc9bb43d@gnuweeb.org> From: Ammar Faizi In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: On 10/21/22 9:54 PM, Muhammad Rizki wrote: > If use it like that it will return ` 0x7fc59766c8d0>` and if use like `DISCORD.value` it will return ` object at 0x7fc5c8dc5d30>` Maybe it's a language feature, but I'm not a Python guy, I really don't know. How does DISCORD.value save the string information about "discord"? Where did you put that information? Does Python reflect a variable name to something? -- Ammar Faizi