gristlabs_grist-core/sandbox/grist/imports/fixtures
Dmitry S 64d9faed5a (core) Fix import parsing from choking up on Python isdigit() surprises
Summary:
Python isdigit() returns true for unicode characters such as "²", which fail
when used as an argument to int().

Instead, be explicit about only considering characters 0-9 to be digits.

Test Plan: Added a test case which produces an error without this change.

Reviewers: alexmojaki

Reviewed By: alexmojaki

Differential Revision: https://phab.getgrist.com/D3027
2021-09-20 16:17:34 -04:00
..
nyc_schools_progress_report_ec_2013.xlsx (core) move data engine code to core 2020-07-29 08:57:25 -04:00
strange_dates.xlsx (core) Move file import plugins into core/sandbox/grist 2021-08-09 18:37:14 +02:00
test_excel_types.csv (core) Move file import plugins into core/sandbox/grist 2021-08-09 18:37:14 +02:00
test_excel_types.xlsx (core) Move file import plugins into core/sandbox/grist 2021-08-09 18:37:14 +02:00
test_excel.xlsx (core) Move file import plugins into core/sandbox/grist 2021-08-09 18:37:14 +02:00
test_import_csv.csv (core) Move file import plugins into core/sandbox/grist 2021-08-09 18:37:14 +02:00
test_isdigit.csv (core) Fix import parsing from choking up on Python isdigit() surprises 2021-09-20 16:17:34 -04:00
test_long_cell.csv (core) Fix bug with "maximum recursion depth exceeded" in imports. 2021-08-20 17:44:48 -04:00
test_single_merged_cell.xlsx (core) Move file import plugins into core/sandbox/grist 2021-08-09 18:37:14 +02:00