It sounds a bit excessive to require a python download to do searching

Discuss suggestions and ideas for the forums, site, software.

Moderator: Global Moderator

Post Reply
tobindax
Newbie
Newbie
Posts: 7
Joined: Fri Apr 05, 2013 5:01 pm

It sounds a bit excessive to require a python download to do searching

Post by tobindax » Mon Dec 09, 2019 9:00 am

Why not use this https://en.cppreference.com/w/cpp/regex ? It's much faster, it's very easy to compile and it's cross-platform.

User avatar
Peter
Administrator
Administrator
Posts: 1682
Joined: Wed Jul 07, 2010 6:14 pm

Re: It sounds a bit excessive to require a python download to do searching

Post by Peter » Wed Dec 11, 2019 11:33 am

Well, qBittorrent is open-source. You are more than welcome to write a complete overhaul of the Python-using systems and submit them as patches. (No offense intended, I really mean it. People do submit patches like this all the time and they get accepted once it matches the quality standards. That said, the plugins are in Python IIRC, so you'd have to come up with your own 100% rule/search engine system that you'd then import into qBittorrent. So you'd have to write the whole regex/Python port, then some kind of markup system so users could write plugins, then you'd have to port all the plugins.)

That said, Python is installed on every Linux distribution. Windows ships it in Store now or you can grab the regular package. Python is everywhere... So I don't really see it as a big drawback tbh.

Post Reply