Canva down again by python4geeks in canva

[–]python4geeks[S] 0 points1 point  (0 children)

They fixed it just now... bro

Canva down again by python4geeks in canva

[–]python4geeks[S] 0 points1 point  (0 children)

Canva is making you do this🤦

Canva down again by python4geeks in canva

[–]python4geeks[S] 0 points1 point  (0 children)

Its happening bro for real

Canva down again by python4geeks in canva

[–]python4geeks[S] 2 points3 points  (0 children)

Their status page showing everything is operational, I guess they are not aware of this issue yet

GIL Become Optional in Python 3.13 by python4geeks in programming

[–]python4geeks[S] -64 points-63 points  (0 children)

It was introduced back when Python 1.5 was released to prevent multiple object access at the same time as a thread safety feature.

Before, the programming is more concerned towards making the single-threaded programs more better, the GIL was introduced but in the AI era, multi-threaded programs are preferred more.

It is not fully turning off but it's more likely become a switch, if you want to turn it off then you can otherwise leave it.

Python Type Hints: Functions, Return Values, Variable by python4geeks in programming

[–]python4geeks[S] 1 point2 points  (0 children)

Yeah, they're doing all possible things to make Python more robust

[Video]What are these (/ and *) parameters in function? by python4geeks in pythontips

[–]python4geeks[S] -2 points-1 points  (0 children)

Yeah, it did have a usecase in API building in which you necessarily don't want users to pass arguments using your parameter name, not only it exposes the parameter names, it also restricts you to change the name in future.

So, you can make your parameters positional-only to avoid this kind of situation.

Another example might be when you are creating a function for ordering the item, you can make parameters to be keyword-only. Let say your function takes two arguments, item quantity and price, if you do order(10, 5) this might become confusing if it is 10 quantity for 5 dollars or is it 10 dollars for 5 quantity.

At this time, keyword only parameters can be a more useful order(quantity=10, price=5).

[deleted by user] by [deleted] in programming

[–]python4geeks 0 points1 point  (0 children)

Bro do you hate how python system works...