Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #56206

Re: feature requests

Date 2013-10-05 08:58 -0700
From Ethan Furman <ethan@stoneleaf.us>
Subject Re: feature requests
References <6782f295-1885-4114-aea8-d785480f3489@googlegroups.com> <mailman.687.1380822918.18130.python-list@python.org> <ca517a69-edc7-468f-9e9e-94e61ea1014c@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.753.1380991655.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 10/05/2013 05:49 AM, macker wrote:
>>
>> Ugly, menial lines are a clue that a function to hide it could be useful.
>
> Or a clue to add a trivial change elsewhere (hint for Ethan: `return self` at the end of `Thread.start()`).

I'm aware that would solve your issue.  I'm also aware that Python rarely does a 'return self' at the end of methods. 
Since that probably isn't going to change, a helper function is probably your best way forward.


>> Have you verified that this is a problem in Python?
>
> ?

You stated it "would blow up RAM" -- have you actually tested this, or are you making assumptions based on experience 
from other languages, or assumptions based on nothing at all?


>> You could try subclassing.
>
> I could try many things. What this thread is about is trying to fix it on stdlib level, so that people don't have to reinvent the wheel every time.

Did you really expect your idea to just sail through with no opposition, no counter-ideas, no reasons why it might not, 
or would not, work?


> Thanks to Chris for his suggestion. Ethan, please stay away from this thread.

Wow, you're rude.

--
~Ethan~

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

feature requests macker <tester.testerus@gmail.com> - 2013-10-03 09:12 -0700
  Re: feature requests Chris Angelico <rosuav@gmail.com> - 2013-10-04 02:21 +1000
  Re: feature requests Tim Chase <python.list@tim.thechases.com> - 2013-10-03 11:42 -0500
  Re: feature requests Chris Angelico <rosuav@gmail.com> - 2013-10-04 02:42 +1000
  Re: feature requests Ethan Furman <ethan@stoneleaf.us> - 2013-10-03 10:01 -0700
    Re: feature requests macker <tester.testerus@gmail.com> - 2013-10-05 05:49 -0700
      Re: feature requests Ethan Furman <ethan@stoneleaf.us> - 2013-10-05 08:58 -0700
      Re: feature requests Terry Reedy <tjreedy@udel.edu> - 2013-10-05 17:56 -0400

csiph-web