Live data from Hacker News

PySolFC – A collection of Solitaire games for Python

github.com

21–27 of 27 posts

Re: PySolFC – A collection of Solitaire games for Python

#21
post #17

PySolFC (previously known as PySol) is a multi-platform collection of over 1000 solitaire card (and not only) games with a rich feature set that can rival commercial solitaire packages. Unfortunately, PySolFC is getting old. To bring it up to date and make PySolFC compatible with modern operating systems, it has to be ported to Python 3 first — so we desperately need Python programmers. JOIN PORTING EFFORTS AT: https…

What modern operating system doesn't quite happily run Python 2.7?

I meant this in the general sense of keeping the app up to date (and not that PySolFC does not work at all on modern operating systems).

For instance, I had graphical issues on macOS with the last official build.

Re: PySolFC – A collection of Solitaire games for Python

#22
post #19
post #12

Earlier quoted context omitted.

I've been using 3.6 for some personal work and man are f-strings and ordered dicts wonderful. I don't want to go back.

OrderedDict is just a stdlib import away in Py2.7.

Yeah, but... those are ugly. ``m = {}`` is beautiful.

Re: PySolFC – A collection of Solitaire games for Python

#23
post #22
post #19

Earlier quoted context omitted.

OrderedDict is just a stdlib import away in Py2.7.

Yeah, but... those are ugly. ``m = {}`` is beautiful.

dict == OrderedDict is a cpython implementation detail. Not doing the import is just leaving a footgun for yourself if you ever decide to try PyPy or VOC or similar.

Re: PySolFC – A collection of Solitaire games for Python

#24
post #23
post #22

Earlier quoted context omitted.

Yeah, but... those are ugly. ``m = {}`` is beautiful.

dict == OrderedDict is a cpython implementation detail. Not doing the import is just leaving a footgun for yourself if you ever decide to try PyPy or VOC or similar.

I don't think it's much of a footgun, and I don't think it's limited to CPython.

In Python 3.6, kwargs are ordered. In all versions of Python, kwargs are a dict. Therefore, in any implementation of Python 3.6, dicts are ordered.

The dev team has stopped short of promising that dicts are ordered, but I can't see how one would realistically be harmed by assuming it to be true.

Re: PySolFC – A collection of Solitaire games for Python

#26
post #23
post #22

Earlier quoted context omitted.

Yeah, but... those are ugly. ``m = {}`` is beautiful.

dict == OrderedDict is a cpython implementation detail. Not doing the import is just leaving a footgun for yourself if you ever decide to try PyPy or VOC or similar.

The 3.6 CPython dict item storage algorithm was implemented in PyPy first.

Re: PySolFC – A collection of Solitaire games for Python

#27
Important message from the project maintainer, shlomif:

"Hi all! To facilitate coordination about contributing to PySol, please join me for a real time Internet chat on ##pysol on Freenode (note the double octothorpe) . I am usually "rindolf" there with a fallback "shlomif" nickname. We may set up chat rooms on different services in the future."

Post reply on HN