Minor python 2.4.3 compatibility issue #92

Closed
opened 2026-02-20 22:25:18 -05:00 by deekerman · 1 comment
Owner

Originally created by @paulfertser on GitHub (Aug 5, 2011).

Hi,

Having Python 2.4.3 on a GNU/Linux system here, i had to make ``import
ctypes'' optional depending on os.name == 'nt' (it's not needed on a
sane system anyway) and also import email.utils didn't work before i
changed it to import email.Utils.

TIA :)

Originally created by @paulfertser on GitHub (Aug 5, 2011). Hi, Having Python 2.4.3 on a GNU/Linux system here, i had to make ``import ctypes'' optional depending on os.name == 'nt' (it's not needed on a sane system anyway) and also import email.utils didn't work before i changed it to import email.Utils. TIA :)
Author
Owner

@phihag commented on GitHub (Aug 6, 2011):

There's no official support for Python 2.4, but if these two imports is all what it prevents youtube-dl from running on 2.4, I don't see why it shouldn't be fixed.

@phihag commented on GitHub (Aug 6, 2011): There's no official support for Python 2.4, but if these two imports is all what it prevents youtube-dl from running on 2.4, I don't see why it shouldn't be fixed.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl-ytdl-org#92
No description provided.