Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...

People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...

Scheduled Pinned Locked Moved Uncategorized
19 Posts 10 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • emmatyping@hachyderm.ioE emmatyping@hachyderm.io

    People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...

    slyecho@mdon.eeS This user is from outside of this forum
    slyecho@mdon.eeS This user is from outside of this forum
    slyecho@mdon.ee
    wrote last edited by
    #10

    @emmatyping It's not even just in Pyhon...

    1 Reply Last reply
    0
    • nazokiyoubinbou@urusai.socialN nazokiyoubinbou@urusai.social

      @emmatyping What do you mean? It has utterly failed! It got it completely backwards even. SMH.

      emmatyping@hachyderm.ioE This user is from outside of this forum
      emmatyping@hachyderm.ioE This user is from outside of this forum
      emmatyping@hachyderm.io
      wrote last edited by
      #11

      @nazokiyoubinbou I regret to inform you the results are quite consistent across Apples.

      nazokiyoubinbou@urusai.socialN 1 Reply Last reply
      0
      • emmatyping@hachyderm.ioE emmatyping@hachyderm.io

        @nazokiyoubinbou I regret to inform you the results are quite consistent across Apples.

        nazokiyoubinbou@urusai.socialN This user is from outside of this forum
        nazokiyoubinbou@urusai.socialN This user is from outside of this forum
        nazokiyoubinbou@urusai.social
        wrote last edited by
        #12

        @emmatyping This is so horrendously wrong...

        1 Reply Last reply
        0
        • emmatyping@hachyderm.ioE emmatyping@hachyderm.io

          People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...

          thomasjwebb@mastodon.socialT This user is from outside of this forum
          thomasjwebb@mastodon.socialT This user is from outside of this forum
          thomasjwebb@mastodon.social
          wrote last edited by
          #13

          @emmatyping oh great, now we're going to have to know this stuff when manually lexically sorting records with emoji in their titles.

          thomasjwebb@mastodon.socialT 1 Reply Last reply
          0
          • thomasjwebb@mastodon.socialT thomasjwebb@mastodon.social

            @emmatyping oh great, now we're going to have to know this stuff when manually lexically sorting records with emoji in their titles.

            thomasjwebb@mastodon.socialT This user is from outside of this forum
            thomasjwebb@mastodon.socialT This user is from outside of this forum
            thomasjwebb@mastodon.social
            wrote last edited by
            #14

            @emmatyping I'd also say that python is wrong but I guess my beef is with the unicode consortium.

            1 Reply Last reply
            0
            • emmatyping@hachyderm.ioE emmatyping@hachyderm.io

              People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...

              gkrnours@mastodon.gamedev.placeG This user is from outside of this forum
              gkrnours@mastodon.gamedev.placeG This user is from outside of this forum
              gkrnours@mastodon.gamedev.place
              wrote last edited by
              #15

              @emmatyping that's because they sre string, not 🍎 and 🍊. Also, I'm pretty sure `class 🍎: ...` is invalid python but I could be wrong

              1 Reply Last reply
              0
              • emmatyping@hachyderm.ioE emmatyping@hachyderm.io

                People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...

                girgias@phpc.socialG This user is from outside of this forum
                girgias@phpc.socialG This user is from outside of this forum
                girgias@phpc.social
                wrote last edited by
                #16

                @emmatyping PHP also doesn't have a problem comparing them!

                1 Reply Last reply
                0
                • emmatyping@hachyderm.ioE emmatyping@hachyderm.io

                  People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...

                  0x4d6165@wanderingwires.net0 This user is from outside of this forum
                  0x4d6165@wanderingwires.net0 This user is from outside of this forum
                  0x4d6165@wanderingwires.net
                  wrote last edited by
                  #17
                  @emmatyping is this just comparing their place on the Unicode table?
                  emmatyping@hachyderm.ioE 1 Reply Last reply
                  0
                  • 0x4d6165@wanderingwires.net0 0x4d6165@wanderingwires.net
                    @emmatyping is this just comparing their place on the Unicode table?
                    emmatyping@hachyderm.ioE This user is from outside of this forum
                    emmatyping@hachyderm.ioE This user is from outside of this forum
                    emmatyping@hachyderm.io
                    wrote last edited by
                    #18

                    @0x4d6165 Yup! red apple is U+1F34E, while tangerine is U+1F34A, so red apple compares greater than tangerine!

                    1 Reply Last reply
                    0
                    • R relay@relay.an.exchange shared this topic
                    • emmatyping@hachyderm.ioE emmatyping@hachyderm.io

                      People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...

                      csolisr@hub.azkware.netC This user is from outside of this forum
                      csolisr@hub.azkware.netC This user is from outside of this forum
                      csolisr@hub.azkware.net
                      wrote last edited by
                      #19
                      Python version 3.14, or as I like to call it, π-thon
                      1 Reply Last reply
                      1
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups