I know power mode together with a slew of other options can be enabled in the interpreter with :power. Is there a way to leave power mode and return to a regular user?
Cheers,
Henry Henrinson
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The short answer is no. The reason is that power mode imports various classes and adds to the classpath, and the JVM is not designed to unload classes and classpaths. So although you could remove some aspects of power mode, it would be tricky to leave the JVM in the same state afterwards as if you hadn’t used it, so you’d really only end up half removing it.