左右shift键

在python中区分<KeyPress-Shift_L>, <KeyPress-Shift_R>事件,但不区分<KeyRelease-Shift_L>,<KeyRelease-Shift_R>事件,请问怎样才能区分<KeyRelease-Shift_L><KeyRelease-Shift_R>事件?谢谢!