Jacob Williams

Results 180 comments of Jacob Williams

Yes you can do it. I can try to work up a simple example...

Look at the example here: https://github.com/jacobwilliams/json-fortran/pull/547

There are various ways to check if a variable is in the file. The `json_file` type has a `.in` operator, so you can do stuff like this: ```fortran if (.not....

I'm curious to know the reason for these magic numbers (32760 & 131071, and now 15000). Edit: I guess 32760 is supposed to be the max length of a command...

BTW, this fix (just manually changing 32760 to 15000 works for me! Thanks!

I think this `chunks` routine is fundamentally broken, since it allows lines that are > than these bounds. The fix should be to rewrite it so that it doesn't do...

Example: ```python prefix_files = ['1', '2', '333', '4', '44', '55555', '1', '1', '1', '1', '1', '1', '1'] print('') file_lists = list( chunks(prefix_files, 10) ) print(file_lists) for f in file_lists: print(len(''.join(f)))...

Note that `compile_missing_pyc()` seems to be assuming the max for Windows is 8190. ```python # We avoid command lines longer than 8190 if on_win: limit = 8190 else: limit =...