Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[patch-axel-11b] MyPi native #155

Draft
wants to merge 27 commits into
base: master
Choose a base branch
from
Draft

[patch-axel-11b] MyPi native #155

wants to merge 27 commits into from

Conversation

axel-h
Copy link
Owner

@axel-h axel-h commented Feb 26, 2024

No description provided.

@axel-h axel-h force-pushed the patch-axel-11b branch 29 times, most recently from 3a687e1 to 955f6c9 Compare February 27, 2024 21:04
@axel-h axel-h force-pushed the patch-axel-11b branch from 955f6c9 to 46afbd5 Compare May 3, 2024 15:30
axel-h added 27 commits July 1, 2024 13:41
Signed-off-by: Axel Heider <axelheider@gmx.de>
Signed-off-by: Axel Heider <axelheider@gmx.de>
Removing the function because it is not use anywhere. Not cloning the
owner seems an inconsistent behavior anyway.

Signed-off-by: Axel Heider <axelheider@gmx.de>
Support comparisson operations for derived objects only, and fail for
anything else. Currently there is no use case that requires duck
typing and stricter type checking allows catching potential errors.

Signed-off-by: Axel Heider <axelheider@gmx.de>
Signed-off-by: Axel Heider <axelheider@gmx.de>
Signed-off-by: Axel Heider <axelheider@gmx.de>
The DTB appears broken if an item in the chosen node can't be
resolved. Raise an error instead of silently ignoring this,
as it might be a typo that must be fixed. Otherwise, non-existing
items should be removed from the chosen node in a overlay file.

Signed-off-by: Axel Heider <axelheider@gmx.de>
The return values is not used by any known callers of this function.
There is no sane generic way to handle return values on recursive
invocations, thus any visitor must handle this internally. This is
doable in Python easily, so there is no need for an additional
explicit context parameter either.

Signed-off-by: Axel Heider <axelheider@gmx.de>
Element 0 may not exist if the string is empty.

Signed-off-by: Axel Heider <axelheider@gmx.de>
Lists are ordered and enumerate() provides the index.

Signed-off-by: Axel Heider <axelheider@gmx.de>
Also raise exception is there are no regions at all.

Signed-off-by: Axel Heider <axelheider@gmx.de>
Signed-off-by: Axel Heider <axelheider@gmx.de>
Signed-off-by: Axel Heider <axelheider@gmx.de>
Signed-off-by: Axel Heider <axelheider@gmx.de>
Even if NotImplemented is of the type NotImplementedType technically,
it is not supposed to be mentioned explicitly in the return types.

Signed-off-by: Axel Heider <axelheider@gmx.de>
'Callable' was added in Python 3.6 in 'collections.abc'.

Signed-off-by: Axel Heider <axelheider@gmx.de>
Signed-off-by: Axel Heider <axelheider@gmx.de>
Signed-off-by: Axel Heider <axelheider@gmx.de>
Signed-off-by: Axel Heider <axelheider@gmx.de>
In Python 3.8 the self-references are also supported natively.

Signed-off-by: Axel Heider <axelheider@gmx.de>
Signed-off-by: Axel Heider <axelheider@gmx.de>
Signed-off-by: Axel Heider <axelheider@gmx.de>
Signed-off-by: Axel Heider <axelheider@gmx.de>
Signed-off-by: Axel Heider <axelheider@gmx.de>
Use commit af80858 of github.com/dabeaz/ply/src/ply/lex.py

Signed-off-by: Axel Heider <axelheider@gmx.de>
"annotations" exists in __future__ since 3.7.0b1 and was planned
to become mandatory in 3.10. But this has been postponed.
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.

1 participant