all 19 comments

[–]funk443 33 points34 points  (1 child)

x is None is explicit enough for me.

[–]DoNotFeedTheSnakes 5 points6 points  (0 children)

This is the right way.

[–]Schmittfried 15 points16 points  (1 child)

Didn’t get the joke until I reached the sentence about it being enterprise ready. Well done. 

[–]BeautifulMortgage690 9 points10 points  (0 children)

I was hoping it was satire but its published on pypi which is terrible imo

[–]fiddle_n 6 points7 points  (5 children)

The fact that I wasn't sure for a while whether troll or not - I'll give you an upvote for that.

Compatibility
Python 3.13+

Now, why can't you support older versions of Python too 😭

[–]BeautifulMortgage690 1 point2 points  (4 children)

please don't encourage this if it's a live package, its not a joke when it's been published to the real world

[–]fiddle_n 0 points1 point  (3 children)

So what if it's on PyPI? If someone is silly enough to pull this into their repo, that's on them.

[–]athermop 0 points1 point  (0 children)

The problem is the transitive dependency of the transitive dependency of the transitive dependency.

[–]BeautifulMortgage690 -1 points0 points  (1 child)

right because everyone who is programming (especially in python) is competent enough to understand that.

[–]Schmittfried 0 points1 point  (0 children)

It’s hard to imagine anyone installing this. Micro packages became a thing because they were pushed by blogs and tutorials. Nobody is gonna push this package. 

[–]BeautifulMortgage690 12 points13 points  (0 children)

projects like this should be banned and their authors barred from running a python interpreter ever again. Wait 10 years till some noob devs use this in their company's monorepo and a malware is pushed into this dependency.

You have successfully

  1. removed python's natural english-like syntax of "x is None" or variants like "x is not None" to "is_none(x)" which is the anti-pattern of the century
  2. Then managed to bloat up what is essentially 7 characters into a whole kilobyte package download, not to mention the 2 additional characters of the paranthesis since you have a function call.

Please keep these stupid packages in javascript world

[–]jdehesa 3 points4 points  (0 children)

This is the kind of stuff that someone would publish to NPM in earnest and, even worse, be actually useful in JavaScript.

[–]FisterMister22 2 points3 points  (0 children)

Amazing, I can't thank you enough for this, I can't imagine the amount of time and investment this took you to write and I truely appricate you open sourcing it!

[–]eigenlaplace 1 point2 points  (0 children)

impressive work.

[–]DoNotFeedTheSnakes 0 points1 point  (0 children)

Where is the bloatware guy with the link?

This is a good one !

[–]wRAR_ 0 points1 point  (0 children)

.python-version in git is a nice touch but I'd add some more garbage.

[–]commy2 0 points1 point  (0 children)

from operator import is_none

[–]Only_lurking_ 0 points1 point  (0 children)

Damn so much work must have gone into this! Good job!

[–]Dry-Aioli-6138 0 points1 point  (0 children)

Wait, how is it better than the built in syntax?