Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
1st1
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
451.
▲
by
1st1
11y ago
We added u'' formatting back in 3.3 to ease 2->3 porting. u'' is equivalent to simple ''.
452.
▲
by
1st1
11y ago
I think inglor refers to the new 'async with' statement: https://docs.python.org/3/reference/compound_stmts.html#asyn... Using it you can safely cleanup/commit transaction/release lock/etc
453.
▲
by
1st1
11y ago
FWIW Tornado already supports the new syntax: http://tornado.readthedocs.org/en/latest/guide/coroutines.ht...
454.
▲
by
1st1
11y ago
What's New in 3.5 document: https://docs.python.org/3.5/whatsnew/3.5.html
455.
▲
by
1st1
11y ago
Probably you're confused by PEP 492. It's not replacing asyncio, in fact it's about adding new language features to make programming with asyncio (and other frameworks, such as Tornado) more convenient.
456.
▲
What's new in Python 3.5
(docs.python.org)
1 points
by
1st1
11y ago
|
0 comments
457.
▲
Python 3.5 release candidate 1
(python.org)
5 points
by
1st1
11y ago
|
0 comments
458.
▲
by
1st1
11y ago
> And this sort of attitude is exactly why I hate Python 3 personally. "Work for free on Python 3 adoption or you're harming the Python community". Sorry if I offended you with my comment, it wasn't my intent. I guess
459.
▲
by
1st1
11y ago
Exactly. At this point, 7 years since python 3.0 was first released, PyPy's lack of interest towards it is starting to harm the community.
460.
▲
by
1st1
11y ago
I know that instead of asking I should either go and donate more money, or go and do the coding myself, but: is it possible at all that PyPy devs can focus and produce a stable PyPy for python 3.3 (at least)? Looks like it's almost the
461.
▲
by
1st1
11y ago
Stop spreading FUD please.
462.
▲
Async and await in Python 3.5 explained
(lwn.net)
3 points
by
1st1
11y ago
|
0 comments
463.
▲
PEP 492 (async/await in Python) is accepted
(python.org)
10 points
by
1st1
11y ago
|
0 comments
464.
▲
by
1st1
12y ago
There is equivalent to 'atools.join' in asyncio. And I suspect that we'll see libraries like 'atools' in the wild if the PEP is accepted. If those libraries will end up being popular, we'll add one of the to
465.
▲
by
1st1
12y ago
Please read the Rationale of the PEP. edit: I can't explain topics better than I did so in the rationale section of the PEP. If I could, I would have explained it better in that section in the first place ;) As for asyncio.coroutine d
466.
▲
by
1st1
12y ago
> I don't believe coroutines/async routines will ever be practical without decorators Why do you believe so? Have you seen the implementation of asyncio.coroutine? Have you read the PEP thoroughly and saw the downsides of using
467.
▲
PEP 492 – Coroutines with async and await syntax
(python.org)
234 points
by
1st1
12y ago
|
126 comments
468.
▲
by
1st1
12y ago
Amazing! I'd really want to try this out in production if you guys can bump python3 support to 3.3 and have a 3.3+STM version. So looking forward to that!
469.
▲
by
1st1
12y ago
Overall the proposal looks good. BUT: please provide a way to construct classes dynamically (or allow functions to have [[construct]]).
470.
▲
by
1st1
12y ago
Before calling this library advanced, it would be great if at least its 'sum()' function is implemented correctly. For instance, try to run this: 'F.sum([1, 1e100, 1, -1e100])' Edit: for those who's interested in th
471.
▲
Clipboard man vs. Ebola
(nydailynews.com)
2 points
by
1st1
12y ago
|
0 comments
472.
▲
by
1st1
12y ago
This is a link from 2001.
473.
▲
by
1st1
12y ago
I guess your next step is to emulate prototype for objects, undefined == null, and other javascript quirks? I'm not saying that the library is a bad idea, but it seems rather strange that you need something like that. Swift should prov
474.
▲
PyPy STM: Progress report and call for donations
(pypy.org)
1 points
by
1st1
13y ago
|
0 comments
475.
▲
by
1st1
13y ago
One thing I was expecting to see fixed in the next major Sketch version is accuracy of resizing vector shapes. Suppose I have a big vector icon (or outlined text-logo), and want to scale it down. When I do this in Sketch, the scaled down ve
476.
▲
by
1st1
13y ago
1. How to uninstall it now? 2. It seems the app changed something in the system settings, so that now, when I lock the screen, it goes off. Before, it started to show the screen saver. How to undo this? 3. You should have provided answers t
477.
▲
by
1st1
13y ago
A very old article from 2004 (please edit the title). The tests are only for cpython2 and for a very old one.
478.
▲
by
1st1
13y ago
This is so great! Thank you guys for all the hard work you're doing. Couple of questions: does it have support for JITed continuations as python2 pypy branch? How long will it take to add 'yield from' support from 3.3?
479.
▲
by
1st1
13y ago
(tm)
480.
▲
by
1st1
13y ago
It's still better to use promises as an underlying mechanism, so that you can "yield* promise" or "yield* generator". This approach is now implemented in python tulip framework, and it solves the problem of combinin
More ›