-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests/cpydiff/: Improve wording, add more workarounds.
- Loading branch information
Paul Sokolovsky
committed
Jul 9, 2017
1 parent
ad5e7a0
commit 0c5369a
Showing
9 changed files
with
16 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
""" | ||
categories: Types,bytes | ||
description: bytes(...) with keywords not implemented | ||
description: bytes() with keywords not implemented | ||
cause: Unknown | ||
workaround: Input the encoding format directly. eg. ``print(bytes('abc', 'utf-8'))`` | ||
workaround: Pass the encoding as a positional paramter, e.g. ``print(bytes('abc', 'utf-8'))`` | ||
""" | ||
print(bytes('abc', encoding='utf8')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
""" | ||
categories: Types,bytes | ||
description: Bytes subscr with step != 1 not implemented | ||
cause: Unknown | ||
workaround: Unknown | ||
description: Bytes subscription with step != 1 not implemented | ||
cause: MicroPython is highly optimized for memory usage. | ||
workaround: Use explicit loop for this very rare operation. | ||
""" | ||
print(b'123'[0:3:2]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters