Skip to content

Conversation

@ranaaditya
Copy link

Description

This PR is for the Migration of the project from python 2.7 to python 3.8+

Fixes # (issue)

Type of change

  • Migrate the version of python so that new contributors can contribute hassle freely.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • Any dependent changes have been merged and published in downstream modules
  • I have added all the three reviewers: @vinitshahdeo, @Kashish121 & @ishika1727

@welcome
Copy link

welcome bot commented Mar 12, 2021

Thanks for opening this pull request! 🤗
Are you looking for more beginner-friendly issues? Check out this repo.

Hacktoberfest2020

Open Source Love

Check out few other repos below 🚀

inspirational-quotes
SimpleBio
HBD
Map Of India

PS: Please add @vinitshahdeo / @Kashish121 / @ishika1727 as a reviewer if you haven't added.

@ranaaditya
Copy link
Author

ranaaditya commented Mar 12, 2021

Hi @vinitshahdeo please change the labels for this PR !

@vinitshahdeo vinitshahdeo added gssoc21 Level2 Minor Feature or Bug Fix labels Mar 13, 2021


exc = getattr(__builtin__, "IOError", "FileNotFoundError")
exc = getattr(__builtins__, "IOError", "FileNotFoundError")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if this line would not throw error while running.
It should be
exc = getattr(builtins, "IOError", "FileNotFoundError")
instead of
exc = getattr(__builtins__, "IOError", "FileNotFoundError"),
I suppose.

Reference.

@ranaaditya does this file execute normally with __builtins__ ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, it was working fine in my local.

Copy link
Collaborator

@Kashish121 Kashish121 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's good to go then.

@ranaaditya
Copy link
Author

ranaaditya commented Mar 22, 2021

@vinitshahdeo can you please review this PR and merge if possible ?

@ranaaditya
Copy link
Author

@vinitshahdeo can you please review this PR and merge if possible ?

@Kashish121 whats the status about this PR ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc21 Level2 Minor Feature or Bug Fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants