File: main-script1.py

package info (click to toggle)
pyinstaller 6.18.0%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,824 kB
  • sloc: python: 41,828; ansic: 12,123; makefile: 171; sh: 131; xml: 19
file content (18 lines) | stat: -rw-r--r-- 366 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import basemod

import inspect
import sys


class _Popen(basemod.Popen):
    def __init__(self, *args, **kw):
        print(inspect.getfile(self.__init__))
        print(inspect.getfile(super().__init__))
        super().__init__(*args, **kw)


# Reduce recursion limit to shorten the traceback.
sys.setrecursionlimit(50)

basemod.Popen = _Popen
p = basemod.Popen()