schmonz.com is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.

This server runs the snac software and there is no automatic sign-up process.

Search results for tag #Python

[?]Dr. Juande Santander-Vela Β»
@juandesant@mathstodon.xyz

I really like this interview with Guido von Rossum, Python creator and original Benevalent Dictator for Life (BDfL) of Python development. The questions keep pushing AI as something formidable to be looking forward to, and most of the answers are either a) AI is not special in many regards; b) not looking forward towards AI development.

odbms.org/blog/2025/10/beyond-

/via @pythonrennes

    [?]scy Β»
    @scy@chaos.social

    For comparison, this is the implementation. (And yes, it's 23 "lines" in the file, but if you subtract the boilerplate it's indeed exactly 10 lines of code.)

    Screenshot of 23 lines of Python. Code follows:

from collections.abc import Iterable
from dataclasses import dataclass
from pathlib import Path


@dataclass
class SourceFile:
    path: Path


def find_source_files(dir: Path) -> Iterable[SourceFile]:
    for root, dirs, files in dir.walk():
        for name in files:
            yield SourceFile(root / name)


def main() -> None:
    for file in find_source_files(Path("doc")):
        print(file.path)


if __name__ == "__main__":
    main()

    Alt...Screenshot of 23 lines of Python. Code follows: from collections.abc import Iterable from dataclasses import dataclass from pathlib import Path @dataclass class SourceFile: path: Path def find_source_files(dir: Path) -> Iterable[SourceFile]: for root, dirs, files in dir.walk(): for name in files: yield SourceFile(root / name) def main() -> None: for file in find_source_files(Path("doc")): print(file.path) if __name__ == "__main__": main()

      [?]Wolfram wants peace Β»
      @wolframkriesing@mastodontech.de

      I have to say I like the system of . The great thing about it, is the optional use. I use it where I see a lot of value (to do things wrong otherwise) and ignore it where things are just very obvious (in my eyes ;)).

      It is not ideal either, I agree, but somehow it feels quite pythonic.

        [?]gyptazy Β»
        @gyptazy@gyptazy.com

        Are you in and running your own instance? You might want to join an Activity Pub relay instance!

        My relay at https://fedi-relay.gyptazy.com has currently 139 instances connected, mostly tech related sharing the same mindset and interests like , , , , , and many more! You can easily join from your instance when using , (), and its forks 🙂


          #agile boosted

          [?]Morning Dew by Alvin Ashcraft – Daily links for Windows and .NET developers. Β»
          @alvinashcraft.com@web.brid.gy

          Dew Drop – October 10, 2025 (#4516)

          Top Links Uno Platform 6.3: Faster Rendering, .NET 10 Preview, VS 2026 Ready (Uno Platform Team) Visual Studio Code September 2025 (version 1.105) Release Notes (VS Code Team) Accelerating AI PC Experiences with OpenVINO and Windows ML (Sudhir Tonse Udupa) The Hanselminutes Podcast – Competence builds confidence with .NET Principal Engineer Safia Abdalla (Scott Hanselman) … Continue reading Dew Drop – October 10, 2025 (#4516)

          Glyph boosted

          [?]Hugo van Kemenade Β»
          @hugovk@mastodon.social

          I made a Python core team starter pack:

          fedidevs.com/s/Mzk/

          Let me know if I've missed anyone!

            Glyph boosted

            [?]Random Geek Β»
            @randomgeek@masto.hackers.town

            Nice benchmark comparison of various versions from @miguelgrinberg

            Key takeaway: if you want to do a bubble sort, use Pypy or Rust.

            Ok no. 3.14 is the fastest CPython. The JIT is still a work in progress. Free-threaded interpreter is quite nice for multithreading, but not regular stuff yet. Pypy is faster than any CPython. By a lot. But if speed's all you care about, maybe Rust.

            blog.miguelgrinberg.com/post/p

              [?]Leanpub Β»
              @leanpub@mastodon.social

              The Forecasting, CatBoost & Conformal Prediction Tetralogy leanpub.com/b/forecasting_catb by Valery Manokhin is the featured bundle of ebooks πŸ“š on the Leanpub homepage! leanpub.com

              Find it on Leanpub!

                [?]Leanpub Β»
                @leanpub@mastodon.social

                Real World Python leanpub.com/set/leanpub/realwo by Lukas Rieger and Christian Mayer is the featured Track of online courses on the Leanpub homepage! leanpub.com#courses

                  [?]Hugo van Kemenade Β»
                  @hugovk@mastodon.social

                  Only one week left until the release of Python 3.14.0 final!

                  docs.python.org/3.14/whatsnew/

                  peps.python.org/pep-0745/

                  What are you looking forward to?

                    [?]Hugo van Kemenade Β»
                    @hugovk@mastodon.social

                    Three days until release and a bug in the Linux kernel has turned a dozen buildbots red...

                    It's already been fixed in the kernel, but will take some time to bubble up. We'll skip that test for relevant kernel versions in the meantime.

                    buildbot.python.org/#/release_

                    Python Release Status Dashboard
3.15-3.13 are red and "✘ Unreleasable: Tier-1 build failed"

                    Alt...Python Release Status Dashboard 3.15-3.13 are red and "✘ Unreleasable: Tier-1 build failed"

                    3.14
Tier-1 build failed (5)
Tier-2 build failed (2)
Tier-3 build failed (6)
Disconnected Tier-1 builder (with recent build) (1)
Disconnected Tier-2 builder (1)
Disconnected Tier-3 builder (1)
Disconnected Tierless builder (1)
Warnings from Tier-1 build (1)
Warnings from Tier-2 build (3)
Warnings from Tier-3 build (2)
Unstable build failed (18)
Warnings from unstable build (4)
Disconnected unstable builder (30)
No problem detected (72)

                    Alt...3.14 Tier-1 build failed (5) Tier-2 build failed (2) Tier-3 build failed (6) Disconnected Tier-1 builder (with recent build) (1) Disconnected Tier-2 builder (1) Disconnected Tier-3 builder (1) Disconnected Tierless builder (1) Warnings from Tier-1 build (1) Warnings from Tier-2 build (3) Warnings from Tier-3 build (2) Unstable build failed (18) Warnings from unstable build (4) Disconnected unstable builder (30) No problem detected (72)

                    ERROR: test_aead_aes_gcm (test.test_socket.LinuxKernelCryptoAPI.test_aead_aes_gcm)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.14.cstratak-fedora-stable-x86_64/build/Lib/test/test_socket.py", line 7071, in test_aead_aes_gcm
    op.sendall(plain)
    ~~~~~~~~~~^^^^^^^
OSError: [Errno 22] Invalid argument

                    Alt...ERROR: test_aead_aes_gcm (test.test_socket.LinuxKernelCryptoAPI.test_aead_aes_gcm) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/buildbot/buildarea/3.14.cstratak-fedora-stable-x86_64/build/Lib/test/test_socket.py", line 7071, in test_aead_aes_gcm op.sendall(plain) ~~~~~~~~~~^^^^^^^ OSError: [Errno 22] Invalid argument

                      [?]Hugo van Kemenade Β»
                      @hugovk@mastodon.social

                      And back to green!

                      Python Release Status Dashboard

3.15 is red:
✘ Unreleasable
Tier-1 build failed

3.14 is green:
βœ” Releasable
Disconnected Tier-2 builder

3.13 is orange:
⚠ Concern
Tierless build failed

                      Alt...Python Release Status Dashboard 3.15 is red: ✘ Unreleasable Tier-1 build failed 3.14 is green: βœ” Releasable Disconnected Tier-2 builder 3.13 is orange: ⚠ Concern Tierless build failed

                        [?]Hugo van Kemenade Β»
                        @hugovk@mastodon.social

                        Release day!

                        First off, check blockers and buildbots.

                        A new release-blocker appeared yesterday (because of course) but it can wait until 3.14.1.

                        github.com/python/cpython/labe

                        Three deferred-blockers are also waiting until 3.14.1.

                        github.com/python/cpython/labe

                        A new tier-2 buildbot failure appeared yesterday (because of course) but it had previously been offline for a month and will need some reconfiguration. Can ignore.

                        buildbot.python.org/#/release_

                        OK, let's make a Python!

                          [?]Hugo van Kemenade Β»
                          @hugovk@mastodon.social

                          Next up, merge and backport the final change to What's New in Python 3.14 to declare it latest stable.
                          github.com/python/cpython/pull

                          Now start run_release.py, the main release automation script, which does a bunch of pre-checks, runs blurb to create a merged changelog, bumps some numbers, and pushes a branch and tag to my fork. It'll go upstream at the end of a successful build.

                          Then kick off the CI to build source zips, docs and Android binaries.
                          github.com/python/release-tool

                          A GitHub Actions build matrix showing an initial verify-input followed by parallel build-source (itself followed by test-source), build-docs, and build-android (consisting of aarch64 and x86_64 jobs).

                          Alt...A GitHub Actions build matrix showing an initial verify-input followed by parallel build-source (itself followed by test-source), build-docs, and build-android (consisting of aarch64 and x86_64 jobs).

                            [?]Hugo van Kemenade Β»
                            @hugovk@mastodon.social

                            (That's actually the second CI attempt, we had to update some script arguments following an Android test runner update.)

                            This build takes about half an hour.

                            I've also informed the Windows and macOS release managers about the tag and they will start up installer builds.

                            This takes a few hours, so I've got time to finish up the release notes.

                            PEP 101 is the full process, but much is automated and we don't need to follow it all manually.

                            peps.python.org/pep-0101/

                              [?]Hugo van Kemenade Β»
                              @hugovk@mastodon.social

                              The Windows build has been started.

                              The jobs with profile-guided optimisation (PGO) build once, then collect a profile by running the tests, and then build again using that profile, to see how "real" code executes and optimises for that.

                              dev.azure.com/Python/cpython/_

                              Meanwhile, the docs+source+Android build has finished and the artifacts have been copied to where they need to go with SBOMs created.

                              The Windows build on Azure Pipelines. Lots of boxes for each of "build binaries", "sign binaries", "generate layouts", "pack", "test" and finally "publish". So far nearing the end of the build binaries stage.

                              Alt...The Windows build on Azure Pipelines. Lots of boxes for each of "build binaries", "sign binaries", "generate layouts", "pack", "test" and finally "publish". So far nearing the end of the build binaries stage.

                                [?]Hugo van Kemenade Β»
                                @hugovk@mastodon.social

                                The Windows build is ready and macOS is underway.

                                Terminal prompt showing the output of run_release.py with lots of checked tasks and ending with:
Waiting for files: Linux βœ…  Windows βœ…  Mac ❌

                                Alt...Terminal prompt showing the output of run_release.py with lots of checked tasks and ending with: Waiting for files: Linux βœ… Windows βœ… Mac ❌

                                  [?]Hugo van Kemenade Β»
                                  @hugovk@mastodon.social

                                  macOS installer done, next on the final publishing and announcing steps.

                                  Terminal showing:
βœ…  Wait until all files are ready
Go to https://www.python.org/admin/downloads/release/add/ and create a new release
Have you already created a new release for 3.14.0?
Enter yes or no:

                                  Alt...Terminal showing: βœ… Wait until all files are ready Go to https://www.python.org/admin/downloads/release/add/ and create a new release Have you already created a new release for 3.14.0? Enter yes or no:

                                    [?]Hugo van Kemenade Β»
                                    @hugovk@mastodon.social

                                    πŸš€ It's out!

                                    πŸ₯§ Please install and enjoy Python 3.14!

                                    discuss.python.org/t/python-3-

                                    Two snakes enjoying a pie with 3.14 on the top and Ο€ crimping.

                                    Alt...Two snakes enjoying a pie with 3.14 on the top and Ο€ crimping.

                                      [?]David Zaslavsky Β»
                                      @diazona@techhub.social

                                      @chrisjrn.fyi Interesting proposal they're making there.

                                      I've been tinkering with the AI-assisted autocompletion in recently - only on open source projects so no concerns about code privacy - and it's been slightly helpful but overall a very mixed bag. It'll be interesting to see if it gets better as they collect more data.

                                        [?]Hynek Schlawack Β»
                                        @hynek@mastodon.social

                                        I’m somewhat exhausted to announce attrs 25.4.0!

                                        The main reason for this release (and why it's published today) is that it ships the first pieces of work for Python 3.14 and PEP 749. There will be more work required and there's going to be a lot more churn once everyone starts testing 3.14 earnestly. We hope to receive more feedback before spending more time on this.

                                        github.com/python-attrs/attrs/

                                          #agile boosted

                                          [?]Morning Dew by Alvin Ashcraft – Daily links for Windows and .NET developers. Β»
                                          @alvinashcraft.com@web.brid.gy

                                          Dew Drop – October 7, 2025 (#4512)

                                          Top Links Roadmap for AI in Visual Studio (October) (Rhea Patel) Blazor Server Reconnection Gets an Upgrade in .NET 10 (Jon Hilton) Technology & Friends – Arthur Doler on Code Archaeology (David Giard) What’s new in Windows 11 Version 25H2 (Mahima N.) Peter Ritchie: .NET Foundation – Azure & DevOps Podcast Episode #370 (Jeffrey Palermo) … Continue reading Dew Drop – October 7, 2025 (#4512)

                                          [?]David Zaslavsky Β»
                                          @diazona@techhub.social

                                          @wildrikku To be fair, the URL handling is a particularly poorly structured portion of the standard library. (Partly because the documentation for `HTTPResponse` lives at a very non-obvious place, docs.python.org/3/library/http)

                                          Most people just use external libraries like `requests` or `httpx`, which are much easier to use than the standard library's `urllib`; I would recommend that.

                                            [?]David Zaslavsky Β»
                                            @diazona@techhub.social

                                            @wildrikku @mark Wait there's *another* requests library? πŸ˜΅β€πŸ’« I'm talking about this one: pypi.org/project/requests/

                                            I'd add that I think one of the emerging strengths of Python is how easy it makes it to use dependencies, especially with inline script metadata (packaging.python.org/en/latest). So the reasons to avoid dependencies are getting less and less relevant, and people who dogmatically insist on avoiding dependencies without a good reason - not saying that's you, but those people are out there - appear increasingly out of touch with modern best practices.

                                            That being said, I still think it'd be a big improvement if the Python stdlib included better-designed URL handling modules, but realistically, I don't think that's going to happen. It's just that, because of the rich third-party library ecosystem, that's not as big of a problem as it would otherwise be.

                                              [?]Leanpub Β»
                                              @leanpub@mastodon.social

                                              7 Course-Bundle: Shut Up and Code Python + PyCharm + Coding Interview + Machine Learning + One-Liners + Regex + Lambdas leanpub.com/set/leanpub/7cours by Christian Mayer, Lukas Rieger, and Shubham Sayon is the featured Track on the Leanpub homepage! leanpub.com

                                                #agile boosted

                                                [?]Morning Dew by Alvin Ashcraft – Daily links for Windows and .NET developers. Β»
                                                @alvinashcraft.com@web.brid.gy

                                                Dew Drop – October 3, 2025 (#4511)

                                                Top Links NPU paves the way toward a more intelligent Windows (Athima Chansanchai) VS Live! Orlando – Your Ultimate Learning Adventure (Jim Harrer) Angular support for generating apps in Google AI Studio is now available (Mark (Techson) Thompson) Wasm 3.0 for .NET Developers (Sam Basu) GitMCP – Instantly create a Remote MCP server for any … Continue reading Dew Drop – October 3, 2025 (#4511)

                                                [?]Leanpub Β»
                                                @leanpub@mastodon.social

                                                New πŸ“š Release! Practical Pydantic: The Missing Guide to Data Validation in Python by Nuno Bispo

                                                Bad data breaks good code.

                                                Enter Pydantic.

                                                Find it on Leanpub!

                                                Link: leanpub.com/practical-pydantic

                                                  #agile boosted

                                                  [?]Morning Dew by Alvin Ashcraft – Daily links for Windows and .NET developers. Β»
                                                  @alvinashcraft.com@web.brid.gy

                                                  Dew Drop – October 2, 2025 (#4510)

                                                  Top Links .NET Rocks! – Local AI Models with Joe Finney (Carl Franklin & Richard Campbell) The $150 Secret Hiding in Plain Sight (Jim Harrer) Organize Blazor Diagrams Easily Using Diagram Container (Balavignesh RaviChandran) Microsoft marks 50 years with limited edition Crocs shoes nodding to Windows XP (Windows Team) Introducing Microsoft Agent Framework (Preview): Making … Continue reading Dew Drop – October 2, 2025 (#4510)

                                                  [?]Leanpub Β»
                                                  @leanpub@mastodon.social

                                                  15 Cheat Sheet Collection in Python + Git + NumPy + ML + Mindset by Christian Mayer is free with a Leanpub Reader membership! Or you can buy it for $7.99! leanpub.com/python-cheat-sheet

                                                    [?]Stu Β»
                                                    @tehstu@hachyderm.io

                                                    I don't want to use anything Microsoft or Microsoft-adjacent for authoring Python. I *had* been using PyCharm Community Edition, because that tends to be the preferred IDE at work. However, with JetBrains now making us opt-out of something AI related (I don't even care what the details are), I want to use something else.

                                                    Zed looking interesting, but it's AI front and center.

                                                    At this rate I'll end up on Thorny or something. But seriously, what simple IDE are people using these days?

                                                      #agile boosted

                                                      [?]Morning Dew by Alvin Ashcraft – Daily links for Windows and .NET developers. Β»
                                                      @alvinashcraft.com@web.brid.gy

                                                      Dew Drop – October 1, 2025 (#4509)

                                                      Top Links TypeScript 7 native preview in Visual Studio 2026 (Sayed Ibrahim Hashimi) Introducing β€˜SQL Project Power Tools’ – create, import, diagram and analyze SQL database projects in Visual Studio (Erik EJ) Spec-driven development: Using Markdown as a programming language when building with AI (Tomas Vesely) Scott & Mark Learn To… Episode #25 – Level … Continue reading Dew Drop – October 1, 2025 (#4509)

                                                      Back to top - More...