stchris / untangle

Converts XML to Python objects
MIT License
612 stars 83 forks source link

Workaround Path/XML string too long on Windows OS #73

Closed Liam-Deacon closed 2 years ago

Liam-Deacon commented 4 years ago

Provides a workaround for #45 (and #52?) when attempting to input a long XML string into os.path.exists() function when on Windows OS.

For reference, the size of string must be ≥ 2^15 (or 32768) characters - at least on Windows 10 - to trigger the issue!

coveralls commented 4 years ago

Coverage Status

Coverage increased (+0.3%) to 35.185% when pulling 6c4e5024c75b2d24ecb488e47ccbffd85129b8f6 on Lightslayer:master into cd441fd6c3375430cca9443aea10e927f3d7fe68 on stchris:master.

stchris commented 2 years ago

I want to address the "magic" aspect of detecting the input in #87