STT-tensorflow/tensorflow/python/autograph/pyct
Dan Moldovan e2395993d0 Upgrade to gast 0.4.
With thanks to @bhack for contributions in .

PiperOrigin-RevId: 350377724
Change-Id: If1dbc77b9c2c7d640720f847292586aca39da80d
2021-01-06 10:17:47 -08:00
..
common_transformers Switch all sources to PY3 only. 2020-10-22 06:34:09 -07:00
static_analysis Upgrade to gast 0.4. 2021-01-06 10:17:47 -08:00
testing Switch all sources to PY3 only. 2020-10-22 06:34:09 -07:00
__init__.py
anno_test.py
anno.py Properly inherit closure types in local functions. Add partial support for resolving local functions based on their type annotations. Propagate types into Expr nodes (although these are roots in expression trees). 2020-08-07 12:56:25 -07:00
ast_util_test.py Use a slower, but more robust method to parse the source of lambda functions. Fixes . 2020-07-07 06:44:32 -07:00
ast_util.py Upgrade to gast 0.4. 2021-01-06 10:17:47 -08:00
BUILD Switch all sources to PY3 only. 2020-10-22 06:34:09 -07:00
cache_test.py Internal cleanup: Extract the function caching mechanism into a standalone utility module. A subsequent pass will enable this new implementation. 2020-04-04 15:37:14 -07:00
cache.py Internal cleanup: Extract the function caching mechanism into a standalone utility module. A subsequent pass will enable this new implementation. 2020-04-04 15:37:14 -07:00
cfg_test.py Fix CFG to correctly account for lambda functions that appear in while and for loops. 2020-04-22 19:42:48 -07:00
cfg.py fix typos in python directory 2020-10-29 16:21:24 +03:00
error_utils_test.py Exclude frames corresponding to function calls found in the main autograph module (api.py) from the stack trace attached to errors that occur in converted code. 2019-12-12 06:26:32 -08:00
error_utils.py Replace instances of "whitelist" with "allowlist" where possible. See Google Developer guidelines at https://developers.google.com/style/word-list#blacklist for more information. 2020-07-08 10:13:43 -07:00
errors.py Restructure the internal mechanism for reporting errors related to unsupported Python language elements, for better simplicity and robustness. This adds generic error types in pyct, the TF-independent part of autograph, which is consistently used by the low-level components. This fixes a bug in which expected errors, like refusal to convert mangled names asks the user to file a bug. 2019-11-20 14:08:55 -08:00
gast_util.py Prepare for gast 0.3, to which TensorFlow will upgrade in version 2.2. Since TF pins the version, all libraries that depend on it need to support both gast versions to avoid dependency conflicts. 2019-12-26 10:21:47 -08:00
inspect_utils_test.py Better detection of lambda functions. Some wrapper libraries attempt to override the function's __name__, so we double check against the function's code object. 2020-12-10 11:35:08 -08:00
inspect_utils_test.sh
inspect_utils.py Better detection of lambda functions. Some wrapper libraries attempt to override the function's __name__, so we double check against the function's code object. 2020-12-10 11:35:08 -08:00
loader_test.py For long (multi-day) training runs, temporary files that got created at the 2020-04-13 20:17:39 -07:00
loader.py Remove now-dead Python 2 code. 2020-10-15 17:59:53 -07:00
naming_test.py Move the namer into the generic pyct library. Clean up dead code. 2020-03-25 11:17:03 -07:00
naming.py Move the namer into the generic pyct library. Clean up dead code. 2020-03-25 11:17:03 -07:00
origin_info_test.py Use a slower, but more robust method to parse the source of lambda functions. Fixes . 2020-07-07 06:44:32 -07:00
origin_info.py Set the origin info more accurately on certain lines generated during control flow translation. This ensures the stack trace is correctly translated when errors occur in the generated code for the respective statements. 2020-08-12 15:06:51 -07:00
parser_test.py Fix tests to pass on newer runtimes which track AST line and column numbers more accurately. 2020-07-07 15:36:56 -07:00
parser.py fix typos in python directory 2020-10-29 16:21:24 +03:00
pretty_printer_test.py
pretty_printer.py Small adjustments on import spacing. 2019-12-19 17:55:12 -08:00
qual_names_test.py Upgrade to gast 0.4. 2021-01-06 10:17:47 -08:00
qual_names.py Upgrade to gast 0.4. 2021-01-06 10:17:47 -08:00
templates_test.py Upgrade to gast 0.4. 2021-01-06 10:17:47 -08:00
templates.py Account more thoroughly for the hidden extra_test code in activity analysis. This avoids related referenced-before-assigned errors. Should fix , but that's most practical to verify after the nightly build. 2020-02-27 18:18:06 -08:00
transformer_test.py Move away from deprecated asserts 2020-06-30 16:10:22 -07:00
transformer.py Upgrade to gast 0.4. 2021-01-06 10:17:47 -08:00
transpiler_test.py Slightly refactor the source-to-source translation API to better support non-Python outputs. 2020-07-07 08:06:39 -07:00
transpiler.py fix typos in python directory 2020-10-29 16:21:24 +03:00