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

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

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    ari :prideified: (ar@is-a.cat)'s status on Wednesday, 07-Aug-2024 20:56:08 JSTari :prideified:ari :prideified:

    both this

    def argv_transform(argv):
    for arg in argv:
    k, v = arg.split("=")
    yield k, v.split(",")

    and this:

    def argv_transform(argv):
    for arg in argv:
    k, v = arg.split("=")
    yield k, v.split(",")

    is valid (doesn't throw obvious errors) python code.
    tbqh, I would've expected k, v to be out of scope in the second example, and the function to throw an error.

    In conversationabout 10 months ago from is-a.catpermalink
  • 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.