question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

So… Python 3 is starting to be used more and more and, more tellingly, being shipped as default on many Linux distros.

I have started a fork at https://github.com/jspc/spiderfoot/tree/python3 which works under python3 merely as a WIP. Now this repo has no tests written for it as far as I can see (which is bad anyway) so a simple smoke test is all I’ve been able to do.

Alongside the changes in this fork for Python3 there is also:

  • Fixed the formatting and copy on the readme
  • Fixed the use of DOS line breaks
  • Usage of a .gitignore file.

The main reason for this fork: should this project not be using Python3? Why would it not use Python3?

Issue Analytics

  • State:closed
  • Created 10 years ago
  • Reactions:4
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
smicallefcommented, May 2, 2019

@doxingme if you look at the age of this issue, it goes back to 2013. I stand by my comment in saying that porting to Python 3 was a low priority back then. It’s a higher priority now, and will probably happen within the next before Python 2 is EOL, but it remains a lower priority to getting support for additional data feeds and improving stability / reducing false positives. Furthermore, the main challenge to porting to Python 3 is in having the various third party library dependencies also support Python 3. I haven’t checked if they all do recently, but last time I checked (admittedly over a year ago), a few didn’t and there were no Python 3 alternatives.

So with regard to that and PEP8-compliance of the code base, I agree with the gist of @bcoles comment. The beauty of open source is that you can contribute to it any time, so if you feel strongly about it, any PR helping to move the code base to Python 3 would be happily accepted and highly appreciated.

0reactions
bcolescommented, Sep 8, 2020

SpiderFoot now requires Python 3.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python - endoflife.date
Release Released Security Support 3.11 1 month and 3 weeks ago. (24 Oct 2022) Ends in 4 years and 10 months. (24 Oct 2... 3.10...
Read more >
Status of Python Versions - Python Developer's Guide
Supported Versions#. Dates shown in italic are scheduled and can be adjusted. Branch. Schedule. Status. First release. End of life. Release manager. main....
Read more >
Python 3.0 Release
Are you a PSF Supporting Member yet? We're halfway to our goal of 100 new Supporting Members by the end of 2022! Can...
Read more >
Porting Python 2 Code to Python 3 — Python 3.11.1 ...
A key point about supporting Python 2 & 3 simultaneously is that you can start today! Even if your dependencies are not supporting...
Read more >
Python Documentation by Version
Python 3.10.3, documentation released on 16 March 2022. ... We're halfway to our goal of 100 new Supporting Members by the end of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found