[IPython-dev] Packaging also the debug version ipython_d.exe for MS-Windows
me at crwu.de
Mon Oct 17 11:56:09 EDT 2016
it is still not correct, even after launching `python_d -m IPython` and do
nothing except quiting. The following error message is shown:
Debug memory block at address p=0000000003C436C0: API 'm'
> 3 bytes originally requested
> The 7 pad bytes at p-7 are FORBIDDENBYTE, as expected.
> The 8 pad bytes at tail=0000000003C436C3 are FORBIDDENBYTE, as
> The block was made by call #1268489 to debug malloc/realloc.
> Data at p: 79 0a 00
> Fatal Python error: bad ID: Allocated using API 'm', verified using API 'r'
> Thread 0x000030c4 (most recent call first):
> File "C:\Program Files\Python35\lib\threading.py", line 293 in wait
> File "C:\Program Files\Python35\lib\threading.py", line 549 in wait
> line 834 in run
> line 60 in needs_sqlite
> File "<decorator-gen-23>", line 2 in run
> File "C:\Program Files\Python35\lib\threading.py", line 914 in
> File "C:\Program Files\Python35\lib\threading.py", line 882 in _bootstrap
> Current thread 0x00001a0c (most recent call first):
> line 152 in input
> line 172 in ask_yes_no
> line 3077 in ask_yes_no
> line 426 in interact
> line 440 in mainloop
> line 348 in start
> line 596 in launch_instance
> line 119 in start_ipython
> line 14 in <module>
> File "C:\Program Files\Python35\lib\runpy.py", line 85 in _run_code
> File "C:\Program Files\Python35\lib\runpy.py", line 184 in
Is there any way to fix this issue?
2016-10-17 13:29 GMT+02:00 Thomas Kluyver <takowl at gmail.com>:
> I don't think we can easily make such a shortcut, but if you have a debug
> build of Python, you can launch IPython in it by running:
> debug-python -m IPython
> On 17 October 2016 at 09:28, Chuanren Wu <me at crwu.de> wrote:
>> Dear developers,
>> is it possible also to package a ipython_d.exe for the debug-version of
>> (officially packaged) python under windows? Since MSVC has different CRTs
>> for debug and released objs, it is not good (perhaps not possible) to mix
>> I am relatively new to python, mainly for the reason that I want to
>> provide a binding to my C++ numerical library. With a debug version of
>> ipython_d alongside with the release version is very convenient to debug
>> the binding. Btw, the default numpy packaging for windows has a debug
>> version as well, I did not investigate on how do they achieved that but I
>> think this would not be difficult for ipython.
>> I even don't know whether this request is suitable for a Github ticket,
>> therefore I'd rather send you a email to ask.
>> Best regards
>> C. Wu
>> IPython-dev mailing list
>> IPython-dev at scipy.org
> IPython-dev mailing list
> IPython-dev at scipy.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-dev