Files
old-parkingkoncept/parkingkonceptvenv/lib/python3.7/site-packages/werkzeug/__pycache__/filesystem.cpython-37.pyc

32 lines
2.1 KiB
Plaintext
Raw Normal View History

2019-11-17 12:44:16 +01:00
B
<00>/<2F>]5<00>@s\dZddlZddlZddlZej<04>d<03>p0dejkZdd<06>ZGdd<08>dee <09>Z
d a d
d <0B>Z dS) z<>
werkzeug.filesystem
~~~~~~~~~~~~~~~~~~~
Various utilities for the local filesystem.
:copyright: 2007 Pallets
:license: BSD-3-Clause
<EFBFBD>N<>linuxZbsdcCs6|dkr dSyt<00>|<00>jdkStk
r0dSXdS)z<>Given an encoding this figures out if the encoding is actually ASCII (which
is something we don't actually want in most cases). This is necessary
because ASCII comes under many names such as ANSI_X3.4-1968.
NF<4E>ascii)<04>codecs<63>lookup<75>name<6D> LookupError)<01>encoding<6E>r <00>9/tmp/pip-install-c3kgu56x/Werkzeug/werkzeug/filesystem.py<70>_is_ascii_encodings r c@seZdZdZdS)<03>BrokenFilesystemWarningzcThe warning used by Werkzeug to signal a broken filesystem. Will only be
used once per runtime.N)<04>__name__<5F>
__module__<EFBFBD> __qualname__<5F>__doc__r r r r
r "sr FcCs:t<00><01>}tr|rt|<00>r6ts2t<05>d<01>|<00>t<08>dadS|S)aReturns the filesystem encoding that should be used. Note that this is
different from the Python understanding of the filesystem encoding which
might be deeply flawed. Do not use this value against Python's unicode APIs
because it might be different. See :ref:`filesystem-encoding` for the exact
behavior.
The concept of a filesystem encoding in generally is not something you
should rely on. As such if you ever need to use this function except for
writing wrapper code reconsider.
z`Detected a misconfigured UNIX filesystem: Will use UTF-8 as filesystem encoding instead of {0!r}Tzutf-8) <09>sys<79>getfilesystemencoding<6E>#has_likely_buggy_unicode_filesystemr <00>!_warned_about_filesystem_encoding<6E>warnings<67>warn<72>formatr )<01>rvr r r
<00>get_filesystem_encoding*s r) rrrr<00>platform<72>
startswithrr <00>RuntimeWarning<6E>UnicodeWarningr rrr r r r
<00><module>
s