Python 3 with backwards compatibility features
Porting Python code from version 2.x to 3.x is not a simple task. To help, I built a version of Python 3.6 that includes backwards compatibility features. Most important is the mixing of bytes and str objects and comparisons. For example, in vanilla Python 3: >>> b'foo' + 'bar' Traceback (most recent call last): File "", line 1, in TypeError: can't concat bytes to str >>> None ", line 1, in TypeError: unorderable types: NoneType() >> b'foo' + 'bar' sys:1: DeprecationWarning: encoding bytes to str 'foobar' >>> None < 'hi' __main__:1: DeprecationWarning: default compare is depreciated True…
Python 3 with backwards compatibility features launched on December 10, 2016 with 7 votes, #1,737 of 3,449 launches that month and more than 50% of that year's launches.
What it does
In the maker’s words, at launch
Porting Python code from version 2.x to 3.x is not a simple task. To help, I built a version of Python 3.6 that includes backwards compatibility features. Most important is the mixing of bytes and str objects and comparisons. For example, in vanilla Python 3: >>> b'foo' + 'bar' Traceback (most recent call last): File…
Does a similar job
all alternatives →
Python-to-Python compiler for some 3.6 features in older versions2017 · github.com · ▲87Python to python compiler that allows you to use Python 3.6 features in older versions. - nvbn/py-backwards
Refurb – A tool for refurbishing and modernizing Python codebases2022 · github.com · ▲123A tool for refurbishing and modernizing Python codebases - dosisod/refurb
A Python with Hindley-Milner-like type annotations, compiling to C2015 · github.com · ▲134a python-like language with hindley-milner-like type system, which is compiled to c - alehander92/Airtight
- SR
I am building a new Python library to read/write PDF files2022 · github.com · ▲279Hi HN! This is my pet project, written from scratch because there is so much to discover and learn in the process. The focus is on simplicity and incremental updates. Progress is slow because I do not have much spare time to work on this, but I would love to hear some feedback. Regards
Python 3 – An interactive deep dive2016 · educative.io · ▲5Gain insights into Python 3's new syntax, data types, strings, bytes, and iterators through interactive coding samples. Upgrade your Python skills with hands-on, real-time code modifications.
More dev tools this month
the category →

open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.
Dev tools · 28d ago · github.com

Contribute to reladraw/reladraw development by creating an account on GitHub.
Dev tools · 26d ago · github.com
OpenBot▲362Grok Bot alternative: free, local, open-source, multiplayer
Dev tools · 23d ago · openbot.run
Talanoa▲346Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…
Dev tools · 21d ago · talanoa.email
CoreSpeed▲332One MCP for everything your agents need: apps, memory, tools
Dev tools · 28d ago · corespeed.io
Source: Show HN post ↗ · launch text quoted in part
Launched alongside, December 2016
the whole month →


Talking face-to-face with your team is just one click away
Work · 2016 · slack.com


What's your workplace flavor? Join 10M+ users and take the free personality test to find out. Discover your workplace strengths and ideal career path in under 3 minutes with our CPTI™ assessment, based on the Myers-Briggs framework.
Dev tools · 2016 · cake.me
