TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Are you/your company still using Python 2 in production?

8 pointsby boltefnovorover 4 years ago

4 comments

physicsguyover 4 years ago
One project I&#x27;m involved in. We used a dependency which was Python 2 only. When they finally upgraded to Python 3, it was almost a complete rewrite and completely undocumented, and broke a ton of functionality we used. We didn&#x27;t have the resource to fix the mess and aren&#x27;t actively developing it, so we dumped it in a Docker container with the pinned versions, and use it as is.<p>Also worth saying that a lot of commercial C# applications that bundle a Python console are using Python 2.7, because IronPython doesn&#x27;t go higher than that currently.
评论 #24835586 未加载
sethammonsover 4 years ago
Yup. We are working to phase it out and replace it with better solutions, but it is there and working at scale (about 5 million requests a minute across the cluster, looking at graphs). Killing it slowly as we move load out of it. Pretty sure we&#x27;ve moved out 90% of the load over the last couple of years.
drchaimover 4 years ago
Only one project is still in Python2. A project that were transfered to my without test, docs, etc. and a component heavily relying in sockets, unicode, regex that i&#x27;m quite scare to port to python3.<p>I&#x27;ll guess I will decouple that component from others and I&#x27;ll keep it in python3 while porting the rest to python3 in the future.
qppoover 4 years ago
Do build dependencies count?<p>I have a build script that requires it (rather, it&#x27;s a build script of a dependency). I didn&#x27;t write it and don&#x27;t have time or incentive to upgrade it, since it works fine.