[Snek] [keith-packard/snek] 4317ed: chips/samd21: Fix regex usage in uf2conv.py

Keith Packard noreply at github.com
Sun Oct 27 14:14:30 PDT 2024


  Branch: refs/heads/from-import
  Home:   https://github.com/keith-packard/snek
  Commit: 4317ed7162c6f26cef87a58db6089ef165711a80
      https://github.com/keith-packard/snek/commit/4317ed7162c6f26cef87a58db6089ef165711a80
  Author: Keith Packard <keithp at keithp.com>
  Date:   2024-10-27 (Sun, 27 Oct 2024)

  Changed paths:
    M chips/samd21/uf2conv.py

  Log Message:
  -----------
  chips/samd21: Fix regex usage in uf2conv.py

Was using \s for whitespace instead of \\s

Signed-off-by: Keith Packard <keithp at keithp.com>


  Commit: cadcebfd99c5fc2b40a4791ca909e9425bd80958
      https://github.com/keith-packard/snek/commit/cadcebfd99c5fc2b40a4791ca909e9425bd80958
  Author: Keith Packard <keithp at keithp.com>
  Date:   2024-10-27 (Sun, 27 Oct 2024)

  Changed paths:
    M ports/narrow-1284/snek-narrow-1284-math.builtin

  Log Message:
  -----------
  ports/narrow-1284: Clean up smaller math builtin list

Provide alias for 'pow', clean up inf and nan definitions.

Signed-off-by: Keith Packard <keithp at keithp.com>


  Commit: 94705b5722671a0705455fdffbba22b89e8b8957
      https://github.com/keith-packard/snek/commit/94705b5722671a0705455fdffbba22b89e8b8957
  Author: Keith Packard <keithp at keithp.com>
  Date:   2024-10-27 (Sun, 27 Oct 2024)

  Changed paths:
    M snek-builtin.py
    M snek.defs
    M test/pass-math.py
    M test/pass-op.py
    M test/pass-random.py
    M test/pass-trailing-comma.py

  Log Message:
  -----------
  Add math, random and time names to global namespace (by default)

Add '--global' parameters to snek-builtin.py to match namespaces from
builtin function names, removing those namespaces so that the names
appear in the global namespace.

By default, the math, time and random namespaces are removed.

Signed-off-by: Keith Packard <keithp at keithp.com>


Compare: https://github.com/keith-packard/snek/compare/4317ed7162c6%5E...94705b572267

To unsubscribe from these emails, change your notification settings at https://github.com/keith-packard/snek/settings/notifications


More information about the Snek mailing list