Skip to content

python-stdlib: Fix invalid backslash escapes in fnmatch and string. - #1150

Open
pablogventura wants to merge 1 commit into
micropython:masterfrom
pablogventura:stdlib-valid-string-escapes
Open

python-stdlib: Fix invalid backslash escapes in fnmatch and string.#1150
pablogventura wants to merge 1 commit into
micropython:masterfrom
pablogventura:stdlib-valid-string-escapes

Conversation

@pablogventura

Copy link
Copy Markdown
Contributor

Summary

Test plan

  • python-stdlib/fnmatch unittest (test_translate included)
  • python-stdlib/string/test_translate.py

Signed-off-by: Pablo Ventura <pablogventura@gmail.com>
@pablogventura

Copy link
Copy Markdown
Contributor Author

fnmatch.mpy (mpy-cross, compiled as fnmatch.py):

Version bytes vs master
master 962 -
this commit 962 0

string/__init__.mpy (mpy-cross, compiled as __init__.py):

Version bytes vs master
master 506 -
this commit 506 0

Runtime strings are unchanged, so bytecode size is unchanged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect python syntax in stdlib /fnmatch

1 participant