Re: [Python-Dev] PEP 350: Codetags

2005-09-27 Thread Phillip J. Eby
At 03:35 PM 9/26/2005 -0700, Micah Elliott wrote: >Please read/comment/vote. This circulated as a pre-PEP proposal >submitted to c.l.py on August 10, but has changed quite a bit since >then. I'm reposting this since it is now "Open (under consideration)" >at

Re: [Python-Dev] PEP 350: Codetags

2005-09-29 Thread Phillip J. Eby
At 09:10 AM 9/28/2005 -0700, Micah Elliott wrote: >I agree that proof of value is necessary. Without a spec though it >will be hard to get people to know about a convention/toolset, so it's >a bit of a chicken-egg problem -- I can't have a pep until the tools are >in use, but the tools won't be us

Re: Exception raising, and performance implications.

2005-10-04 Thread Phillip J. Eby
leo wrote: > > You're absolutely right, in fact the code snippet from my OP was taken > directly from inspect.currentframe. We're intending on using this in > production, and I'm trying to gauge what the implications may be. Use sys._getframe() instead; it doesn't raise an exception. > Wow, I wa

Re: Python's Performance

2005-10-08 Thread Phillip J. Eby
Laszlo Zsolt Nagy wrote: > Dave wrote: > > > Hello All, > > > > I would like to gather some information on Python's runtime > > performance. As far as I understand, it deals with a lot of string > > objects. Does it require a lot string processing during program > > execution? How does it handle su

Re: setuptools, ez_setup over http proxy

2005-10-13 Thread Phillip J. Eby
yoda wrote: > I've recently configured my network such that I use squid as a http > proxy. I'd now like to be able to use setuptools and ez_setup via this > proxy. Is this possible? If so, how do I do it? The key thing is just that Python's urllib module needs to be able to retrieve web pages an

Re: setuptools, ez_setup over http proxy

2005-10-13 Thread Phillip J. Eby
yoda wrote: > I've recently configured my network such that I use squid as a http > proxy. I'd now like to be able to use setuptools and ez_setup via this > proxy. Is this possible? If so, how do I do it? The key thing is just that Python's urllib module needs to be able to retrieve web pages an

Re: Reinvent no more forever

2005-11-17 Thread Phillip J. Eby
Ben Finney wrote: > - Proliferation. What's the protocol when[1] someone else puts an > (incompatible, differently-specified) Enum implementation into > PyPI? Either one of the two will be judged better, and the other will wither away, or else each will be better for different circumstan

Re: Reinvent no more forever

2005-11-18 Thread Phillip J. Eby
Dave Hansen wrote: > On 17 Nov 2005 18:06:55 -0800 in comp.lang.python, "Phillip J. Eby" > <[EMAIL PROTECTED]> wrote: > > [...] > > > >Okay, so call yours "SuperEnum" or "PowerEnum" or "UltraEnum" or > >"BetterEnum&q

Re: Persist a class (not an instance)

2005-11-26 Thread Phillip J. Eby
David Wahler wrote: > Kent Johnson wrote: > > Is there a way to persist a class definition (not a class instance, > > the actual class) so it can be restored later? A naive approach > > using pickle doesn't work: > [snip] > > The idea is to persist classes that are created and modified at runtime

Re: Python and generic programming

2004-12-03 Thread Phillip J. Eby
Ian Bicking <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > Jive Dadson wrote: > > If you have, for example, several data-types for matrices, how do you > > write code that will automatically find the right routine for quickly > > multiplying a vector by a diagonal matrix represe

Re: Mixing metaclasses and exceptions

2004-12-30 Thread Phillip J. Eby
Jp Calderone wrote: > I'd skip that, though. Your problem doesn't sound "Metaclass!" at me. > I wonder if you could elaborate on your usage? Perhaps there's a better > solution which doesn't involve metaclasses at all. I suspect he could *maybe* get by without the metaclass, but not without cu

Re: When Python *Eggs* better than Python *distutils*?? What's Eggs?

2005-12-30 Thread Phillip J. Eby
Paul Boddie wrote: > Could anyone enlighten me/us as to why the Smart Package Manager [1] > (written in Python, presented at EuroPython this year) isn't being more > closely investigated as part of a suitable solution? More closely investigated by whom, as a solution for what? Surely there is som

Re: When Python *Eggs* better than Python *distutils*?? What's Eggs?

2005-12-30 Thread Phillip J. Eby
[EMAIL PROTECTED] wrote: > I have been using distuils for a while and was wondering when > Python Eggs (new project) is better? If you have a relatively simple setup script, don't need to upload your package to PyPI, and don't include any files other than .py files and C extensions in your distrib

Re: Python to use a non open source bug tracker?

2006-10-06 Thread Phillip J. Eby
Giovanni Bajo wrote: > I am seriously concerned > that the PSF infrastructure committee EVER considered non open-source > applications for this. In fact, I thought that was an implicit requirement in > the selection. The goal of the selection process is to support the work of the Python developers