Technically this should be the behavior of os.remove when called with no arguments
Technically this should be the behavior of os.remove when called with no arguments
I think what you have is the perfect amount of complexity, and easily extendable. I use callbacks like this all the time in my code, but also my users are part of my team at work so they don’t have far for help when the callback API isnt clear :P most of my users dont even know callbacks are a thing.
If your list of supported events gets large or you want to cheaply support future changes to the server, you could pass all event names and data through a handler callback and make users handle multiple event types.
One of the things that makes plain callbacks nice is it’s an easy way to let your users decide how they want to integrate with your library. If your callbacks are called from a background thread, it’s up to the user to figure out how they want to pass the event to other threads. Async users can use their runtime of choice to submit tasks from a callback.
Kind of silly since python is basically source code in wheel form, but you have the package on pypi listed as gpl3 but don’t provide a source repo link.
Also, I write worse code than this and get paid a lot for it :P don’t sell yourself short
I would import whatever functions you want users to use often in the init script of the ogsapi module … But idk python packages are all over the place with stuff like that, it’s definitely not required.
I’ll have it done by the end of the week
Any kind of mechanical work would be easy if you can selectively phase through matter, way better than evading assailants or sneaking around.
This reminds me of how I discovered that building a Linux kernel is actually super easy if you just need to add a few drivers
Quick! Deploy Xwayland before it’s too late!
Blender is the model open source project :P
Blender, don’t even use it that much but I love it
? But when interacting with local content your name ha sno server associated with it, so the server info is only present for federated content.
Bringing the old server back up configured with a new name could… Maybe send out duplicate content with the new name? Idk enough about activitypub yet.
Alright everyone… First we are going to find your hosts file…
The most subtle of pranks :)
The most subtle of pranks :)
QBASIC forever.
QBASIC forever.
QBASIC forever.
Gotta make them upgrade the whole system instead
Definitely profanity worst prank that profanity students had to endure
Exactly, just remove the os 😅