> IMHO, this is a rather niche use case. And I suppose you could
> relatively easily implement it yourself with a site hook that adds
> comments to ~/.pyhistory as you suggest. If you want this
> there's no need for it to be part of Python itself.
> FWIW, IPython, as far as I can tell, already saves some timestamp
> information in its history file.
> -- Thomas
where i can find info on how python writes te history file?