I've had some offline discussion with Brett and Nick about PEP 451
which has led to some meaningful clarifications in the PEP. In the
interest of pulling further discussions back onto this
(archived/public) list, here's an update of what we'd discussed and
where things are at. :)
* path entry fin
Hi,
2013/10/23 Kristján Valur Jónsson :
> This might be a good place to make some comments.
> I have discussed some of this in private with Victor, but wanted to make them
> here, for the record.
Yes, I prefer to discuss the PEP on python-dev. It's nice to get more
feedback, I expect to get a be
Hi Hakril,
I think this question is probably off-topic for this list. This list is
for development of the Python compiler, not for development with Python,
and questions like this should probably go to python-l...@python.org
(also mirrored as comp.lang.python if you have Usenet access). But I
On 24 Oct 2013 03:37, "hakril lse" wrote:
>
> Hi,
>
> I have a question about a choice of implementation concerning
> 'superobject' with the descriptors.
>
> When a 'superobject' looks for a given attribute, it runs through the
> mro of the object.
> If it finds a descriptor, the 'superobject' cal
Am 23.10.2013 23:37, schrieb Charles-François Natali:
> Hi,
>
> What's the current status of pathlib? Is it targeted for 3.4?
>
> It would be a really nice addition, and AFAICT it has already been
> maturing a while on pypi, and discussed several times here.
> If I remember correctly, the only re
Hi,
What's the current status of pathlib? Is it targeted for 3.4?
It would be a really nice addition, and AFAICT it has already been
maturing a while on pypi, and discussed several times here.
If I remember correctly, the only remaining issue was stat()'s result caching.
cf
_
This might be a good place to make some comments.
I have discussed some of this in private with Victor, but wanted to make them
here, for the record.
Mainly, I agree with removing code. I'd like to go further, since in my
experience, the less code in C, the better.
1) really, all that is requ
> For the record, pipe I/O seems a little faster than socket I/O under
> Linux:
>
> $ ./python -m timeit -s "import os, socket; a,b = socket.socketpair();
> r=a.fileno(); w=b.fileno(); x=b'x'*1000" "os.write(w, x); os.read(r, 1000)"
> 100 loops, best of 3: 1.1 usec per loop
>
> $ ./python -m t
Hi,
I was at the restaurant with Charles-François and Antoine yesterday to
discuss the PEP 454 (tracemalloc). They gave me a lot of advices to
improve the PEP. Most remarks were request to remove code :-) I also
improved surprising/strange APIs (like the infamous
GroupedStats.compate_to(None)).
H
Hi,
I have a question about a choice of implementation concerning
'superobject' with the descriptors.
When a 'superobject' looks for a given attribute, it runs through the
mro of the object.
If it finds a descriptor, the 'superobject' calls the __get__ method
with 'starttype = su->obj_type' as th
On Wed, Oct 23, 2013 at 2:46 AM, Antoine Pitrou wrote:
>
> Hello,
>
> I've just discovered there is a little-known feature in site.py: if a
> $PREFIX/lib/site-python exists (e.g. /usr/lib/site-python), it is added
> to sys.path in addition to the versioned site-packages. But only under
> Unix ("i
Le Wed, 23 Oct 2013 13:53:40 +0200,
Victor Stinner a écrit :
> "For the record, pipe I/O seems a little faster than socket I/O under
> Linux"
>
> In and old (2006) email on LKML (Linux kernel), I read:
> "as far as I know pipe() is now much faster than socketpair(),
> because pipe() uses the zer
"For the record, pipe I/O seems a little faster than socket I/O under Linux"
In and old (2006) email on LKML (Linux kernel), I read:
"as far as I know pipe() is now much faster than socketpair(), because pipe()
uses the zero-copy mechanism."
https://lkml.org/lkml/2006/9/24/121
On Linux, splice()
Le Tue, 22 Oct 2013 10:54:03 +0200,
Victor Stinner a écrit :
> Hi,
>
> Would it be possible to use os.pipe() on all OSes except AIX?
>
> Pipes and socket pairs may have minor differences, but some
> applications may rely on these minor differences. For example, is the
> buffer size the same? Fo
Hello,
I've just discovered there is a little-known feature in site.py: if a
$PREFIX/lib/site-python exists (e.g. /usr/lib/site-python), it is added
to sys.path in addition to the versioned site-packages. But only under
Unix ("if os.sep == '/'").
Has anyone seen that feature in the real world? D
15 matches
Mail list logo