Ahh, I was looking in the source code for my developer installation but was actually running the code on the 1.85.4 Standalone. The clearEvents parameter must still be upstream only and not yet released. Unfortunately; the online API documents are ahead of the released version.
I am running psychopy 1.85.4 on macOS. Still not sure how this bug can be fixed. Workaround is possible, though, given that what I need is just the response time.
This ends up printing negative timestamps like: keys = [['right', -7.34115810000003]]
Using timeStamped=True does not give any timestamp at all, only showing the key pressed. Adding clearEvents=True does not make any difference.
Would need to know more details to help here, but anyway instead would advise that you upgrade to the new Keyboard class, which supersedes and is far superior to the old event module in terms of timing.