This website requires JavaScript.
Explore
Help
Register
Sign In
yujunjun
/
unstructured
Watch
1
Star
0
Fork
0
You've already forked unstructured
mirror of
https://github.com/Unstructured-IO/unstructured.git
synced
2025-09-18 04:47:38 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
unstructured
/
unstructured
/
__version__.py
2 lines
49 B
Python
Raw
Normal View
History
Unescape
Escape
fix(nltk): remedy Windows temp-file problem (#3395) **Summary** The implementation of `tempfile.NamedTemporaryFile` on Windows Python is problematic in certain situations. In particular, it raises `PermissionError` when attempting to access the temporary file by name rather than just by the file-descriptor returned by the context-manager. Remedy this situation by using `tempfile.TemporaryDirectory` instead and using a file name of our choosing. The temporary directory is deleted with all its contents when the context manager closes so the effect is the same and does not produce the error on Windows.
2024-07-15 18:58:32 -07:00
__version__
=
"
0.15.0-dev11
"
# pragma: no cover
Reference in New Issue
Copy Permalink