On Tue, May 16, 2017 at 12:51 AM, Chris Angelico wrote:
>
> The Python.org support policy is that Python X.Y will be
> supported on Windows Z if and only if Windows Z was supported by
> Microsoft as of when Python X.Y.0 was released.
Python 3.4 is the last to support XP (2014-04-08 EOL).
Python 3
On Fri, May 19, 2017 at 1:57 PM, bartc wrote:
>> Yes, we acknowledge that there's much improvement needed to building
>> Python, especially on Windows.
>
> The 'improvement' seems to involve making things more complicated rather
> than less.
>
> (So I need VS2015, .NET, GIT, SVN and MSBUILD. Or ma
On Wed, May 17, 2017 at 10:49 PM, Michael Torrie wrote:
>
> In fact Python 3.6 ships with the latest version of the MSVCRT universal
> runtime.
Windows Python 3.6 is distributed with vcruntime140.dll, which is a
relatively small component of the CRT that's closely coupled to the
compiler. The Un
On Fri, May 19, 2017 at 9:18 PM, bartc wrote:
> On 19/05/2017 19:53, eryk sun wrote:
>>
>> On Fri, May 19, 2017 at 1:57 PM, bartc wrote:
>
>
>>> The 'improvement' seems to involve making things more complicated rather
>>> than less.
>
>
&
On Sun, May 21, 2017 at 5:40 PM, bartc wrote:
> I think it was YOU that got me wasting time downloading that VS2015
> solution, all 1MB of it [download size; unknown installation size],
Visual Studio installs a multi-architecture (x86, x64, arm, arm64)
build environment for native and managed
On Thu, May 25, 2017 at 12:18 AM, Deborah Swanson
wrote:
>
> When I tried to upgrade pip it failed because it could neither
> find nor install Visual Studio 2015.
Installing and upgrading pip does not require a C compiler.
> So now I'm pipless. Read the thread if you want to know why I don't hav
On Thu, May 25, 2017 at 4:09 PM, Deborah Swanson
wrote:
> Could be, maybe it's something they do for every installation, whether
> it will use it or not. But it always breaks when it can't install Visual
> Studio. Upgrade pip does run and it works up to that point. It gets as
> far as uninstalling
On Thu, May 25, 2017 at 11:11 PM, Deborah Swanson
wrote:
> Unfortunately I deleted that message and now I no longer have a pip
You still have ensurepip to be able to install and upgrade pip:
python -m ensurepip --verbose --default-pip
python -m pip install --upgrade pip
Or use get-pip.p
On Tue, Jun 6, 2017 at 7:36 PM, Fred Fishbin wrote:
>
> I want to write little program that my friend can run - he'll plug a USB drive
> into his Windows 7 PC, plug his phone in a USB port on same PC, then run my
> program and it'll xfer some audiobook files over for him.
>
> I plugged the USB dri
On Mon, Jun 26, 2017 at 5:23 PM, Bill Deegan wrote:
>
> That universal_newlines value is discarded due to:
>
> text_mode = encoding or errors or universal_newlines
>
> ...
>
> if text_mode:
> self.stdout = io.TextIOWrapper(self.stdout,
> encoding=encoding, errors=errors)
>
> There
On Mon, Jun 26, 2017 at 8:59 PM, Bill Deegan wrote:
>
> Ideally (for my use case) it would be something which propagated
> universal_newlines to io.TextIOWrapper().. rather than discards it.
> In my case I want the stdout to be encoded utf-8, but I do not want \r's
> changed to \n's as my test sys
On Tue, Jun 27, 2017 at 5:41 AM, Ben S. via Python-list
wrote:
>
> When I always call Python script from CommandPrompt like
>
> D:\tools\Python\python.exe mypythonscript.py
>
> then this Launcher should not be necessary.
The launcher implements shebang support for directly running Python
scripts
On Thu, Jun 29, 2017 at 6:50 AM, Steven D'Aprano wrote:
> try:
> something
> except:
> exc_type, exc, tb = sys.exc_info()
> print(traceback.extract_tb(tb))
> raise
>
> Why does it return the exception type separately from the exception, when
> the type can be derived by calling `ty
On Fri, Jun 30, 2017 at 8:30 PM, Debiller 777 wrote:
> I just get error that there is no module name 'encodings'
First make sure that neither PYTHONHOME nor PYTHONPATH are defined in
your environment. To check this type `set python` in a command prompt.
Neither variable should be listed.
--
http
On Wed, Jul 5, 2017 at 12:14 PM, Peter Otten <__pete...@web.de> wrote:
> Chris Angelico wrote:
>
>> You can be confident that a single assignment will happen atomically.
>> Even if "self.cnt = i" requires multiple instructions to perform
>
> For name binding
>
> cnt = i
>
> maybe, but
>
> self.cnt
On Wed, Jul 5, 2017 at 2:03 PM, Chris Angelico wrote:
> On Wed, Jul 5, 2017 at 11:50 PM, eryk sun wrote:
>> Assignment of a single variable in an unoptimized namespace isn't
>> completely immune to this -- in principle. Think __setitem__,
>> __getitem__, __hash_
On Wed, Jul 5, 2017 at 4:04 PM, Chris Angelico wrote:
> On Thu, Jul 6, 2017 at 12:39 AM, eryk sun wrote:
>>> This doesn't show a potential concurrency problem. Calculating a hash
>>> on "cnt" is independent of other threads; the actual work of
>>>
On Wed, Jul 5, 2017 at 5:06 PM, Chris Angelico wrote:
> On Thu, Jul 6, 2017 at 2:24 AM, eryk sun wrote:
>>> But what could it do? Most likely, it's going to end up mutating a
>>> dict (the core type), so unless the __setitem__ is itself maintaining
>>> complex
On Fri, Jul 7, 2017 at 7:53 AM, Steve D'Aprano
wrote:
> On Fri, 7 Jul 2017 04:30 pm, Ben S. wrote:
>
>> Is there a way to execute a python script with v3 python engine in v2
>> compatibility mode? I am thinking about a command parameter like (python.exe
>> is v3.*):
>>
>> python.exe -execute_as_
On Tue, Jul 25, 2017 at 8:43 AM, Chris Angelico wrote:
>
> I'm not actually sure what happens if you use a global declaration at
> top level. Is it ignored? Is it an error?
It isn't ignored, but it shouldn't make a difference since normally at
module level locals and globals are the same. It make
On Fri, Sep 1, 2017 at 3:23 AM, Peter Otten <__pete...@web.de> wrote:
>
> I think you have to specify the types yourself:
>
import ctypes
libm = ctypes.cdll.LoadLibrary("libm.so")
libm.sqrt(42)
> 0
libm.sqrt.argtypes = [ctypes.c_double]
libm.sqrt.restype = ctypes.c_double
>
On Fri, Sep 1, 2017 at 2:24 AM, Pavol Lisy wrote:
>
> I was trying to call sqrt using ctypes from msvcrt but I am not succesful:
>
> import ctypes
> msc = ctypes.windll.msvcrt
msvcrt.dll is private to Windows components. It's not intended for
applications. See my previous post in this thread for
On Sat, Sep 2, 2017 at 5:53 AM, Steve D'Aprano
wrote:
>
> The problem is that after the message is printed, the REPL's prompt is
> disrupted. This is especially annoying when I'm in the middle of typing a
> line.
> This is just a cosmetic flaw, but it would be nice if I could tell Python to
> red
On 6/7/23, Thomas Passin via Python-list wrote:
>
> You have by now seen several responses, and the one most likely to be
> helpful is to run pip with
>
> py -m pip
That won't be of any help if pip isn't installed. By default, Python's
installer attempts to install pip by running the ensurepip pa
On 6/7/23, Thomas Passin via Python-list wrote:
> On 6/7/2023 6:28 PM, Eryk Sun wrote:
>
>> That won't be of any help if pip isn't installed. By default, Python's
>> installer attempts to install pip by running the ensurepip package,
>> but sometimes it fa
On 6/8/23, Thomas Passin via Python-list wrote:
>
> It always gets installed, though.
By default, the option to install pip is enabled. It's implemented by
executing ensurepip after the interpreter is installed. However,
ensurepip may silently fail during installation. As a CPython triager
I've c
On 6/10/23, Thomas Passin via Python-list wrote:
>
> We can find pip.exe using good old-fashioned dir (we don't need any
> new-fangled Powershell):
>
> C:\Users\tom>dir AppData\Local\Programs\Python /Aa /S /W /B |find
> "pip"|find "Scripts"
CMD's `dir` and `for` commands support simple wildcard m
On 6/10/23, Thomas Passin via Python-list wrote:
>
> Yes; I didn't want to get too esoteric with commands that are hard to
> figure out and remember, because then why not use Powershell, whose
> commands are hard to figure out and remember?
Using `dir /s [/ad] [/b] "[path\]pattern"` with a wildca
On 6/13/23, Thomas Schweikle via Python-list wrote:
>
> Since Git enables Windows NTFS case sensitivity while checking out
> sources ... is it a bug or a "feature"? And: is there a simple
AFAIK the Windows version of Git (you're not using the Linux version
of Git via WSL, right?) does not automat
On 6/14/23, Inada Naoki via Python-list wrote:
>> Since Git enables Windows NTFS case sensitivity while checking out sources
>
> I didn't know that. Would you give us a link to this feature?
> As far as I know, `git config core.ignorecase` doesn't mean NTFS case
> sensitive.
If a repo is cloned i
On 6/15/23, Thomas Schweikle via Python-list wrote:
>
> In this case: not sure what is going on.
Possibly you have a setting configured that affects the behavior of
Git via the MinGW-w64 runtime, such that calling mkdir() ends up
calling NtSetInformationFile() to set the FileCaseSensitiveInformat
On 6/15/23, Thomas Schweikle via Python-list wrote:
>
> No. This flag is not inherited. Someone has to set it for created
> directories. It is easy to confirm: take a directory not under MSYS or
> cygwin control (because it is mounted by MSYS or cygwin), set the flag,
> then create directories. Th
On Mon, Jun 17, 2024 at 8:36 PM MRAB via Python-list
wrote:
> On 2024-06-17 20:27, Rob Cliffe via Python-list wrote:
>
> > SetClipboardData(CF_UNICODETEXT, "0")
> > CloseClipboard()
win32clipboard.SetClipboardData() first tries to covert the second
argument as an integer handle to global memory,
On Tue, Jun 18, 2024 at 2:19 AM Eryk Sun wrote:
>
>
> def set_clipboard_text(text):
> hMem = global_alloc_text(text)
> try:
> win32clipboard.SetClipboardData(win32clipboard.CF_UNICODETEXT,
> hMem)
&g
601 - 634 of 634 matches
Mail list logo