New submission from Benno Leslie:
I'm not sure if this should be considered a bug, but the behaviour is
surprising and not clearly documented.
I a have a very simple test that has an error during both the test case, and
during tearDown.
"""
import unittest
class Te
Benno Leslie added the comment:
I've tried to address all the issues raised in the review of the first patch.
--
Added file: http://bugs.python.org/file39725/gi_yieldfrom.v1.patch
___
Python tracker
<http://bugs.python.org/is
Benno Leslie added the comment:
Attached is my first attempt at implementing this feature.
It includes to implementation, updates to documentation, and added test cases.
I'm not a regular contributor so look forward to any feedback on improving the
patch.
--
keywords: +patch
New submission from Benno Leslie:
When a co-routine has delegated computation to another co-routine via "yield
from", it is useful to be able to access the delegated-to co-routine.
This proposed enhancement would add a new calculated property to the generator
object called &qu
Benno Leslie added the comment:
In a similar manner the bininstall target relies on $(LIBPC), but does not
create that.
This makes me consider if the libainstall target should be installing
pkg-config sciprt at all (and whether bininstall should be installing the .pc
files).
It is hard for
Benno Leslie added the comment:
Thanks for the comments Senthil. I'll improve the patch fixing the bug, adding
support for .s and updating the docs.
--
___
Python tracker
<http://bugs.python.org/is
Benno Leslie added the comment:
I was using this in the case where I just want to link against libpython.a and
for me it is a limited case where I don't really need the functionality of
python-config; so for me this is certainly the best approach. But I concede
this use case is proba
New submission from Benno Leslie:
It is useful to be able to build .S files as built-in modules (in particular if
you want ctypes as a built-in you need .S files)
The patch enables .S files to be specified in Setup.dist files.
--
components: Build
files: makesetup-asm.diff
keywords
New submission from Benno Leslie:
When building if there are zero extensions setup.py fails (max of a zero length
list is undefined.)
Although not a very common case, there are potential speciality cases where
there will be zero extensions.
--
components: Build
files
Changes by Benno Leslie :
--
title: libainstall doesn't create all directories -> libainstall doesn't create
$(BINDIR) directory
___
Python tracker
<http://bugs.pytho
New submission from Benno Leslie:
make libainstall fails when $(BINDIR) does not exist.
--
components: Build
files: ainstall.diff
keywords: patch
messages: 179103
nosy: bennoleslie
priority: normal
severity: normal
status: open
title: libainstall doesn't create all directories
Benno Leslie added the comment:
I've updated the patch based on Charles-François and Antoine's feedback.
Primarily this increase the estimated MSS value to 16KiB.
Additionally tests are added and comments improved.
Thanks for the feedback.
--
Added file: http://bugs.
New submission from Benno Leslie:
he http.client HTTPConnection._send_output method has an optimization for
avoiding bad interactions between delayed-ack and the Nagle algorithm:
http://hg.python.org/cpython/file/f32f67d26035/Lib/http/client.py#l884
Unfortunately this interacts rather poorly
Benno Leslie added the comment:
Regarding #2 my understanding is that the FDs are already always wrapped.
E.g: at line
http://hg.python.org/cpython/file/b9ac3c44a4eb/Lib/subprocess.py#l798 it shows
these always being wrapped (assuming the file descriptor is not -1).
For my test case on 3.2.3
Changes by Benno Leslie :
--
nosy: +bennoleslie
___
Python tracker
<http://bugs.python.org/issue16140>
___
___
Python-bugs-list mailing list
Unsubscribe:
15 matches
Mail list logo