[Python-3000] Is it possible that some issues reported in the tracker can loose or be deleted?

2007-12-13 Thread Vizcayno
I reported a pair of issues in diferent dates, last one was 3 days ago. However, each time I save and verify the status, it dissapears from the tracker. Why does it occur? Thanks! ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/

Re: [Python-3000] Dropping the parentheses after dict.keys?

2007-12-13 Thread Guilherme Polo
2007/12/13, Noam Raphael <[EMAIL PROTECTED]>: > Hello, > > Was it considered to drop the parentheses after "dict.keys()", to make > it "dict.keys" (that is, to make it a property instead of a method > with no arguments)? If it was, please forgive me - a few minutes of > googling didn't find it. Su

[Python-3000] Dropping the parentheses after dict.keys?

2007-12-13 Thread Noam Raphael
Hello, Was it considered to drop the parentheses after "dict.keys()", to make it "dict.keys" (that is, to make it a property instead of a method with no arguments)? If it was, please forgive me - a few minutes of googling didn't find it. I now write (another?) ordered dict, and I thought that the

Re: [Python-3000] Dropping the parentheses after dict.keys?

2007-12-13 Thread Noam Raphael
2007/12/13, Guilherme Polo <[EMAIL PROTECTED]>: > 2007/12/13, Noam Raphael <[EMAIL PROTECTED]>: > > Hello, > > > > Was it considered to drop the parentheses after "dict.keys()", to make > > it "dict.keys" (that is, to make it a property instead of a method > > with no arguments)? If it was, please

Re: [Python-3000] Is it possible that some issues reported in the tracker can loose or be deleted?

2007-12-13 Thread skip
Vizcayno> I reported a pair of issues in diferent dates, last one was 3 Vizcayno> days ago. However, each time I save and verify the status, it Vizcayno> dissapears from the tracker. Why does it occur? I don't know. I passed your mail along to the people who manage the tracker. --

Re: [Python-3000] Dropping the parentheses after dict.keys?

2007-12-13 Thread Guido van Rossum
On Dec 13, 2007 1:24 AM, Noam Raphael <[EMAIL PROTECTED]> wrote: > Was it considered to drop the parentheses after "dict.keys()", to make > it "dict.keys" (that is, to make it a property instead of a method > with no arguments)? If it was, please forgive me - a few minutes of > googling didn't find

Re: [Python-3000] Dropping the parentheses after dict.keys?

2007-12-13 Thread Greg Ewing
Noam Raphael wrote: > I thought that the easiest > way to get the key with a given index would be "d.keys[5]". But it > means that d.keys is a collection of keys, not a method - and why not? Half of your suggestion is being done -- d.keys() will create and return an indexable view object, rather t

Re: [Python-3000] Dropping the parentheses after dict.keys?

2007-12-13 Thread Greg Ewing
I wrote: > d.keys() will create > and return an indexable view object, Sorry, that's not quite right -- it probably won't be indexable, only iterable. But the argument for keeping it as a method still applies. -- Greg ___ Python-3000 mailing list Pytho

Re: [Python-3000] Is it possible that some issues reported in the tracker can loose or be deleted?

2007-12-13 Thread Martin v. Löwis
> I reported a pair of issues in diferent dates, last one was 3 days > ago. However, each time I save and verify the status, it dissapears > from the tracker. Why does it occur? Can you report more details? When you did "Submit changes", did you get a green box saying "issue XYZ created"? If so, w

[Python-3000] Should str and bytes hash equally?

2007-12-13 Thread Alexandre Vassalotti
In Python 2.x, having the byte string and unicode hash equally was desirable, since u'' == ''. But since the bytes and str are always considered unequal, in Python 3k, I think would be good idea to make their hash unequal too. So, what do you think? -- Alexandre ___

Re: [Python-3000] Should str and bytes hash equally?

2007-12-13 Thread Adam Olsen
On Dec 13, 2007 3:42 PM, Alexandre Vassalotti <[EMAIL PROTECTED]> wrote: > In Python 2.x, having the byte string and unicode hash equally was > desirable, since u'' == ''. But since the bytes and str are always > considered unequal, in Python 3k, I think would be good idea to make > their hash uneq

Re: [Python-3000] Should str and bytes hash equally?

2007-12-13 Thread Martin v. Löwis
> In Python 2.x, having the byte string and unicode hash equally was > desirable, since u'' == ''. But since the bytes and str are always > considered unequal, in Python 3k, I think would be good idea to make > their hash unequal too. So, what do you think? To phrase Adam Olsen's observation in a

Re: [Python-3000] Dropping the parentheses after dict.keys?

2007-12-13 Thread Noam Raphael
Thanks for the explanation. I'm sure that I will be able to live (although miserably) with dict.keys(). ;) Noam ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/m

Re: [Python-3000] Should str and bytes hash equally?

2007-12-13 Thread Alexandre Vassalotti
On Dec 13, 2007 6:03 PM, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > > > In Python 2.x, having the byte string and unicode hash equally was > > desirable, since u'' == ''. But since the bytes and str are always > > considered unequal, in Python 3k, I think would be good idea to make > > their ha

Re: [Python-3000] Should str and bytes hash equally?

2007-12-13 Thread Greg Ewing
Adam Olsen wrote: > It's irrelevant. It's always possible to get the same hashes. We'd > need a performance reason or the like to bother changing either of > them. And since there's no reason to think that storing bytes and unicode in the same dict is likely to be a frequent requirement, it prob

[Python-3000] the right way to open text files in P3K?

2007-12-13 Thread Mark Summerfield
Hi, I was wondering if it is yet known what the right way to open text files in P3K will be? According to the docs the signature for open() is: open(filename[, mode[, bufsize]]) Is that going to stay the same and default to UTF-8 if "b" is not in the mode (or if no mode is specified) and by

[Python-3000] Why lowercase?

2007-12-13 Thread hashcollision
I don't think there is any chance that this will change in python 3000 but... Why is the builtin types lowercase when the convention is for classes to be in CamelCase? For example, frozenset versus UserDict. Was there any reason that this is the way it is or is it just a "wart"? ___

Re: [Python-3000] the right way to open text files in P3K?

2007-12-13 Thread Christian Heimes
Mark Summerfield wrote: > Hi, > > I was wondering if it is yet known what the right way to open text files > in P3K will be? > > According to the docs the signature for open() is: > > open(filename[, mode[, bufsize]]) The docs must be outdated. open() accepts more arguments: open(file, mod

Re: [Python-3000] Why lowercase?

2007-12-13 Thread Christian Heimes
hashcollision wrote: > I don't think there is any chance that this will change in python 3000 > but... > Why is the builtin types lowercase when the convention is for classes to be > in CamelCase? For example, frozenset versus UserDict. Was there any reason > that this is the way it is or is it jus