Wow, I haven't heard of pathlib [1] before now, but it looks awesome! In particular, using the slash operator to join paths is brilliant. >>> p = PurePath('/etc') >>> p / 'init.d' / 'apache2' PurePosixPath('/etc/init.d/apache2') [1]: http://docs.python.org/3.4/library/pathlib.html
Python 3.4 Beta 1 Released
21–29 of 29 posts
Re: Python 3.4 Beta 1 Released
#22> a new C API for implementing custom memory allocators Wow. This'll lead to some interesting hacks, I think.
Re: Python 3.4 Beta 1 Released
#23Been using python for 7+ years now. Does everyone really think people are willing to adopt 3.x anything...? The reality of it is every place I have worked (and currently working at). Is bound by 3rd party tools and what ever interpreter they built against. Mostly that 2.6,2.7 right now. And it does not look like anyone will be switching anytime soon. Features look great, cant wait to "play" with them. But that;s abou…
Re: Python 3.4 Beta 1 Released
#24Re: Python 3.4 Beta 1 Released
#25isn't 2.7 the best python still because twisted?
http://www.python.org/dev/peps/pep-3156/
"The event loop is the place where most interoperability occurs. It should be easy for (Python 3.3 ports of) frameworks like Twisted, Tornado, or even gevents to either adapt the default event loop implementation to their needs using a lightweight adapter or proxy, or to replace the default event loop implementation with an adaptation of their own event loop implementation. (Some frameworks, like Twisted, have multiple event loop implementations. This should not be a problem since these all have the same interface.)"
Re: Python 3.4 Beta 1 Released
#26Been using python for 7+ years now. Does everyone really think people are willing to adopt 3.x anything...? The reality of it is every place I have worked (and currently working at). Is bound by 3rd party tools and what ever interpreter they built against. Mostly that 2.6,2.7 right now. And it does not look like anyone will be switching anytime soon. Features look great, cant wait to "play" with them. But that;s abou…
I think everyone is expecting a really long tail to the transition, but we'll get there eventually.
Re: Python 3.4 Beta 1 Released
#27Been using python for 7+ years now. Does everyone really think people are willing to adopt 3.x anything...? The reality of it is every place I have worked (and currently working at). Is bound by 3rd party tools and what ever interpreter they built against. Mostly that 2.6,2.7 right now. And it does not look like anyone will be switching anytime soon. Features look great, cant wait to "play" with them. But that;s abou…
Well, some people are bound to already installed interpreters. And those come with Linux distros. Many of which will be using Python 3 as the default for their 2014 releases (Fedora, Ubuntu, Arch). Plus these distributions are helping/pushing 3rd party Python developers to port to Python 3. So 2014 really looks like Python 3 mass adoption.
Re: Python 3.4 Beta 1 Released
#28> a new C API for implementing custom memory allocators Wow. This'll lead to some interesting hacks, I think.
Finally all the hacks done internaly by some big Python company is released in the wild and not by them. Check out the presentation by the creator (in french) https://github.com/haypo/conf/blob/master/2013-PyconFR-Stras...
The PEP 445 (malloc API) also allows to plug hooks on memory allocators at runtime, instead of having to recompile Python for that.
Re: Python 3.4 Beta 1 Released
#29> a new C API for implementing custom memory allocators Wow. This'll lead to some interesting hacks, I think.
"Debug tool for Python injecting memory allocation faults to simulate a low memory system to test how your application handles MemoryError exceptions."