Simon H

Results 17 comments of Simon H

My goodness the readline landscape has gotten significantly more complicated thanks to the Brew change. In source we now need: ``` try: import gnureadline as readline except ImportError: import readline...

Just to add, my hacks above don't actually help much. You need to do more to 'fix' things properly and completely remove use of libedit from your Python instance. cmd.py...

Here's another way of doing it: ``` DARWIN_LIB_EDIT_VERSION = (3, 11, 0) CURRENT_VERSION = (sys.version_info.major, sys.version_info.minor, sys.version_info.micro) import importlib if sys.platform == 'darwin': if CURRENT_VERSION >= DARWIN_LIB_EDIT_VERSION: sys.modules["readline"] = importlib.import_module("gnureadline")...

I would scrap the entire section about why you wouldn't want to use it, and instead just point out that you're not going to need this library if you're already...

> If anyone is interested, I recently made a vscode extension to paste images directly from clipboard to base64, the reason is that some companies still prefer to have the...

> I can leave this open as a feature request and see what others think of it. I've been searching for a free markdown editor that handles base64 encoding on...

I would try: from distutils import ccompiler if ccompiler.get_default_compiler() == "msvc": But that wasn't enough for vs2008. Still need stdint.h.