#2290 closed task (fixed)
drop python2 support
Reported by: | Antoine Martin | Owned by: | Antoine Martin |
---|---|---|---|
Priority: | major | Milestone: | 4.0 |
Component: | core | Version: | 2.5.x |
Keywords: | Cc: |
Description
And take advantage of python3 features: https://datawhatnow.com/things-you-are-probably-not-using-in-python-3-but-should/
Attachments (1)
Change History (11)
comment:1 Changed 3 years ago by
Status: | new → assigned |
---|
comment:2 Changed 3 years ago by
Updates:
- r23803 start removing gobject_compat module
- r23804 remove gobject from gobject_compat module
- r23805 remove gtk and gdk from gobject_compat module
- r23806 remove buffer and Queue indirect import
- r23807 don't use '_thread' module
- r23808 absolute imports are the default in py3k - no need to explicitly ask for them
comment:3 Changed 3 years ago by
Updates:
- r23809 + r23810 + r23811 + r23817 + r23817 remove gtk_util indirect calls, unused functions
- r23812 remove gio wrapper functions
- r23813 + r23816 + r23816 + r23819 remove unused code
- r23814 + r23815 fixups
- r23820 + r23821 PEP 3151
- r23822 PEP 0409
- r23823 remove unicode prefix
- r23824 assume
subprocess.DEVNULL
exists - r23825 assume
hashlib.algorithms_available
exists
comment:4 Changed 3 years ago by
Things we can now take advantage of:
- importlib
- faulthandler.enable
- crypt module
- multiprocessing.Process: daemon flag?
- add sysconfig to xpra info
- enum
- type hints
- no need to retry EINTR syscalls: https://www.python.org/dev/peps/pep-0475/
comment:5 Changed 3 years ago by
Updates:
- r23836 fix handling of 'help' command line argument for audio codec options
- r23837 prefer matroskamux to webmmux if it is available
- r23838 explicitly set daemon flag so we can always create subprocesses from the proxy instance
- r23839 + r23841 we can assume os.cpu_count exists
- r23840 expose sysconfig via xpra info
- r23830 remove legacy
.xpra
location for log and socket dirs - r23831 remove old
GI_TYPELIB_PATH
setup code for sound pipelines - r23842 + r23843 + r23844 + r23845 + r23847: add more type hints (found this bug in the process: r23846)
- r23832 + r23834: simplify
- r23835 fixup
- r23833: support notify2 instead of pynotify
comment:6 Changed 3 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:8 Changed 2 years ago by
comment:10 Changed 16 months ago by
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2290
Note: See
TracTickets for help on using
tickets.
Started with a huge commit: r23802.