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: What do you want to see in Python?

32 pointsby pyeuover 7 years ago
Howdy HackerNews!<p>I&#x27;m interested in HackerNews feedback and feature requests for Python. I am posing this question to the garrulous HN crowd, so I&#x27;m excited about it, and I&#x27;m sure this will be interesting!<p>Please include in your replies the following bullets: - HEADLINE: 1-line description of the request<p>- DESCRIPTION: A lengthier description of the feature. Bonus points for constructive criticism ;-)<p>We&#x27;re super interested in your feedback!<p>Thanks, HN!

14 comments

marvinaloneover 7 years ago
Real threads.<p>For better or for worse, Python is the language of deep learning. We&#x27;re going through all sorts of contortions to make it scale to large datasets, and the biggest problem is that Python is single-threaded for practical purposes.<p>I know all about the GIL and how difficult it is, but as a user, I don&#x27;t care about any of that. The moment a similarly usable language comes along that does have working threads, I&#x27;ll use it. I hope that language is also Python.
评论 #16422627 未加载
评论 #16423349 未加载
评论 #16422140 未加载
评论 #16425390 未加载
评论 #16422080 未加载
jackweirdyover 7 years ago
- More explanation&#x2F;docs of the concepts &amp; structures in asyncio<p>- Some descriptions &amp; examples of the constructs in the asyncio module, and what kind of problems you&#x27;d use each construct for would go a long way. IMO the API docs are too detailed to be able to learn from vs reference[0]. Perhaps a HOWTO is the kind of level I&#x27;d be looking for[1]. Or maybe this already exists but I&#x27;m using bad search terms.<p>[0] <a href="https:&#x2F;&#x2F;docs.python.org&#x2F;3&#x2F;library&#x2F;asyncio.html" rel="nofollow">https:&#x2F;&#x2F;docs.python.org&#x2F;3&#x2F;library&#x2F;asyncio.html</a> [1] <a href="https:&#x2F;&#x2F;docs.python.org&#x2F;3&#x2F;howto&#x2F;index.html" rel="nofollow">https:&#x2F;&#x2F;docs.python.org&#x2F;3&#x2F;howto&#x2F;index.html</a>
afarrellover 7 years ago
Another LTS release would be cool. Toward the end of 2011[1], it was announced that python 2.7 that would be supported until 2020[2]. With 8 years of support, this effectively made 2.7 into an LTS release. It would help 2-&gt;3 migration efforts if there was a python 3.x LTS release.<p>[1] <a href="https:&#x2F;&#x2F;www.python.org&#x2F;dev&#x2F;peps&#x2F;pep-0404&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.python.org&#x2F;dev&#x2F;peps&#x2F;pep-0404&#x2F;</a> [2] <a href="http:&#x2F;&#x2F;legacy.python.org&#x2F;dev&#x2F;peps&#x2F;pep-0373&#x2F;#update" rel="nofollow">http:&#x2F;&#x2F;legacy.python.org&#x2F;dev&#x2F;peps&#x2F;pep-0373&#x2F;#update</a>
评论 #16419986 未加载
Kihashiover 7 years ago
My main pain points with python currently are distribution and GUI. PyInstaller is working <i>fairly</i> well at the former, but is by no means perfect. For GUI, there are a lot of options, but they all come with suboptimal trade-offs (licensing, non-native look, dated look, etc).<p>The recent features that have been added have been amazing, though. The new Windows installer, type hinting, asyncio, and f-strings have all made my life easier.
评论 #16420890 未加载
sliover 7 years ago
I&#x27;d like to see van Rossum drop his anti-functional sentiment, but at the same time I suppose there are much better languages for that.
_sdegutisover 7 years ago
Actual anonymous functions. Not just lambda expressions.
评论 #16422103 未加载
scolvinover 7 years ago
1. Type safety!<p>Run time type hint checks in the standard library, small performance impact allowed.<p>2. Compilation&#x2F;optimisation using your hints<p>Like cython but using python&#x27;s own type hints so you can give the compiler type information without leaving valid python.
ram_rarover 7 years ago
As a python aficionado, I am really concerned that Python might eventually become the new Perl. Golang has pretty much replaced python for most of infra level projects.<p>1. Python needs to get JIT support (interfaces to dynamically JIT), beyond PyPy.<p>2. Type Safety. Type hinting is a good start. I love the direction projects like mypy is going. Allow programmers to mention types for functions which can be then JITed.
tonyedgecombeover 7 years ago
Packaging still seems cumbersome to me although to be fair I don&#x27;t think any language&#x2F;community has sorted this yet.
评论 #16438561 未加载
mixmastamykover 7 years ago
Python has just about everything it can have without breaking compatibility. Also believe 3.7 is in feature freeze.<p>The remaining hurdle appears to be performance. Perhaps bundling cython or pypi is doable?
xiaodaiover 7 years ago
Successful Gilectomy so we can use shared-memory multi-threading!
vgy7ujmover 7 years ago
Curly braces, non-significant whitespace, sigils...
评论 #16424470 未加载
jklein11over 7 years ago
Remove the GIL
评论 #16420591 未加载
ivanjarosover 7 years ago
Brackets, ffs.
评论 #16422483 未加载