[issue45445] Fail if an invalid -X option is provided

2021-10-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I'm opening this again as, this is still not finished as we want to still extend the initialization API to allow a non static string to improve the error message. In general, the protocol is to ask if there is something else to be done before

[issue45445] Fail if an invalid -X option is provided

2021-10-15 Thread Filipe Laíns
Change by Filipe Laíns : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> enhancement versions: +Python 3.11 ___ Python tracker ___

[issue45445] Fail if an invalid -X option is provided

2021-10-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 79bc5e1dc6f87149240bded3654574b24168f1ac by Pablo Galindo Salgado in branch 'main': bpo-45445: Remove incorrectly commited test file (GH-28972) https://github.com/python/cpython/commit/79bc5e1dc6f87149240bded3654574b24168f1ac

[issue45445] Fail if an invalid -X option is provided

2021-10-15 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +27260 pull_request: https://github.com/python/cpython/pull/28972 ___ Python tracker ___

[issue45445] Fail if an invalid -X option is provided

2021-10-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset db2b6a20cd35781b2f5e798e880e57e6cf9b97aa by Pablo Galindo Salgado in branch 'main': bpo-45445: Fail if an invalid X-option is provided in the command line (GH-28823)

[issue45445] Fail if an invalid -X option is provided

2021-10-12 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +27194 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28823 ___ Python tracker

[issue45445] Fail if an invalid -X option is provided

2021-10-12 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : We found that using -X can be very confusing and annoying when you make typos, so I think having errors if you pass some unknown stuff will be outweighing any downside of making this more strict. -- messages: 403733 nosy: pablogsal