Commit 5855d88
committed
fix(windows): guard fcntl usage behind platform checks
- core.py: lazy import now branches to msvcrt on win32
- smart_install.py: _BubbleLock uses msvcrt.locking on win32, fcntl on POSIX
- Fixes 'Missing standard library module fcntl' crash on Windows CI1 parent 5c84b32 commit 5855d88
2 files changed
Lines changed: 21 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4196 | 4196 | | |
4197 | 4197 | | |
4198 | 4198 | | |
4199 | | - | |
| 4199 | + | |
| 4200 | + | |
| 4201 | + | |
| 4202 | + | |
4200 | 4203 | | |
4201 | 4204 | | |
4202 | 4205 | | |
| |||
4212 | 4215 | | |
4213 | 4216 | | |
4214 | 4217 | | |
4215 | | - | |
4216 | | - | |
| 4218 | + | |
| 4219 | + | |
4217 | 4220 | | |
4218 | 4221 | | |
4219 | 4222 | | |
| |||
4240 | 4243 | | |
4241 | 4244 | | |
4242 | 4245 | | |
4243 | | - | |
| 4246 | + | |
4244 | 4247 | | |
4245 | 4248 | | |
4246 | | - | |
| 4249 | + | |
| 4250 | + | |
4247 | 4251 | | |
4248 | 4252 | | |
4249 | 4253 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| |||
82 | 84 | | |
83 | 85 | | |
84 | 86 | | |
85 | | - | |
86 | 87 | | |
87 | | - | |
88 | | - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
89 | 95 | | |
90 | 96 | | |
91 | 97 | | |
92 | 98 | | |
93 | | - | |
94 | 99 | | |
95 | 100 | | |
96 | | - | |
| 101 | + | |
| 102 | + | |
97 | 103 | | |
98 | 104 | | |
99 | 105 | | |
| |||
0 commit comments