Can someone help me understand what's going on with reference counts during a #python exception in a #jupyter notebook?
# Cell 1
import sys
class Test:
def exception(self):
raise ValueError("test")
t = Test()
print(sys.getrefcount(t)) # -> 2
t.exception()
# Cell 2
print(sys.getrefcount(t)) # -> 4
Why does the reference count remain increased after an exception? Is there a way to avoid this?
𝔻𝕚𝕖𝕘𝕠 🦝🧑🏻💻🍕 likes this.
After months of trying to fix my implementation of importlib it's finally fixed and Bob is finally fully working for building py wheel files, I plan on cleaning the code-base and adding cmake support
For the ones wondering, Bob is my build frontend for many services currently only supporting python but with plans for all the language that I use (seriously it's just c and py why'd I need to make it sound grand)
Includes a lexer capable of telling you that you made a typo on line x column y suggesting what it actually should be
You can write variables in the build file and even include tests (I'll work on making post and pre test support)
For now the build file is planned to be able to [build, test, store variables, print, input] but I'd be happy to know if there is anything else it could do that'd make it more useful
Oh yes it supports creating new projects via templates too
The build process is also very simple you just run bob yep that's it
The custom of mailing printed Christmas cards in the 19th century was a product of the industrial revolution. It was influenced by older British holiday traditions − some entirely fictional.
#Tucson #Arizona
I’ve seen the trailer for both movies while I definitely thought Sonic 3 looked entertaining, my main thought whenever I saw the trailer for Mufasa: The Lion King was “Why?”
The box office results are no surprise.
Now that oligarch-branded capitalism has a stranglehold on our freedoms. It is strangling values like fairness and privacy like an infant in a crib, and enshittifying your experience of being an American.
digbysblog.net/2024/12/22/on-e…
Tom Sullivan reshared this.
russian forces have once again executed a group of Ukrainian prisoners of war, killing five Ukrainian soldiers on December 22.
#Ukraine’s Human Rights Commissioner, Dmytro Lubinets
-"the incident has been confirmed through a video released by the 110th Separate Mechanized Brigade named after General-Major Marko Bezruchko"
At least 177 Ukrainian prisoners of war have been executed, with 109 confirmed cases occurring in 2024.
📷: People look for salvageable items following an Israeli strike in Deir el-Balah in the central Gaza Strip on Dec. 22, 2024, amid the ongoing war between Israel and the Palestinian militant group Hamas.
A weather forecast for Côte Saint-Paul shows a current temperature of -12°C, with a range of -11°C to -14°C. The wind speed is 5.6 km/h, humidity is 51%, and there is 0 mm of precipitation. The forecast is sunny. A graph below shows an hourly forecast with temperatures ranging from -12°C to -13°C between 14:00 and 20:00. The background image is an impressionistic rendering of green foliage with sunbeams.
Provided by @altbot, generated using Gemini
#LibreQoS v1.5-BETA-7 is here: libreqos.io/#download
✅ #Splynx Integration Overhaul: Topology mapping 🗺️
- Splynx Hardware (Monitoring) is now used to allow for network topology mapping.
✅Fixed #UbiquitiNetworks #UISP Integration and MORE!
Changes: github.com/LibreQoE/LibreQoS/r…
#QoE #QualityOfExperience #QoS #QualityOfService #UBNT #IPv6 #OpenSource #FLOSS #broadband #FWA #FISP #ISP #WISP #InternetServiceProvider
Cat
in reply to George Takei 🏳️🌈🖖🏽 • • •