GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Brett Cannon (brettcannon@fosstodon.org)'s status on Saturday, 21-Oct-2023 10:42:39 JST Brett Cannon Brett Cannon

    I just announced my conditional acceptance of https://peps.python.org/pep-0723/ over at https://discuss.python.org/t/pep-722-723-decision/36763 . Hopefully this will make writing single-file scripts a much easier proposition for people when they want to reach for something not contained in the stdlib.

    In conversation Saturday, 21-Oct-2023 10:42:39 JST from fosstodon.org permalink

    Attachments

    1. No result found on File_thumbnail lookup.
      PEP 723 – Embedding pyproject.toml in single-file scripts | peps.python.org
      Python Enhancement Proposals (PEPs)
    2. Domain not in remote thumbnail source whitelist: global.discourse-cdn.com
      PEP 722/723 decision
      So this was not an easy decision to make between PEP 722 and PEP 723, making it hard to be the PEP delegate (and that’s ignoring all of the controversy surrounding me being the delegate to begin with). I think pretty much everyone acknowledged that either solution would be great to have, but neither PEP explicitly stood out as objectively better than the other (I saw plenty of comments along the lines of, “I would accept either,” after expressing a preference). So this took a lot of thought, ref...
    • Embed this notice
      Glyph (glyph@mastodon.social)'s status on Saturday, 21-Oct-2023 10:42:48 JST Glyph Glyph
      in reply to
      • mike bayer :python_logo:

      @zzzeek @brettcannon the ability to share information within a single copy-paste is really valuable. Imagine getting bug reports with a .py file that embeds all of its requirements metadata such that you can immediately run it with locked dependencies at precise versions. Once you need 2 files, complexity for sharing in a bug tracker comment goes through the roof. Same for anywhere else you can paste a blob of text.

      In conversation Saturday, 21-Oct-2023 10:42:48 JST permalink
    • Embed this notice
      mike bayer :python_logo: (zzzeek@hachyderm.io)'s status on Saturday, 21-Oct-2023 10:42:55 JST mike bayer  :python_logo: mike bayer :python_logo:
      in reply to

      @brettcannon looks like a tough spot, first I'm seeing this and my initial impression, which is worth nothing, is "why?" , but given that, certainly using a format we already have and is extensible is preferable to "let's make a whole new format that's "easy"", because any format that's "easy" only seems that way because it hasnt matured.

      In conversation Saturday, 21-Oct-2023 10:42:55 JST permalink
      洪 民憙 (Hong Minhee) repeated this.

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.