[issue26670] Add a developer mode: -X dev command line option

2016-04-01 Thread SilentGhost

Changes by SilentGhost :


--
resolution: fixed -> rejected
stage:  -> resolved

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26670] Add a developer mode: -X dev command line option

2016-04-01 Thread STINNER Victor

STINNER Victor added the comment:

> Why does this patch execv() the interpreter to set options? I'd expect it to 
> be possible to get the same result by updating the argument parsing code in 
> Py_Main.

It's to set PYTHONMALLOC env var which must be set before Py_Main() is called.

Since I got negative feedback on python-ideas, I close this issue and will 
investigate the documentation option.

--
resolution:  -> fixed
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26670] Add a developer mode: -X dev command line option

2016-03-30 Thread Ronald Oussoren

Ronald Oussoren added the comment:

Why does this patch execv() the interpreter to set options? I'd expect it to be 
possible to get the same result by updating the argument parsing code in 
Py_Main.

--
nosy: +ronaldoussoren

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26670] Add a developer mode: -X dev command line option

2016-03-30 Thread STINNER Victor

New submission from STINNER Victor:

Attached patch implements the idea proposed on the python-ideas mailing list:
https://mail.python.org/pipermail/python-ideas/2016-March/039314.html

The patch is a proof-of-concept. The code still contains FIXME.

--
files: dev_mode.patch
keywords: patch
messages: 262655
nosy: haypo
priority: normal
severity: normal
status: open
title: Add a developer mode: -X dev command line option
type: enhancement
versions: Python 3.6
Added file: http://bugs.python.org/file42326/dev_mode.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com