Message268496
How about wrapping the appropriate tkinter code with (untested yet)
import os
HOME = os.environ['HOME']
try:
<run tkinter>
finally"
os.environ['HOME'] = HOME # will this unset?
or use a restore_env('HOME', ...) context manager?
Revising os.expanduser or apps to ignore HOME while tk is running is a related but different issue. |
|
Date |
User |
Action |
Args |
2016-06-14 01:11:29 | terry.reedy | set | recipients:
+ terry.reedy, paul.moore, tim.golden, markroseman, docs@python, zach.ware, serhiy.storchaka, eryksun, steve.dower, Jarrod Petz |
2016-06-14 01:11:29 | terry.reedy | set | messageid: <1465866689.49.0.20471560476.issue27263@psf.upfronthosting.co.za> |
2016-06-14 01:11:29 | terry.reedy | link | issue27263 messages |
2016-06-14 01:11:29 | terry.reedy | create | |
|