MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _compile_source

Function _compile_source

tools/python-3.11.9-amd64/Lib/zipimport.py:693–695  ·  view source on GitHub ↗
(pathname, source)

Source from the content-addressed store, hash-verified

691# Given a string buffer containing Python source code, compile it
692# and return a code object.
693def _compile_source(pathname, source):
694 source = _normalize_line_endings(source)
695 return compile(source, pathname, 'exec', dont_inherit=True)
696
697# Convert the date/time values found in the Zip archive to a value
698# that's compatible with the time stamp stored in .pyc files.

Callers 1

_get_module_codeFunction · 0.85

Calls 2

_normalize_line_endingsFunction · 0.85
compileFunction · 0.70

Tested by

no test coverage detected