Python 3 Metaprogramming

แชร์
ฝัง
  • เผยแพร่เมื่อ 31 ม.ค. 2025

ความคิดเห็น • 5

  • @besllu8116
    @besllu8116 6 ปีที่แล้ว +1

    this is great, makes things more clear.

  • @satainter
    @satainter 6 ปีที่แล้ว

    I enjoyed every bit of this presentation

  • @chrisp.401
    @chrisp.401 4 ปีที่แล้ว

    SizedRegexString was truly evil.
    Also, it seems like checking for positive float using descriptors yields recursion problems. Gonna give it a thought and edit this once I find out why.
    Update: I used setattr in the Positive value-check, which for some reason didn't raise an error with type Int, but did with Float. Fixed by overriding instance.__dict__ instead.
    Update 2: Yes, I realized I should've used super().

  • @skycakecrunch
    @skycakecrunch 3 ปีที่แล้ว

    why did you upload this twice?