News for hackers. Stuff that matters.
Re:You can't do that because I hate you by hiccuphippo on Friday December 29, 2023 @12:30PM (#38807669)
Thanks for this, it never occurred to me it used __repr__ for the message. I just added this to my .pythonrc

    exit.__class__.__repr__ = lambda _: exit()
    quit = exit
Edit, you also need this in your bashrc:

    export PYTHONSTARTUP=~/.pythonrc

There are no comments on this comment yet.