Issue2888
Created on 2020年05月08日.23:05:08 by hansiang93, last changed 2020年07月30日.18:20:06 by jeff.allen.
| Messages | |||
|---|---|---|---|
| msg13050 (view) | Author: han (hansiang93) | Date: 2020年05月08日.23:05:08 | |
When running jython with -Qnew, it always errors out. Looks like there should be a break after new in the switch case to prevent the -Q option from falling through to the default failure |
|||
| msg13052 (view) | Author: Stefan Richthofer (stefan.richthofer) | Date: 2020年05月09日.07:59:53 | |
I thought I'd be familiar with Java and Jython, but I never heard of the "-Q" option. It does not seem to be a Java option: https://docs.oracle.com/en/java/javase/14/docs/specs/man/java.html And not a Jython option: https://github.com/jythontools/jython/blob/b9ff520f4f65231209d5200c22724516a72e75f2/src/shell/jython.py#L399 https://www.jython.org/registry I suppose it is not referring to the quiet-flag: -q: don't print version and copyright messages on interactive startup So, what is it? Could you link a specification? And provide some more context. Is it a launch option? |
|||
| msg13054 (view) | Author: Stefan Richthofer (stefan.richthofer) | Date: 2020年05月09日.08:04:59 | |
Okay, Python 2 specific division option. (Had looked up Python 3 usage) -Q arg: division options: -Qold (default), -Qwarn, -Qwarnall, -Qnew |
|||
| msg13078 (view) | Author: Jeff Allen (jeff.allen) | Date: 2020年05月31日.07:16:45 | |
Sorry, schoolboy error, and evidently no test to fail. Easy fix (once we are on GitHub). |
|||
| msg13116 (view) | Author: Jeff Allen (jeff.allen) | Date: 2020年07月30日.18:20:06 | |
Closing with https://github.com/jython/jython/issues/27 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2020年07月30日 18:20:06 | jeff.allen | set | status: open -> pending messages: + msg13116 |
| 2020年05月31日 07:16:45 | jeff.allen | set | priority: normal resolution: accepted messages: + msg13078 nosy: + jeff.allen |
| 2020年05月09日 08:04:59 | stefan.richthofer | set | messages: + msg13054 |
| 2020年05月09日 07:59:53 | stefan.richthofer | set | nosy:
+ stefan.richthofer messages: + msg13052 |
| 2020年05月08日 23:05:08 | hansiang93 | create | |
Supported by Python Software Foundation,
Powered by Roundup