Python 3.15's JIT is now back on track
https://fidget-spinner.github.io/posts/jit-on-track.html
#HackerNews #Python #JIT #Python315 #Programming #News #TechUpdates
@xahteiwi Agreed, although I would argue the knob should be logging.basicConfig() (or, generally speaking, the level and filter facilities provided by the logging module). Libraries shouldn't be defining their own environment variables to control logging; that's the application developer's responsibility.
Python 3.15's JIT is now back on track
https://fidget-spinner.github.io/posts/jit-on-track.html
@sunray @ellie It's not really a problem with pip itself, the problem is people blindly running `pip install` (or worse, `sudo pip install` on Unix-like systems) without using a virtual environment, which winds up installing packages into their one "global" Python environment. If you do that, sooner or later you run into conflicting versions of dependencies, and in some cases it can break your system. pipx and similar tools solve that by automatically creating a fresh virtual environment for every program you install with them.
If you are a developer who maintains a #Python client library for a REST API, do you know how you can make me, a user of your library, truly happy?
Riddle your library with `logging` calls. And give me a easy knob, preferably an environment variable, to turn the log level up. Way up.
JavaにJavaScriptエンジン「V8」とPythonランタイム「CPython」を組み込む「Project Detroit」、オラクルが発表
https://www.publickey1.jp/blog/26/javajavascriptv8pythoncpythonproject_detroit.html
#publickey1 #Java #JavaScript #プログラミング言語 #Oracle #Python
Wow, #PHP you make it interesting to use traits and "extend" them ... I would never have guessed that.
class Something {
use ExportTrait {
createA as traitCreateA;
createB as traitCreateB;
}
public function createA() {
return $this->traitCreateA();
}
}
And in #python it happens that you can even guess how it might be done without knowing the syntax. Less often, but it happened to me.
Python 3.15’s JIT is now back on track https://lobste.rs/s/nvlqyc #performance #plt #python
https://fidget-spinner.github.io/posts/jit-on-track.html
Do you have any suggestions of good books around python and numpy/scipy?
Automatic data structure visualization in your IDE using 𝗺𝗲𝗺𝗼𝗿𝘆_𝗴𝗿𝗮𝗽𝗵:
- web debugger binary tree demo: https://memory-graph.com/#codeurl=https://raw.githubusercontent.com/bterwijn/memory_graph/refs/heads/main/src/bin_tree.py×tep=0.2&play
- setup video for VS Code: https://youtu.be/23_bHcr7hqo
#Python #programming #memory_graph

Season 1 Lesson 9 Part 4 - Your First Steps Python Booleans Made Easy For Professional Coders Fast #pythonprogramming #learncoding #softwaredeveloper #codingtutorial #jupyternotebook #dataengineer #pythoncode #dataanalysis #softwarengineer #python
Python Tip #76 (of 365):
Don't call the string split() method with a space character
Instead of this:
words = some_string.split(" ")
Do this:
words = some_string.split()
Calling the split method without arguments will:
• Trim whitespace from either end of the string
• Split by any amount of consecutive whitespace characters
Note that "whitespace characters" isn't just spaces: newlines and tabs count also.
More on the split() method: https://pym.dev/string-split-method/