Re: [Web-SIG] OT: dotted names (Was: Re: A Python Web Application Package and Format)

2011-04-15 Thread Fred Drake
On Fri, Apr 15, 2011 at 1:32 PM, Éric Araujo mer...@netwok.org wrote: As an aside, I wonder why people use dot+colon notation instead of just dots to reference callables.  In distutils2 for example we resolve dotted names to find command classes, command hooks and compilers. I advocated using

Re: [Web-SIG] OT: dotted names (Was: Re: A Python Web Application Package and Format)

2011-04-15 Thread Fred Drake
On Fri, Apr 15, 2011 at 6:06 PM, P.J. Eby p...@telecommunity.com wrote: That would be one advantage of using entry points instead.  ;-)  (i.e., the user doesn't specify the object location, the package author does.) Definitely! I'm certainly all in favor of having something very akin to entry

Re: [Web-SIG] urlparse method behaviour when handing abs/rel urls

2008-06-27 Thread Fred Drake
On Fri, Jun 27, 2008 at 3:01 PM, O.R.Senthil Kumaran [EMAIL PROTECTED] wrote: BTW, commonly when someone writes 'www.python.org', we tend to understand that he is referring to net_loc. Is it not? And also, when we type 'www.python.org' at Address Location in the Browser, it automatically gets

Re: [Web-SIG] Dealing with urllib, urllib2, and urlparse

2008-02-22 Thread Fred Drake
On Fri, Feb 22, 2008 at 11:00 AM, Joe Gregorio [EMAIL PROTECTED] wrote: Many unit tests done in unittest. They fall into two categories, those that run locally and those that run against a set of URIs on the web. Is there a stdlib way of segregating those tests? All the code for the

Re: [Web-SIG] Dealing with urllib, urllib2, and urlparse

2008-02-22 Thread Fred Drake
On Fri, Feb 22, 2008 at 2:08 PM, Joe Gregorio [EMAIL PROTECTED] wrote: Is there a tool for doing the majority of the work of converting the old LaTeX into reST? I think there is; if you ask python-docs at python.org, you'll be asking the people who know. -Fred -- Fred L. Drake, Jr.

Re: [Web-SIG] Are both htmllib and HTMLParser needed?

2008-02-20 Thread Fred Drake
On Feb 20, 2008 9:35 AM, Guido van Rossum [EMAIL PROTECTED] wrote: ISTR that HTMLParser was the preferred one. It is certainly newer, and doesn't carry the baggage of sgmllib which I would discard together with htmllib). Maybe Fred Drake remembers (he's listed as the co-author on the initial

Re: [Web-SIG] Are both htmllib and HTMLParser needed?

2008-02-20 Thread Fred Drake
On Feb 20, 2008 1:43 PM, Chris Withers [EMAIL PROTECTED] wrote: Really? Cool. My first encounter with HTMLParser was when it was used for Zope's ZPT engine. Oh, maybe that was it. Something from the distant past at any rate. :-) If I had a hand in it, it was certainly colored by using htmllib

Re: [Web-SIG] Are both htmllib and HTMLParser needed?

2008-02-20 Thread Fred Drake
On Feb 20, 2008 3:27 PM, Brett Cannon [EMAIL PROTECTED] wrote: HTMLParser - html.parser htmlentitydefs - html.entities And remove both htmllib and sgmllib. Something I mentioned on stdlib-sig was that formatter might be worth thinking about in this. Is anyone using that module for anything

Re: [Web-SIG] WebOb

2007-10-22 Thread Fred Drake
On 10/22/07, William Dode [EMAIL PROTECTED] wrote: So, don't you think web-sig should officialy support such library ? Include it in the lib stantard or in a wsgiorg library ? I'm strongly against adding more non-Python-runtime batteries to the standard library. The plethora of packages

Re: [Web-SIG] entry points, etc

2007-07-07 Thread Fred Drake
On 7/7/07, Ian Bicking [EMAIL PROTECTED] wrote: Then there'd also be python module:object, and file filename.py:object. Maybe python would be the default, I'm not sure. I'd be in favor of not having a default expression type for this, but to require it to be spelled out every time. -Fred

Re: [Web-SIG] more comments on Paste Deploy

2007-03-08 Thread Fred Drake
On 3/8/07, Chris Withers [EMAIL PROTECTED] wrote: I'm glad ZConfig exists. Me too, though it does many things differently than if I'd had free reign. How does it handle nesting? It doesn't, but an application can use explicit references to other sections. It doesn't take care of things