Seth Michael Larson on Nostr: I want to ensure some #Python code can have compileall called on it from an old ...
I want to ensure some #Python code can have compileall called on it from an old Python version. Is the best way to verify that continues to work to load it through ast.parse() with a feature_version set? Is there anything else I need to do?
ie:
https://github.com/sethmlarson/truststore/pull/108Published at
2023-08-19 17:44:03Event JSON
{
"id": "c71560df293ee9a2c46c9bc9ed46430c8283c4765fb0d3be93f9162c14b45858",
"pubkey": "8fadfa2b2434d87e9c72d3e02ae1a3049c4c176896d9471e9347057b070570ab",
"created_at": 1692467043,
"kind": 1,
"tags": [
[
"t",
"python"
],
[
"proxy",
"https://fosstodon.org/users/sethmlarson/statuses/110917520183688880",
"activitypub"
]
],
"content": "I want to ensure some #Python code can have compileall called on it from an old Python version. Is the best way to verify that continues to work to load it through ast.parse() with a feature_version set? Is there anything else I need to do?\n\nie: https://github.com/sethmlarson/truststore/pull/108",
"sig": "3658e4f56a4ff05315474c33363ca74d8a9f851709c59c6b466150d05facfe4b9e3a0298855cc9bcea2982a7a2cf7eaf6091d1e50f655bbe1ae8b9e44a3cf71f"
}