Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #7182
| References | <7d244fb0-5457-4070-8569-306797f70131@glegroupsg2000goo.googlegroups.com> <4DEE6504.50906@stoneleaf.us> <BANLkTi=Q6pJLYjB1Af+SmntHOSbHUpb0gg@mail.gmail.com> |
|---|---|
| From | Ian Kelly <ian.g.kelly@gmail.com> |
| Date | 2011-06-07 14:23 -0600 |
| Subject | Re: GIL in alternative implementations |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2546.1307478259.9059.python-list@python.org> (permalink) |
On Tue, Jun 7, 2011 at 2:22 PM, Ian Kelly <ian.g.kelly@gmail.com> wrote: > from functools import partial > > def g(value): > print(value) > return partial(g, value+1) > > f = partial(0) > for i in range(10000): > f = f() The "partial(0)" should read "partial(g, 0)", of course.
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: GIL in alternative implementations Carl Banks <pavlovevidence@gmail.com> - 2011-06-07 10:08 -0700 Re: GIL in alternative implementations Ethan Furman <ethan@stoneleaf.us> - 2011-06-07 10:51 -0700 Re: GIL in alternative implementations Ian Kelly <ian.g.kelly@gmail.com> - 2011-06-07 14:22 -0600 Re: GIL in alternative implementations Ian Kelly <ian.g.kelly@gmail.com> - 2011-06-07 14:23 -0600
csiph-web