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.

Python 2 deprecation

See original GitHub issue

January 1st of 2020 is the EOL for Python2. I would say it makes sense to start working on python client version 2 (for us this is going to be 1.0.0), which only supports python 3 (preferably Python 3.7+)

List of things I would like to see in the new major release (suggestion are highly welcome):

  • Explicit types declarations (use typing module) -> High priority
  • asyncio and async/await usage (for both network and file system i/o operations) -> Medium to Low priority, this might be a serious change and might require the users to update a lot of their code
  • Proper exceptions inheritance (use raise from) -> High priority
  • Ordered dictionaries usage -> High priority
  • Proper strings/bytearrays usage -> High priority
  • Proper super usage -> High priority
  • pytest usage -> Medium priority

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mykola-mokhnachcommented, Feb 12, 2020

One more useful thing which is present since Python 3.7 and which we could use:

0reactions
ki4070macommented, Aug 14, 2020

Done

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sunsetting Python 2
We are volunteers who make and take care of the Python programming language. We have decided that January 1, 2020, was the day...
Read more >
Python 2 Deprecation FAQ - Salt Project Documentation
Python 2.7.18 was the final release of Python2, released in April 2020. At this point, Python 2 will no longer receive any unpaid...
Read more >
Python 2.7 Countdown
Python 2.7 will retire in 2020. Learn more and see the countdown here.
Read more >
How to Secure Python 2 Past End of Life (EOL) with ActiveState
In April 2020, Python 2.7.18 was released, which was the last version released by the PSF for Python 2. As of this writing,...
Read more >
Python 2 EOL: How to survive the end of Python 2 - InfoWorld
As of January 1, 2020, the 2.x branch of the Python programming language is no longer supported by its creators, the Python Software ......
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