Logo
Explore Help
Register Sign In
yujunjun/unstructured
1
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

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
Powered by Gitea Version: 1.23.5 Page: 301ms Template: 17ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API