-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Discussion of Python 3.7 support #7886
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
Comments
Hi all! I vote the priority for the "asyncio (many, may need a separate ticket)" In my opinion, uasyncio is a pillar of development software using MicroPython. Thank you |
Given that |
Yes, many (most?) of the asyncio features here have already been implemented; but, to be complete, I'll list them all and we can strike through them if they're complete and note where they differ. |
Uh oh!
There was an error while loading. Please reload this page.
This issue is intended to track the status of Python 3.7 core features as implemented by MicroPython. Not all of these changes should necessarily be implemented in MicroPython but documenting their status is important.
Python 3.7.0 (final) was released on the 27 June 2018. The Features for 3.7 are defined in PEP 537 and an explanation of the changes can be found in What's New in Python 3.7.
UTF-8
modepyc
__getattr__
and__dir__
; see partial implementation (__getattr__
): 454cca6__main__
Other language changes
async
andawait
are now reserved keywordsdict
objects must preserve insertion-orderbytes.fromhex()
andbytearray.fromhex()
now ignore all ASCII whitespace, not only spacesstr
,bytes
, andbytearray
gained support for the newisascii()
method, which can be used to test if a string or bytes contain only the ASCII charactersImportError
now displays module name and module__file__
path whenfrom ... import ... fails
object.__format__(x, '')
is now equivalent tostr(x)
rather thanformat(str(self), '')
types.TracebackType
can now be instantiated from Python code, and thetb_next
attribute on tracebacks is now writable-m
switch,sys.path[0]
is now eagerly expanded to the full starting directory path, rather than being left as the empty directory (which allows imports from the current working directory at the time when an import occurs)-X importtime
option or thePYTHONPROFILEIMPORTTIME
environment variable can be used to show the timing of each module importChanges to MicroPython built-in modules
gc.freeze()
,gc.unfreeze()
,gc-get_freeze_count
math.remainder()
added to implement IEEE 754-style remaindersys.breakpointhook()
added.sys.get(/set)_coroutine_origin_tracking_depth()
added.(Changes to non-built-in modules will need to be documented elsewhere.)
The text was updated successfully, but these errors were encountered: