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

async execution fails when a line of code is greater than 4,095 characters in length #218

Open
noprobelm opened this issue Mar 30, 2021 · 0 comments

Comments

@noprobelm
Copy link

noprobelm commented Mar 30, 2021

I ingest variables from org-mode tables using org properties and ob-ipython. Today, the length of my table (a list of lists) along with the variable declaration statement exceeded 4,096 characters and the line of code ceased being interpreted after the 4,095th character, which resulted in a SyntaxError. Reducing the line of code to 4,095 characters allowed for the entire statement to be interpreted, eliminating the error.

Steps to recreate:

This problem is seemingly repeatable with any sort of statement. Another example of problem recreation would be to print a string that results in the entire statement exceeding 4,095 characters.

For example, print("<4086 characters>") will successfully execute since the entire line of code is 4,095 characters in length. Likewise, print("<4087 characters>") will fail because the line of code is 4,096 characters in length.

@noprobelm noprobelm changed the title async execution fails when a line of code exceeds 4,096 characters async execution fails when a line of code is greater than 4,095 characters in length Mar 30, 2021
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

No branches or pull requests

1 participant