[issue42626] readline history, vi-editingmode and ANSI color codes bug

2021-07-30 Thread Joakim Nilsson
Joakim Nilsson added the comment: Yes, I have noticed that too, and I agree, not as bad as if it was garbled, but still an annoyance. On Fri, Jul 30, 2021 at 1:34 AM Andrei Kulakov wrote: > > Andrei Kulakov added the comment: > > Joakim: by the way, what I was able to reprodu

[issue42626] readline history, vi-editingmode and ANSI color codes bug

2021-07-29 Thread Joakim Nilsson
Joakim Nilsson added the comment: Sorry, my mistake. If you remove the last line "input()" from readline.py, it should be reproducible. Tested on Python 3.9.2. Link to video demonstration of the bug: http://nijoakim.com/readline-example.mp4. -- Added file: https://bugs.

[issue42626] readline history, vi-editingmode and ANSI color codes bug

2020-12-12 Thread Joakim Nilsson
New submission from Joakim Nilsson : Tested on Debian Bullseye with Python 3.9. If 'set editing-mode vi' is used in .inputrc and the attached program is run, a bug occurs when navigating the readline history. It seems only to occur when ANSI color escape characters are input to

[issue28739] PEP 498: docstrings as f-strings

2017-02-11 Thread Joakim Soderlund
Joakim Soderlund added the comment: I got slightly confused here while playing around. Python 3.6.0 (default, Jan 31 2017, 11:39:39) [GCC 4.9.2] on linux Type "help", "copyright", "credits" or "license" for more information. >>> class Huacaya: .

[issue25157] Installing Python 3.5.0 32bit on Windows 8.1 64bit system gives Error 0x80240017

2015-12-27 Thread Joakim Karlsson
Joakim Karlsson added the comment: After running a windows update I finally have a working Python 3.5.1 installation. Updates weren't done automatically on this box, so I was a bit behind. I wish I knew which update fixed this, and I'm sorry to add to any confusion regarding

[issue25157] Installing Python 3.5.0 32bit on Windows 8.1 64bit system gives Error 0x80240017

2015-12-23 Thread Joakim Karlsson
Joakim Karlsson added the comment: ...and I seem not to have a working installation even when installing for a single user. The installation completes without complaining, but running python ends up in an error message telling me that "api-ms-win-crt-heap-l1-1-0.dll" i

[issue25157] Installing Python 3.5.0 32bit on Windows 8.1 64bit system gives Error 0x80240017

2015-12-23 Thread Joakim Karlsson
Joakim Karlsson added the comment: My previous fix works for me when I install for current user only. When I attempt to install for all users, I get an error stating that "api-ms-win-crt-runtime-I1-1-0.dll" is missing during the "Precompililng standard

[issue25157] Installing Python 3.5.0 32bit on Windows 8.1 64bit system gives Error 0x80240017

2015-12-23 Thread Joakim Karlsson
Joakim Karlsson added the comment: I got this working on a Windows 8.1 box with the following mess. Hopefully someone more capable than me can piece together a viable fix from this. I downloaded and executed the Visual C++ Redistributable for VS 2015 here: https://www.microsoft.com/en-us

[issue22411] Embedding Python on Windows

2015-01-10 Thread Joakim Karlsson
Joakim Karlsson added the comment: Sounds reasonable. It would also require that all third party packages supply a "*_d.pyd" version of any extensions. Does setuptools and pip have any support for automatically creating debug versions of extensions with the correct naming s

[issue22411] Embedding Python on Windows

2015-01-09 Thread Joakim Karlsson
Joakim Karlsson added the comment: A complicating factor is that the debug and release versions of the dll:s seem to behave differently, which makes it hard to replace one with the other. For instance, in dynload_win.c, the suffix of files looked for are "_d.pyd" in debug mode and

[issue22411] Embedding Python on Windows

2015-01-09 Thread Joakim Karlsson
Joakim Karlsson added the comment: You shouldn't mix headers with and without the _DEBUG symbol defined. At least on some versions of MSVC this can lead to errors as some standard headers start referencing functions that are not available in both debug and release versions of the

[issue22411] Embedding Python on Windows

2014-09-14 Thread Joakim Karlsson
New submission from Joakim Karlsson: When I embed Python 3.4 in an existing app, I run in to a few issues when our app is built in debug mode. I build against the headers, libs and dlls that I get when installing python, I don't build python myself. 1. When I include python.h it will

[issue14572] 2.7.3: sqlite module does not build on centos 5

2012-04-13 Thread Joakim Sernbrant
New submission from Joakim Sernbrant : Python-2.7.3/Modules/_sqlite/connection.c: In function ‘_pysqlite_set_result’: Python-2.7.3/Modules/_sqlite/connection.c:552: error: ‘sqlite3_int64’ undeclared (first use in this function) The centos 5 version of sqlite3 (sqlite-devel-3.3.6-5) does not

[issue1743] IDLE fails to launch

2008-01-07 Thread Joakim
Joakim added the comment: I can access the file. I renamed the file and tried the command again. Then I started IDLE and got a window. A new recent-files.lst was created. So I guess I solved the problem temporarily. __ Tracker <[EMAIL PROTECTED]>

[issue1743] IDLE fails to launch

2008-01-07 Thread Joakim
Joakim added the comment: Noticed I missed a bit of the path but it didn't matter. Changed the path to C:\Python25\Lib\idlelib\idle.py and got another error. C:\Users\Joakim>"C:\Python25\python.exe" "C:\Python25 \Lib\idlelib\idle.py" Traceback (most recent call la

[issue1743] IDLE fails to launch

2008-01-07 Thread Joakim
Joakim added the comment: I have the exact same problem also running 32-bit vista. Idle worked the first time I started it but after that it doesn't start. I did run the command and got this error. C:\Users\Joakim>"C:\Python25\python.exe" "C:\Python25\Lib\idle.py" C