Re: [Python-Dev] Adding the 'path' module (was Re: Some RFE for review)

2005-07-14 Thread Martin v. Löwis
Guido van Rossum wrote: > Ah, sigh. I didn't know that os.listdir() behaves differently when the > argument is Unicode. Does os.listdir(".") really behave differently > than os.listdir(u".")? Bah! I don't think that's a very good design > (although I see where it comes from). Promoting only those e

Re: [Python-Dev] 'With' context documentation draft (was Re: Terminology for PEP 343

2005-07-14 Thread Raymond Hettinger
{MAL] > This is exactly what I'm getting at: I can see the potential > use for resource management (which is what started out the > whole idea IIRC), but fail to see why you'd want to use it > for anything more complicated than that. Substitute "different" for "complicated". 'with' is not applica

[Python-Dev] Python on PyPI

2005-07-14 Thread Reinhold Birkenfeld
Hi, to whom it may concern: the Python package on PyPI is at version 2.3.2. Reinhold -- Mail address is perfectly valid! ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.py

Re: [Python-Dev] Is PEP 237 final -- Unifying Long Integers and Integers

2005-07-14 Thread Travis Oliphant
Keith Dart wrote: >On Sat, 18 Jun 2005, Michael Hudson wrote: > > > >>The shortest way I know of going from 2149871625L to -2145095671 is >>the still-fairly-gross: >> >> >> >v = 2149871625L >~int(~v&0x) > > >>-2145095671 >> >> >> >>>I suppose the best th

Re: [Python-Dev] 'With' context documentation draft (was Re: Terminology for PEP 343

2005-07-14 Thread M.-A. Lemburg
Nick Coghlan wrote: > M.-A. Lemburg wrote: > >>May I suggest that you use a different name than "context" for >>this ?! >> >>The term "context" is way to broad for the application scopes >>that you have in mind here (like e.g. managing a resource >>in a multi-threaded application). > > > It's ac

Re: [Python-Dev] [Python-checkins] python/dist/src/Miscdevelopers.txt, 1.15, 1.16

2005-07-14 Thread Brett Cannon
On 7/14/05, Raymond Hettinger <[EMAIL PROTECTED]> wrote: > > raymond> Log Message: > > raymond> Brett requests that Flovis's permissions be dropped. > > [Skip] > > Not to put too fine a spin on things, but I think it was more like > Brett > > got > > tired of waiting for Flovis's permissio

Re: [Python-Dev] [Python-checkins] python/dist/src/Miscdevelopers.txt, 1.15, 1.16

2005-07-14 Thread Raymond Hettinger
> raymond> Log Message: > raymond> Brett requests that Flovis's permissions be dropped. [Skip] > Not to put too fine a spin on things, but I think it was more like Brett > got > tired of waiting for Flovis's permissions to be increased and retracted > his > original request. Brett and Fl

Re: [Python-Dev] [Python-checkins] python/dist/src/Misc developers.txt, 1.15, 1.16

2005-07-14 Thread Skip Montanaro
raymond> Log Message: raymond> Brett requests that Flovis's permissions be dropped. Not to put too fine a spin on things, but I think it was more like Brett got tired of waiting for Flovis's permissions to be increased and retracted his original request. Skip

[Python-Dev] e-mail addresses

2005-07-14 Thread Aahz
On Thu, Jul 14, 2005, M.-A. Lemburg wrote: > > PS: Please don't use "-nospam" or the like email addresses when posting > to this list. Thanks. ...unless it's a valid address. Some people do use real addresses with "nospam" as an actual part of the address as an anti-spam measure. But it's always

Re: [Python-Dev] Adding the 'path' module (was Re: Some RFE for review)

2005-07-14 Thread M.-A. Lemburg
Hi Neil, >>> With the proposed modification, sys.argv[1] u'\u20ac.txt' is >>>converted through cp1251 >> >>Actually, it is not: if you pass in a Unicode argument to >>one of the file I/O functions and the OS supports Unicode >>directly or at least provides the notion of a file system >>encoding,

Re: [Python-Dev] SF patch #1214889 - file.encoding support

2005-07-14 Thread Reinhold Birkenfeld
M.-A. Lemburg wrote: > Reinhold Birkenfeld wrote: >> Hi, >> >> would anyone care to comment about this patch of mine -- >> https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1214889&group_id=5470 >> >> It makes file.encoding read-write and lets the write() and writelines() >> methods >

Re: [Python-Dev] SF patch #1214889 - file.encoding support

2005-07-14 Thread M.-A. Lemburg
Reinhold Birkenfeld wrote: > Hi, > > would anyone care to comment about this patch of mine -- > https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1214889&group_id=5470 > > It makes file.encoding read-write and lets the write() and writelines() > methods > obey it. Done. Please see SF