$74 GRAYBYTE WORDPRESS FILE MANAGER $53

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/python37/lib/python3.7/site-packages/libpasteurize/fixes/

HOME
Current File : /opt/alt/python37/lib/python3.7/site-packages/libpasteurize/fixes//__init__.py
import sys
from lib2to3 import refactor

# The original set of these fixes comes from lib3to2 (https://bitbucket.org/amentajo/lib3to2):
fix_names = set([
                 'libpasteurize.fixes.fix_add_all__future__imports',  # from __future__ import absolute_import etc. on separate lines
                 'libpasteurize.fixes.fix_add_future_standard_library_import',  # we force adding this import for now, even if it doesn't seem necessary to the fix_future_standard_library fixer, for ease of testing
                 # 'libfuturize.fixes.fix_order___future__imports',  # consolidates to a single line to simplify testing -- UNFINISHED
                 'libpasteurize.fixes.fix_future_builtins',   # adds "from future.builtins import *"
                 'libfuturize.fixes.fix_future_standard_library', # adds "from future import standard_library"

                 'libpasteurize.fixes.fix_annotations',
                 # 'libpasteurize.fixes.fix_bitlength',  # ints have this in Py2.7
                 # 'libpasteurize.fixes.fix_bool',    # need a decorator or Mixin
                 # 'libpasteurize.fixes.fix_bytes',   # leave bytes as bytes
                 # 'libpasteurize.fixes.fix_classdecorator',  # available in
                 # Py2.6+
                 # 'libpasteurize.fixes.fix_collections', hmmm ...
                 # 'libpasteurize.fixes.fix_dctsetcomp',  # avail in Py27
                 'libpasteurize.fixes.fix_division',   # yes
                 # 'libpasteurize.fixes.fix_except',   # avail in Py2.6+
                 # 'libpasteurize.fixes.fix_features',  # ?
                 'libpasteurize.fixes.fix_fullargspec',
                 # 'libpasteurize.fixes.fix_funcattrs',
                 'libpasteurize.fixes.fix_getcwd',
                 'libpasteurize.fixes.fix_imports',   # adds "from future import standard_library"
                 'libpasteurize.fixes.fix_imports2',
                 # 'libpasteurize.fixes.fix_input',
                 # 'libpasteurize.fixes.fix_int',
                 # 'libpasteurize.fixes.fix_intern',
                 # 'libpasteurize.fixes.fix_itertools',
                 'libpasteurize.fixes.fix_kwargs',   # yes, we want this
                 # 'libpasteurize.fixes.fix_memoryview',
                 # 'libpasteurize.fixes.fix_metaclass',  # write a custom handler for
                 # this
                 # 'libpasteurize.fixes.fix_methodattrs',  # __func__ and __self__ seem to be defined on Py2.7 already
                 'libpasteurize.fixes.fix_newstyle',   # yes, we want this: explicit inheritance from object. Without new-style classes in Py2, super() will break etc.
                 # 'libpasteurize.fixes.fix_next',   # use a decorator for this
                 # 'libpasteurize.fixes.fix_numliterals',   # prob not
                 # 'libpasteurize.fixes.fix_open',   # huh?
                 # 'libpasteurize.fixes.fix_print',  # no way
                 'libpasteurize.fixes.fix_printfunction',  # adds __future__ import print_function
                 # 'libpasteurize.fixes.fix_raise_',   # TODO: get this working!

                 # 'libpasteurize.fixes.fix_range',  # nope
                 # 'libpasteurize.fixes.fix_reduce',
                 # 'libpasteurize.fixes.fix_setliteral',
                 # 'libpasteurize.fixes.fix_str',
                 # 'libpasteurize.fixes.fix_super',  # maybe, if our magic super() isn't robust enough
                 'libpasteurize.fixes.fix_throw',   # yes, if Py3 supports it
                 # 'libpasteurize.fixes.fix_unittest',
                 'libpasteurize.fixes.fix_unpacking',  # yes, this is useful
                 # 'libpasteurize.fixes.fix_with'      # way out of date
                ])


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 11.10 PM
root / linksafe
0755
__pycache__
--
3 Mar 2024 11.10 PM
root / linksafe
0755
__init__.py
3.632 KB
25 Oct 2018 10.21 PM
root / linksafe
0644
feature_base.py
1.683 KB
25 Oct 2018 10.21 PM
root / linksafe
0644
fix_add_all__future__imports.py
0.66 KB
25 Oct 2018 10.21 PM
root / linksafe
0644
fix_add_all_future_builtins.py
1.239 KB
25 Oct 2018 10.21 PM
root / linksafe
0644
fix_add_future_standard_library_import.py
0.647 KB
25 Oct 2018 10.21 PM
root / linksafe
0644
fix_annotations.py
1.544 KB
25 Oct 2018 10.21 PM
root / linksafe
0644
fix_division.py
0.883 KB
25 Oct 2018 10.21 PM
root / linksafe
0644
fix_features.py
2.612 KB
25 Oct 2018 10.21 PM
root / linksafe
0644
fix_fullargspec.py
0.428 KB
25 Oct 2018 10.21 PM
root / linksafe
0644
fix_future_builtins.py
1.416 KB
25 Oct 2018 10.21 PM
root / linksafe
0644
fix_getcwd.py
0.853 KB
25 Oct 2018 10.21 PM
root / linksafe
0644
fix_imports.py
4.828 KB
25 Oct 2018 10.21 PM
root / linksafe
0644
fix_imports2.py
8.379 KB
25 Oct 2018 10.21 PM
root / linksafe
0644
fix_kwargs.py
5.851 KB
25 Oct 2018 10.21 PM
root / linksafe
0644
fix_memoryview.py
0.538 KB
25 Oct 2018 10.21 PM
root / linksafe
0644
fix_metaclass.py
3.184 KB
25 Oct 2018 10.21 PM
root / linksafe
0644
fix_newstyle.py
0.867 KB
25 Oct 2018 10.21 PM
root / linksafe
0644
fix_next.py
1.204 KB
25 Oct 2018 10.21 PM
root / linksafe
0644
fix_printfunction.py
0.392 KB
25 Oct 2018 10.21 PM
root / linksafe
0644
fix_raise.py
1.073 KB
25 Oct 2018 10.21 PM
root / linksafe
0644
fix_raise_.py
1.196 KB
25 Oct 2018 10.21 PM
root / linksafe
0644
fix_throw.py
0.815 KB
25 Oct 2018 10.21 PM
root / linksafe
0644
fix_unpacking.py
5.807 KB
25 Oct 2018 10.21 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF