Re: [Python-Dev] One-line abstractmethod function?

2013-12-09 Thread Ethan Furman
On 12/09/2013 11:52 AM, Allen Li wrote: Pros: Save a lot of lines defining interface-like ABCs, especially in small scripts without docstrings (bad practice, but I do it often =)) If the only pro is encouraging bad practice, it's not going to happen. ;) Cons: Do we need it? In my opinion,

Re: [Python-Dev] One-line abstractmethod function?

2013-12-09 Thread Allen Li
I just wanted to sum up this thread of discussion. Proposal: A function in abc to provide a default abstract method implementation. foo = make_abstractmethod('foo', ['self']) is the same as @abc.abstractmethod def foo(self): pass Details: Default behavior, if implemented, should probably b

Re: [Python-Dev] Sort error in Misc/ACKS

2013-12-09 Thread Guido van Rossum
The troll is successful already. Read the other thread. :-( On Mon, Dec 9, 2013 at 10:37 AM, Sreenivas Reddy T wrote: > Am i the one who feels we do not add any value by doing this? > > Best Regards, > Srinivas Reddy Thatiparthy > 9703888668. > > "Anyone who has never made a mistake has never tri

Re: [Python-Dev] Sort error in Misc/ACKS

2013-12-09 Thread Sreenivas Reddy T
Am i the one who feels we do not add any value by doing this? Best Regards, Srinivas Reddy Thatiparthy 9703888668. "Anyone who has never made a mistake has never tried anything new !!! " --Albert Einstein On Mon, Dec 9, 2013 at 11:43 PM, Skip Montanaro wrote: > > We could always run random.sh

Re: [Python-Dev] Sort error in Misc/ACKS

2013-12-09 Thread Skip Montanaro
> We could always run random.shuffle() on the current list > so new additions don't look out of place ;) Wouldn't that bloat the repository with diffs and make merges more difficult? Skip ___ Python-Dev mailing list Python-Dev@python.org https://mail.

Re: [Python-Dev] Add Gentoo packagers of external modules to Misc/ACKS

2013-12-09 Thread David Malcolm
On Sun, 2013-12-08 at 05:29 -0500, R. David Murray wrote: > As far as we have been able to determine, Tae Wong is in fact a bot > (note the 'seo' in the email address...a tip of the hand, as far as > I can see). We have removed all access permissions (including email) > from the related account on

Re: [Python-Dev] Add Gentoo packagers of external modules to Misc/ACKS

2013-12-09 Thread R. David Murray
On Mon, 09 Dec 2013 10:22:18 -0500, John Wong wrote: > Looks like a human to me instead, or some kind of smart AI. look he just > responded again. Could be. He's never responded to a direct question on the bug tracker, though, just posts a new comment with some loose connection to the first comm

Re: [Python-Dev] Add Gentoo packagers of external modules to Misc/ACKS

2013-12-09 Thread Guido van Rossum
Please look up his name in the archives. We've gone through this before. He sends posts like this to many lists and there is never any value to it (but it's hard to prove since usually 1-2 of the people in his list really did contribute or are at least known to the target audience). His motivations

Re: [Python-Dev] Add Gentoo packagers of external modules to Misc/ACKS

2013-12-09 Thread John Wong
Looks like a human to me instead, or some kind of smart AI. look he just responded again. On Sun, Dec 8, 2013 at 5:29 AM, R. David Murray wrote: > As far as we have been able to determine, Tae Wong is in fact a bot > (note the 'seo' in the email address...a tip of the hand, as far as > I can see

Re: [Python-Dev] Sort error in Misc/ACKS

2013-12-09 Thread Zachary Ware
On Mon, Dec 9, 2013 at 8:57 AM, Barry Warsaw wrote: > On Dec 09, 2013, at 04:00 PM, TaeWong wrote: > >>The name Jonas Wagner comes before Zachary Ware and Barry Warsaw. > > Maybe it's time to give up on trying to sort by last name, and just sort by > first character? > > No, this is not a bold att

Re: [Python-Dev] Sort error in Misc/ACKS

2013-12-09 Thread Barry Warsaw
On Dec 09, 2013, at 04:00 PM, TaeWong wrote: >The name Jonas Wagner comes before Zachary Ware and Barry Warsaw. Maybe it's time to give up on trying to sort by last name, and just sort by first character? No, this is not a bold attempt to jump higher up in the list. -AABarry

Re: [Python-Dev] tracemalloc: add an optional memory limit

2013-12-09 Thread Antoine Pitrou
On Mon, 9 Dec 2013 10:28:17 +0100 Victor Stinner wrote: > Hi, > > 2013/12/9 Serhiy Storchaka : > > But tracemalloc doesn't count memory allocated besides Python allocators > > (e.g. memory for executable, static variables and stack, memory allocated by > > extensions and C lib, unallocated but no

[Python-Dev] Sort error in Misc/ACKS

2013-12-09 Thread TaeWong
There is a sorting error: The name Jonas Wagner comes before Zachary Ware and Barry Warsaw. Please correct sorting error so that his name appears between Sjoerd de Vries and Niki W. Waibel. ___ Python-Dev mailing list Python-Dev@python.org https://ma

[Python-Dev] 답장: Add Gentoo packagers of external modules to Misc/ACKS

2013-12-09 Thread TaeWong
Please add access permissions on the Python bug tracker for the seotaewong40 account. For what it's worth, you need to add Marien Zwart to Misc/ACKS (apparently he has contributed to the GNU Emacs mode for Python). ___ Python-Dev mailing list Python-D

Re: [Python-Dev] tracemalloc: add an optional memory limit

2013-12-09 Thread Victor Stinner
Hi, 2013/12/9 Serhiy Storchaka : > But tracemalloc doesn't count memory allocated besides Python allocators > (e.g. memory for executable, static variables and stack, memory allocated by > extensions and C lib, unallocated but not returned to OS dynamical memory). > When you want investigate how y

Re: [Python-Dev] tracemalloc: add an optional memory limit

2013-12-09 Thread Serhiy Storchaka
09.12.13 03:56, Victor Stinner написав(ла): On Linux, it's possible to limit globally the "address space" of a process, but this value is not convinient. For example, the address space includes shared memory and read-only memory mappings of files, whereas this memory should not reduce the memory