KEY PICKS from Python 3.13's removals and deprecations

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ธ.ค. 2024

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

  • @SianaGearz
    @SianaGearz 6 วันที่ผ่านมา +4

    MSI is still very very heavily used, though with an executable wrapper. There are some businesses which will not allow deploying non-msi software, so for example Libre Office installer must strictly be msi based.

  • @hoefkensj
    @hoefkensj 7 วันที่ผ่านมา +8

    lol msi is still one of the most used ways of installing stuff in windows especially since everyt setup,exe you can find is basicly a wrapper for it ... , also any installed program can be easely repacked into an msi , and thus makes for easely reproduction on a differen system , so i think not being able to do msi's in favor of the much less accessible appx format is nto that great actually

  • @veronikakerman6536
    @veronikakerman6536 5 วันที่ผ่านมา +1

    It is sad to see short and concise ways to write things go. Like the utcnow function. Althought I agree that it was broken.

  • @MaddieM4
    @MaddieM4 6 วันที่ผ่านมา +4

    I'm genuinely surprised not to see tkinter on the list. Not to bring undue shade, but when is the last time anyone used Tcl/Tk to make a graphical interface in Python? Is there an underground fanbase I'm missing here?

  • @samjiman
    @samjiman 9 วันที่ผ่านมา +9

    I'm a bit sore getopt is soft deprecated. I don't like how argparse does the arguments.

    • @Carberra
      @Carberra  9 วันที่ผ่านมา +4

      You're not alone -- Click uses optparse instead of argparse for that very reason.

    • @samjiman
      @samjiman 9 วันที่ผ่านมา +2

      @@Carberra I bit the bullet and used argparse for my newest project, but I'm not sure I want to go back and change my older program using getopt. I guess I could try to write my own or checkout Click.

    • @teodorlamort3864
      @teodorlamort3864 9 วันที่ผ่านมา +1

      Check out fire

    • @samjiman
      @samjiman 9 วันที่ผ่านมา

      @@teodorlamort3864 Thanks

    • @KeithHanlan
      @KeithHanlan 7 วันที่ผ่านมา +3

      What don't you like about argparse? I have always found it easy to use, even for some pretty complicated scenarios. It is flexible and extensible and the resulting code is tidy and easy to maintain.

  • @trevoro.9731
    @trevoro.9731 7 วันที่ผ่านมา

    Is that crap still treating decimal floating point input as binary floating point ?

    • @Kenionatus
      @Kenionatus 4 วันที่ผ่านมา

      Decimal floating point is an insanely uncommon data format in programming.

    • @trevoro.9731
      @trevoro.9731 4 วันที่ผ่านมา

      @@Kenionatus WTF ? Decimal floating point format is pretty much everywhere in paper documents. If you get input string "0.1" and convert it to binary floating point, it is a mistake, a serious bug in financial software, and Python is still doing it.

    • @Carberra
      @Carberra  4 วันที่ผ่านมา

      You can use the "decimal" standard library module for decimal floating point.

    • @trevoro.9731
      @trevoro.9731 4 วันที่ผ่านมา

      @@Carberra The point is that the correct way for Python to parse decimal floating point input is to encode it as decimal floating point. Unless it is expressly stated that the decimal input should be converted to binary, it should be decimal floating point. One could use crutches to run, but it is not the correct way to suggest doing it for everyone.

    • @Carberra
      @Carberra  4 วันที่ผ่านมา

      What languages use decimal floating point by default? I'm not aware of any.

  • @murphygreen8484
    @murphygreen8484 8 วันที่ผ่านมา +2

    I tried using warnings depricated decorator and got an error at runtime. I was mostly testing it and just changed my code, but was surprised it broke. Running 3.12

    • @Carberra
      @Carberra  8 วันที่ผ่านมา +12

      It was added in 3.13, which is probably why you're getting the error 😉

  • @luismolon
    @luismolon 9 วันที่ผ่านมา

    🎉

  • @BAgodmode
    @BAgodmode 8 วันที่ผ่านมา

    Way above my pay grade, as all my python AIML workloads are containerized and they update automatically! Woo hoo automation!