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.

Python 2.7 alpha 1

15 pointsby arthurkover 15 years ago

3 comments

cprover 15 years ago
Interesting--the Python-Dev folks are moving more and more of 3.x into the 2.x series (2.7 corresponds to 3.1). They're pretty effectively shortening the gap that people will eventually have to jump when going from 2 to 3.<p>I wonder how this will turn out, long-term? Seems like a good idea on the face of it.
评论 #978560 未加载
评论 #979874 未加载
bretthoernerover 15 years ago
What's New: <a href="http://docs.python.org/dev/whatsnew/2.7" rel="nofollow">http://docs.python.org/dev/whatsnew/2.7</a>
viraptorover 15 years ago
&#62; How does the OrderedDict work? It maintains a doubly-linked list of keys, appending new keys to the list as they’re inserted. A secondary dictionary maps keys to their corresponding list node, so deletion doesn’t have to traverse the entire linked list and therefore remains O(1).<p>Hmm... shouldn't that be `O(log n)` or something like that? Or do they really use cuckoo (or similar) hashing with O(1) hash access?
评论 #978576 未加载
评论 #978562 未加载