discover contents of a namespace package

2013-12-24 Thread Brecht Machiels
kages, pkgutil.walk_packages() does this, but this doesn't work for namespace packages. Is there a way to discover the installed contents of a namespace package without manually reading the filesystem? Is there a way to do this using namespace packages created using pkgutil or pkg_resources? Thanks -- Brech

Re: Python and the need for speed

2017-04-11 Thread Brecht Machiels
On 2017-04-11 08:19:31 +, Steven D'Aprano said: On Sun, 09 Apr 2017 19:05:35 +1000, Chris Angelico wrote: When people talk about making a restricted optimizable subset of Python, the implication (if not the explicit declaration) is that it's done strictly by removing, not by rewriting. M

Re: Python and the need for speed

2017-04-12 Thread Brecht Machiels
On 2017-04-11 14:56:33 +, Steve D'Aprano said: On Tue, 11 Apr 2017 07:56 pm, Brecht Machiels wrote: Hey! This random, ignorant blogger has feelings too! :-) Hi, and welcome! Sorry, I wasn't *specifically* referring to you, except in the sense that you aren't a compiler e

Re: Python and the need for speed

2017-04-12 Thread Brecht Machiels
On 2017-04-12 14:46:45 +, Michael Torrie said: On 04/12/2017 03:33 AM, Brecht Machiels wrote: However, rinohtype is located in a very different niche and it would greatly benefit a lot from a speed boost. Rendering the Sphinx documentation (311 pages) takes almost 10 minutes on my i7

Re: Python and the need for speed

2017-04-13 Thread Brecht Machiels
Bah. My newsreader lost my reply when the WiFi connection dropped out... attempt #2. On 2017-04-12 18:45:16 +, bart4...@gmail.com said: On Wednesday, 12 April 2017 16:04:53 UTC+1, Brecht Machiels wrote: On 2017-04-12 14:46:45 +, Michael Torrie said: It would be great if you could