Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 701878 | Differences between
and this patch

Collapse All | Expand All

(-)a/pycparser/_build_tables.py (+3 lines)
Lines 13-18 Link Here
13
# Insert '.' and '..' as first entries to the search path for modules.
13
# Insert '.' and '..' as first entries to the search path for modules.
14
# Restricted environments like embeddable python do not include the
14
# Restricted environments like embeddable python do not include the
15
# current working directory on startup.
15
# current working directory on startup.
16
import importlib
16
import sys
17
import sys
17
sys.path[0:0] = ['.', '..']
18
sys.path[0:0] = ['.', '..']
18
19
Lines 32-37 c_parser.CParser( Link Here
32
33
33
# Load to compile into .pyc
34
# Load to compile into .pyc
34
#
35
#
36
importlib.invalidate_caches()
37
35
import lextab
38
import lextab
36
import yacctab
39
import yacctab
37
import c_ast
40
import c_ast

Return to bug 701878