Re: [Python-Dev] IDLE development

2005-09-10 Thread Noam Raphael
On 9/11/05, Nick Coghlan <[EMAIL PROTECTED]> wrote: > Guido van Rossum wrote: > > Often the needs of certain user groups and the development speeds of > > such 3rd party modules are so different that it simply doesn't make > > sense to fold them in the Python distribution anyway -- consider what >

Re: [Python-Dev] IDLE development

2005-09-10 Thread Noam Raphael
On 9/11/05, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On 9/10/05, Noam Raphael <[EMAIL PROTECTED]> wrote: > > I and my colleges use IDLE intensively - that is, a heavily patched > > IDLE. It includes my patch and many other improvements made by me and > > my friends. > > > > The improved IDLE i

Re: [Python-Dev] PEP 3000 and iterators

2005-09-10 Thread James Y Knight
On Sep 10, 2005, at 6:07 PM, Lisandro Dalcin wrote: > I had that in mind when I wrote my post; changing types is not the > way, that will not work. That is why I proposed __future__ (I really > do not know very well the implementation details of that feature) > because I think the parser/compiler

[Python-Dev] Python code.interact() and UTF-8 locale

2005-09-10 Thread Victor STINNER
Hi, I found a bug in Python interactive command line (program python alone: looks to be code.interact() function in code.py). With UTF-8 locale, the command << u"é" >> returns << u'\xc3\xa9' >> and not << u'\xE9' >>. Remember: the french e with acute is Unicode 233 (0xE9), encoded \xC3 \xA9 in UTF

Re: [Python-Dev] IDLE development

2005-09-10 Thread Nick Coghlan
Guido van Rossum wrote: > Often the needs of certain user groups and the development speeds of > such 3rd party modules are so different that it simply doesn't make > sense to fold them in the Python distribution anyway -- consider what > you would have to do if Kurt accepted your patches: you'll s

Re: [Python-Dev] PEP 3000 and iterators

2005-09-10 Thread Guido van Rossum
On 9/10/05, Lisandro Dalcin <[EMAIL PROTECTED]> wrote: > On 9/9/05, Guido van Rossum <[EMAIL PROTECTED]> wrote: > > For methods on standard objects like dicts it's not really possible > > either way; the type of a dict is determined by the module containing > > the code creating it, not the module

Re: [Python-Dev] IDLE development

2005-09-10 Thread Guido van Rossum
On 9/10/05, Noam Raphael <[EMAIL PROTECTED]> wrote: > I and my colleges use IDLE intensively - that is, a heavily patched > IDLE. It includes my patch and many other improvements made by me and > my friends. > > The improved IDLE is MUCH better than the standard IDLE, especially > for interactive

[Python-Dev] IDLE development

2005-09-10 Thread Noam Raphael
Hello, More than a year and a half ago, I posted a big patch to IDLE which adds support for completion and much better calltips, along with some other improvements. Since then, I had some mail conversations with Kurt B. Kaiser, who is responsible for IDLE, which resulted in nothing. My last mail,

[Python-Dev] First release of Shed Skin, a Python-to-C++ compiler.

2005-09-10 Thread Mark Dufour
After nine months of hard work, I am proud to introduce my baby to the world: an experimental Python-to-C++ compiler. It can convert many Python programs into optimized C++ code, without any user intervention such as adding type declarations. It uses rather advanced static type inference techniques

Re: [Python-Dev] Wanting to learn

2005-09-10 Thread Lisandro Dalcin
Jason, this mailing list is related to Python development. If you are a new at Python, a far better place for help is comp.lang.python group. Please go to Google Grups and take a look. If you do a search in those archives, you will find many good links. -- Lisandro Dalcín --- Centro

Re: [Python-Dev] PEP 3000 and iterators

2005-09-10 Thread Lisandro Dalcin
On 9/9/05, Guido van Rossum <[EMAIL PROTECTED]> wrote: > > For the builtins, it would actually be possible to do this by simply > importing an alternate builtins module. Something like > > from future_builtins import min, max, zip, range > Yes. A straightforward solution... > For methods on

[Python-Dev] unintentional and unsafe use of realpath()

2005-09-10 Thread Peter Jones
Hi, In Python 2.4.1, Python/sysmodule.c includes a function PySys_SetArgv(). One of the things it does is attempt to resolve symbolic links into absolute paths. Currently, it uses readlink() if configure found that your system supports it, and then it tries to do the same thing again using realpa

Re: [Python-Dev] PEP 3000 and new style classes

2005-09-10 Thread Lisandro Dalcin
On 9/9/05, Michael Chermside <[EMAIL PROTECTED]> wrote: > I think it would > provide a REALLY nice migration path if it were possible to write > Python 3.0 code in Python 2.x (for large values of x) so long as you > included an appropriate preamble of "from __future__ import" statements. Perhaps I

Re: [Python-Dev] PEP 3000 and new style classes

2005-09-10 Thread Lisandro Dalcin
On 9/9/05, holger krekel <[EMAIL PROTECTED]> wrote: > > > > It matters because "metaclass = type" is completely obscure. How would > > any non-expert have a clue what it means? > > How would this non-expert have a clue what > "from __future__ import new_style_classes" means? > That is the point!

[Python-Dev] Wanting to learn

2005-09-10 Thread Jason
Hi My name is Jason & i have a great interest in progamming whether it be python or what have you. From my understanding Python is written in C right ? I am willing to do grunt work just to learn .I a quick to catch on given the right path to follow.Please let me know if you will let me learn help

Re: [Python-Dev] [Python-checkins] python/dist/src/Lib urllib.py, 1.169, 1.170

2005-09-10 Thread Peter Otten
Am Samstag, 10. September 2005 04:27 schrieb [EMAIL PROTECTED]: > Update of /cvsroot/python/python/dist/src/Lib > In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3622 > > Modified Files: > urllib.py > Log Message: > Simplify and speed-up quote_plus(). > > Index: urllib.py > ===