Neil Schemenauer wrote:
Fredrik Lundh [EMAIL PROTECTED] wrote:
Thomas Lee wrote:
Even if it meant we had just one function call - one, safe function call
that deallocated all the memory allocated within a function - that we
had to put before each and every return, that's better than
It is my assertion that urlparse is currently broken. Specifically, I
think that urlparse breaks an abstraction boundary with ill effect.
In writing a mailclient, I wished to allow my users to specify their
imap server as a url, such as 'imap://user:[EMAIL PROTECTED]:port/'. Which
worked fine.
On Tue, Nov 22, 2005, Paul Jimenez wrote:
If this isn't the right forum for this discussion, or the right place
to submit code, please let me know. Also, please cc: me directly on
responses as I'm not subscribed to the firehose that is python-dev.
This is the right forum for discussion. You
At 11:51 PM 11/23/2005 +1000, Nick Coghlan wrote:
The key thing that is missing is the imp.getloader functionality discussed
at the end of PEP 302.
This isn't hard to implement per se; setuptools for example has a
'get_importer' function, and going from importer to loader is simple:
def
Paul Jimenez wrote:
So I propose that urlsplit, the main offender, be replaced with something
that looks like:
def urlsplit(url, scheme='', allow_fragments=1, default=('','','','','')):
+1 in principle.
You should probably do a
global _parse_cache
and add 'is not None' after 'if
On 11/23/05, Greg Ewing [EMAIL PROTECTED] wrote:
Brett Cannon wrote:
There are two problems to this topic; how to
get the AST structs into Python objects and how to allow Python code
to modify the AST before bytecode emission
I'm astounded to hear that the AST isn't made from
Python