retracesoftware-proxy 0.1.17__py3-none-any.whl → 0.1.18__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- retracesoftware/install/patcher.py +10 -2
- retracesoftware/proxy/proxysystem.py +7 -1
- {retracesoftware_proxy-0.1.17.dist-info → retracesoftware_proxy-0.1.18.dist-info}/METADATA +1 -1
- {retracesoftware_proxy-0.1.17.dist-info → retracesoftware_proxy-0.1.18.dist-info}/RECORD +6 -6
- {retracesoftware_proxy-0.1.17.dist-info → retracesoftware_proxy-0.1.18.dist-info}/WHEEL +0 -0
- {retracesoftware_proxy-0.1.17.dist-info → retracesoftware_proxy-0.1.18.dist-info}/top_level.txt +0 -0
|
@@ -479,7 +479,10 @@ class Patcher:
|
|
|
479
479
|
|
|
480
480
|
if phase_updates:
|
|
481
481
|
self.log('install.module.phase.results', list(phase_updates.keys()))
|
|
482
|
-
|
|
482
|
+
for name,value in phase_updates.items():
|
|
483
|
+
if value is not None:
|
|
484
|
+
updates[name] = value
|
|
485
|
+
# updates |= phase_updates
|
|
483
486
|
|
|
484
487
|
return updates
|
|
485
488
|
|
|
@@ -490,6 +493,11 @@ class Patcher:
|
|
|
490
493
|
|
|
491
494
|
def patch_module_with_name(self, mod_name, module):
|
|
492
495
|
with self.disable:
|
|
496
|
+
|
|
497
|
+
if mod_name == 'selectors':
|
|
498
|
+
print('DWFEWFW!!!!!!!!!')
|
|
499
|
+
|
|
500
|
+
|
|
493
501
|
self.log('install.module', mod_name)
|
|
494
502
|
|
|
495
503
|
# self.system.log(f'patching module: {mod_name}')
|
|
@@ -517,7 +525,7 @@ class Patcher:
|
|
|
517
525
|
self.post_commit(mod_name, updates)
|
|
518
526
|
|
|
519
527
|
def __call__(self, module):
|
|
520
|
-
|
|
528
|
+
|
|
521
529
|
if not hasattr(module, '__retrace__'):
|
|
522
530
|
|
|
523
531
|
configs = list(self.configs(module))
|
|
@@ -214,7 +214,13 @@ class ProxySystem:
|
|
|
214
214
|
|
|
215
215
|
for name, value in superdict(cls).items():
|
|
216
216
|
if callable(value) and not is_instance_method(value):
|
|
217
|
-
|
|
217
|
+
if name == '__new__':
|
|
218
|
+
handler = self.thread_state.dispatch(functional.apply, internal = self.ext_handler)
|
|
219
|
+
|
|
220
|
+
utils.intercept__new__(type = cls, handler = handler)
|
|
221
|
+
else:
|
|
222
|
+
update(name, wrap)
|
|
223
|
+
# update(name, wrap_new if name == '__new__' else wrap)
|
|
218
224
|
else:
|
|
219
225
|
return wrap(cls)
|
|
220
226
|
|
|
@@ -6,7 +6,7 @@ retracesoftware/install/config.py,sha256=EzE5ifQF2lo--hu2njI4T0FJ-zlnWDJV6i7x0DM
|
|
|
6
6
|
retracesoftware/install/edgecases.py,sha256=NR3lyvad9sRsyeDv_Ya8V4xMgPsMPOi9rMcnFOJGOEA,6330
|
|
7
7
|
retracesoftware/install/globals.py,sha256=F8XvIoZQQ10gSRalk30dvdKllxlwxkaggYY6FogLDxY,510
|
|
8
8
|
retracesoftware/install/install.py,sha256=HCD_ji8XCr96b5fNzNdL_8qcEp0Jf05Em7T6GA6u8HU,4969
|
|
9
|
-
retracesoftware/install/patcher.py,sha256=
|
|
9
|
+
retracesoftware/install/patcher.py,sha256=hLOowGOKKcMTtCxQthvdC-4Cx4PCNPuBzgHy-UOBbpE,20906
|
|
10
10
|
retracesoftware/install/predicate.py,sha256=tX7NQc0rGkyyHYO3mduYHcJHbw1wczT53m_Dpkzo6do,2679
|
|
11
11
|
retracesoftware/install/record.py,sha256=R2GOIA_WAggrNmVwZJh9r1xp-GVu43iKq-ykQ1VKEHE,3408
|
|
12
12
|
retracesoftware/install/references.py,sha256=A-G651IDOfuo00MkbAdpbIQh_15ChvJ7uAVTSmE6zd4,1721
|
|
@@ -17,13 +17,13 @@ retracesoftware/proxy/__init__.py,sha256=ntIyqKhBRkKEkcW_oOPodikh-mxYl8OXRnSaj-9
|
|
|
17
17
|
retracesoftware/proxy/gateway.py,sha256=xESohWXkiNm4ZutU0RgWUwxjxcBWRQ4rQyxIGQXv_F4,1590
|
|
18
18
|
retracesoftware/proxy/globalref.py,sha256=yXtJsOeBHN9xoEgJWA3MJco-jD2SQUef_fDatA4A6rg,803
|
|
19
19
|
retracesoftware/proxy/proxyfactory.py,sha256=qhOqDfMJnLDNkQs26JqDB431MwjjRhGQi8xupJ45asg,12272
|
|
20
|
-
retracesoftware/proxy/proxysystem.py,sha256=
|
|
20
|
+
retracesoftware/proxy/proxysystem.py,sha256=APigIjw6S7pQHTya2YWhXwsObHDcejCWfra3OMyiLvk,8859
|
|
21
21
|
retracesoftware/proxy/proxytype.py,sha256=83y5rQRSts-5rLZu_k3tT90mwX2M-Ny6RZ91l-LTJ6k,13199
|
|
22
22
|
retracesoftware/proxy/record.py,sha256=47vhAYIUrR2bWo-rQ9xU_Xyg3kNrA5Lqq4-8Cxg4-zg,5463
|
|
23
23
|
retracesoftware/proxy/replay.py,sha256=bU657DOuvC4m2oWgTHbsQQPtruQzbvMXCKSyp6if9kI,9655
|
|
24
24
|
retracesoftware/proxy/stubfactory.py,sha256=eHlbzWR1LoQVkIRX1HoLPPQSOpYhOO_5R_p3buD4o7s,5256
|
|
25
25
|
retracesoftware/proxy/thread.py,sha256=T1ME6DHB8O0xVnX3Rt1lMl7oCJ2Y0aoFT91D76yNICk,3073
|
|
26
|
-
retracesoftware_proxy-0.1.
|
|
27
|
-
retracesoftware_proxy-0.1.
|
|
28
|
-
retracesoftware_proxy-0.1.
|
|
29
|
-
retracesoftware_proxy-0.1.
|
|
26
|
+
retracesoftware_proxy-0.1.18.dist-info/METADATA,sha256=RMIcM6zELH7mx-kFXHOCxtAu55602_u0NgJOUSJVwzc,203
|
|
27
|
+
retracesoftware_proxy-0.1.18.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
28
|
+
retracesoftware_proxy-0.1.18.dist-info/top_level.txt,sha256=hYHsR6txLidmqvjBMITpIHvmJJbmoCAgr76-IpZPRz8,16
|
|
29
|
+
retracesoftware_proxy-0.1.18.dist-info/RECORD,,
|
|
File without changes
|
{retracesoftware_proxy-0.1.17.dist-info → retracesoftware_proxy-0.1.18.dist-info}/top_level.txt
RENAMED
|
File without changes
|