Nick Coghlan wrote:
> I wouldn't assume so - memoryview is meant to eventually support more
> than just 1-D views of contiguous memory (see PEP 3118), so that
> conversion doesn't seem intuitive to me.
In the example I'm passing in a single dimension contiguous memory
chunk to memoryview(), so in
On Tue, Jul 13, 2010 at 2:42 AM, Michael Foord
wrote:
>>>
>>> Given how high traffic python-checkins is I don't consider that a
>>> reasonable place to send follow-up and nor do I consider it the
>>> responsibility of committers to monitor it. As you said earlier this
>>> *isn't* in our standard d
On Thu, Jul 15, 2010 at 09:23:06AM +1000, Nick Coghlan wrote:
> I use tabbed editors all the time (Kate, Notepad++) and find them to
> be excellent. Tastes will obviously vary though, since there are even
> people out there that use vim and emacs voluntarily ;)
Sorry for being a wet blanket but
On Wed, 14 Jul 2010 19:24:28 -0400
Alexander Belopolsky wrote:
> I am reposting the same question again because it seems to have gone
> unnoticed. Antoine Pitrou and I had a brief discussion on the
> tracker, but did not reach an agreement on whether a more elaborate
> code is needed to replace P
On Thu, 15 Jul 2010 00:43:49 +0200
"M.-A. Lemburg" wrote:
> Is this intended or should I open a bug report for it:
>
> >>> m = memoryview('abc')
> >>> m == 'abc'
> True
> >>> str(m) == 'abc'
> False
> >>> str(m)
> ''
Well, I think this is intended. str(m) is the human-readable string
representat
On Thu, Jul 15, 2010 at 4:06 PM, Brett Cannon wrote:
>> In any case, here my results under a Linux system:
>>
>> $ ./python -m importlib.test.benchmark
>> sys.modules [ 323782 326183 326667 ] best is 326667
>> Built-in module [ 33600 33693 33610 ] best is 33693
>>
>> $ ./python -m importlib.test.b
On Thu, Jul 15, 2010 at 7:23 PM, Oleg Broytman wrote:
> Sorry for being a wet blanket but vim implements tabbed windows even in
> console (text) mode. (-:
Oh, I know vim and emacs are actually incredibly powerful once you
learn how to use them. I'm just a child of the GUI generation and
believe
[Nick]
>[me]
>> IIRC, you can’t know who pushed without kludgy hackery.
>
> [...] Note that the current distutils2 emails to python-checkins
> already say "Tarek Ziade pushed..."
I looked at mail.py in the hooks repository and learned that hooks get
an HGPUSHER variable in their environment. Nice
On Thu, Jul 15, 2010 at 6:29 AM, Antoine Pitrou wrote:
> On Wed, 14 Jul 2010 19:24:28 -0400
> Alexander Belopolsky wrote:
..
>> This means that
>> Antoine's concern that "tomorrow [object_new()] may entail additional
>> operations" is not valid - there is no tomorrow for 2.x. :-)
>
> But there *
On Thu, Jul 15, 2010 at 2:55 PM, Nick Coghlan wrote:
>>> In any case, here my results under a Linux system:
>>>
>>> $ ./python -m importlib.test.benchmark
>>> sys.modules [ 323782 326183 326667 ] best is 326667
>>> Built-in module [ 33600 33693 33610 ] best is 33693
>>>
>>> $ ./python -m importlib
The 'trunk' branch appears to have been frozen 12 days ago when 2.7 was
released. I presume py3k is now the main development branch. Correct?
There are doc(s) on the site the directed people to the 'trunk' branch.
If not updated (as seems from a python-list post today, but I asked the
OP), it/
On 07/15/2010 07:13 AM, Nick Coghlan wrote:
On Thu, Jul 15, 2010 at 7:23 PM, Oleg Broytman wrote:
Sorry for being a wet blanket but vim implements tabbed windows even in
console (text) mode. (-:
Oh, I know vim and emacs are actually incredibly powerful once you
learn how to use them. I'm
Today I was looking for a quick and dirty way to profile a method of a class.
I was thinking that cProfile module had a decorator for this but I was
wrong so I decided to write one based on hotshot.
Would it be worth for inclusion?
#!/usr/bin/env python
import hotshot
import hotshot.stats
import
On Thu, Jul 15, 2010 at 13:45, Giampaolo Rodolà wrote:
> Today I was looking for a quick and dirty way to profile a method of a
> class.
> I was thinking that cProfile module had a decorator for this but I was
> wrong so I decided to write one based on hotshot.
> Would it be worth for inclusion?
2010/7/15 Brian Curtin :
> On Thu, Jul 15, 2010 at 13:45, Giampaolo Rodolà wrote:
>>
>> Today I was looking for a quick and dirty way to profile a method of a
>> class.
>> I was thinking that cProfile module had a decorator for this but I was
>> wrong so I decided to write one based on hotshot.
>>
On Thu, Jul 15, 2010 at 5:13 AM, Nick Coghlan wrote:
> On Thu, Jul 15, 2010 at 7:23 PM, Oleg Broytman wrote:
>> Sorry for being a wet blanket but vim implements tabbed windows even in
>> console (text) mode. (-:
>
> Oh, I know vim and emacs are actually incredibly powerful once you
> learn how
anatoly techtonik wrote:
What about web-applications? Is that true that for FastCgi or mod_wsgi
deamon mode interpreter and application is started only once per say
100 requests?
Yes. Only CGI programs reload on every use. FCGI/WSGI programs
run more or less forever, and are only loaded on
Neil Hodgson wrote:
> Stephen J. Turnbull:
>
>> But it's very important to be able to *move* tabs across windows or
>> panes. ...
>> In many apps, however, you would have to select the foo.c tab, close
>> it, bring up a new window, and open foo.c using the long path
>> (presumably with a file bro
On Thu, Jul 15, 2010 at 09:19, Terry Reedy wrote:
> The 'trunk' branch appears to have been frozen 12 days ago when 2.7 was
> released. I presume py3k is now the main development branch. Correct?
>
Yes.
> There are doc(s) on the site the directed people to the 'trunk' branch. If
> not updated (a
Hello,
2010/7/15 Barry Warsaw :
> The first draft of PEP 3149 is ready for review.
I like it!
I think it could mention the case where packages are not installed
in the canonical directory, but placed elsewhere along the PYTHONPATH.
This is how I deploy applications, for example, and the differen
On Thu, Jul 15, 2010 at 2:04 PM, Steve Holden wrote:
> Neil Hodgson wrote:
>> Stephen J. Turnbull:
>>
>>> But it's very important to be able to *move* tabs across windows or
>>> panes. ...
>>> In many apps, however, you would have to select the foo.c tab, close
>>> it, bring up a new window, and
21 matches
Mail list logo