scoder

Results 651 comments of scoder

Marking as blocker since this is a behavioural change. It should at least be looked at again before 3.0 final is released.

Especially within non-trivial expressions, coercion to Python probably isn't intended and thus not the main issue. It also feels like a complex result, while mathematically correct, is rather unlikely to...

I updated the `backports_abc` package. It now has an explicit installation procedure. I also added a pure-ABC implementation of `inspect.isawaitable()` as there is no other way to produce an Awaitable...

The Windows build fails because we don't call `msvcbuild.bat` correctly from a VS prompt. I don't know how to do that. Any idea?

This explains it: https://learn.microsoft.com/en-us/visualstudio/ide/reference/command-prompt-powershell?view=vs-2022#start-from-file-browser However, it seems to suggest figuring out the absolute path to a VS batch script. :-/

It seems that `vcvarsall.bat` is what we want here: https://learn.microsoft.com/en-us/cpp/build/building-on-the-command-line?view=msvc-170

With a tree visitor, it should be easy to recognise constants as "cold code". Just run through the module, skip over function nodes, lambdas, loop nodes, generator expressions etc., and...

I'm targeting this to 3.1 because a) it's not a complete feature yet, b) we don't need it in 3.0, and c) large new features like this will probably become...

>I'll do this, but not test that it actually works. Yes, sorry, that's what I meant. It's just a little change that would at least make it possible to use...

Thanks @0dminnimda, this is going to help us a lot by speeding up the CI jobs.