1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00
Commit graph

13 commits

Author SHA1 Message Date
Alexandre Detiste
f360600fcd
finish removing dependency on six (#403)
* finish removing dependency on six

* fix tkinter.FileDialog

* fix filedialog <> FileDialog
2024-10-22 18:11:32 -04:00
Shlomi Fish
79d27d2749 issue217 : formatting.py deprecated fix.
This file is derived from /usr/lib/python3.9/formatter.py . All changes
are placed under CC0.

See:

* https://github.com/shlomif/PySolFC/issues/217

* https://bugzilla.redhat.com/show_bug.cgi?id=1990043
2021-08-19 07:21:15 +03:00
Shlomi Fish
95a0d7d007 refactor/modernize the calls to open()
use "with", flags
2020-10-06 18:43:15 +03:00
Shlomi Fish
ed18fd8156 Order imports based on flake8-import-order.
Tested on ci. See https://github.com/PyCQA/flake8-import-order . In the
process did some other cleanups and
https://en.wikipedia.org/wiki/Code_refactoring .
2019-01-11 23:55:06 +02:00
Shlomi Fish
a54b603911 Get rid of the __all__ directive.
Everywhere except kivy.
2018-03-14 22:43:11 +02:00
lb@lb520
b5ef9b6214 Added an alternate toolkit kivy (based on SDL2) that can be used instead of tk.
Added scripts to build an android app.
2018-03-03 20:37:56 +02:00
Shlomi Fish
472c0f935a flake8 for htmllib2 2018-02-19 18:58:43 +02:00
Shlomi Fish
00e2388753 Convert to six.py.
This avoids some clutter.
2018-02-19 17:35:21 +02:00
Roderik Ploszek
0b5298f948 Fix compatibility with python 2 tests
There are still tests that use python 2, which doesn't have html.parser. In that
case a correct name of the module is imported.
2018-02-19 13:31:16 +01:00
Roderik Ploszek
f18e8d0c0b Removed unused HTMLParser constructor argument 2018-02-18 17:58:44 +01:00
Roderik Ploszek
cacca44f72 Help html parser fix
Fixes problem with unformatted help text. Implements correct handling of tag
start and end as implemented in sgmllib from Python 2.
2018-02-18 17:34:09 +01:00
Roderik Ploszek
72ad11c9ee Python 3 sgmllib fix
sgmllib is deprecated in Python 3, it was replaced by html.parser
2018-02-18 17:28:25 +01:00
Shlomi Fish
aad8429366 Port htmllib to py 3 as pysollib.htmllib2.
The help is somewhat buggy on python 3 still.
2017-08-25 18:25:58 +03:00