MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/d8zo14/no_weapons_are_allowed_at_python_software/f1e7vrm/?context=3
r/Python • u/chub79 • Sep 25 '19
I live in a bizarre world this has to be stated. I would have never considered the idea of bring a weapon (I don't even think of owning one). We live in strange times.
https://www.python.org/psf/conduct/
30 comments sorted by
View all comments
7
Maybe because Python originated from a show with fighting scenes.
None shall pass!
4 u/[deleted] Sep 25 '19 Yet they only disallow knives, not swords or bunnies. 2 u/ronmarti Sep 25 '19 It says large knives.Sword != large knife? 2 u/total_zoidberg Sep 25 '19 I'dsay anything for which hasattr(weapon, "cut") or hasattr(weapon, "stab") returns True. I mean, we all love duck typing here, right? 2 u/3MU6quo0pC7du5YPBGBI Sep 25 '19 So, screwdrivers and paper are out then...
4
Yet they only disallow knives, not swords or bunnies.
2 u/ronmarti Sep 25 '19 It says large knives.Sword != large knife? 2 u/total_zoidberg Sep 25 '19 I'dsay anything for which hasattr(weapon, "cut") or hasattr(weapon, "stab") returns True. I mean, we all love duck typing here, right? 2 u/3MU6quo0pC7du5YPBGBI Sep 25 '19 So, screwdrivers and paper are out then...
2
It says large knives.
Sword != large knife?
2 u/total_zoidberg Sep 25 '19 I'dsay anything for which hasattr(weapon, "cut") or hasattr(weapon, "stab") returns True. I mean, we all love duck typing here, right? 2 u/3MU6quo0pC7du5YPBGBI Sep 25 '19 So, screwdrivers and paper are out then...
I'dsay anything for which hasattr(weapon, "cut") or hasattr(weapon, "stab") returns True. I mean, we all love duck typing here, right?
hasattr(weapon, "cut") or hasattr(weapon, "stab")
True
2 u/3MU6quo0pC7du5YPBGBI Sep 25 '19 So, screwdrivers and paper are out then...
So, screwdrivers and paper are out then...
7
u/ronmarti Sep 25 '19
Maybe because Python originated from a show with fighting scenes.
None shall pass!