Announcing Trombi version 0.9.0
Trombi is an asynchronous CouchDB client for Tornado, the asynchronous
web server by Facebook.
Version 0.9.0 brings following changes:
Views:
* Add support for querying _all_docs (Thanks Jeremy Kelley)
* Add support for bulk_docs
* Add support for changes
ANNOUNCE: sqlkit 0.9.3.2
March, 31 - 2011
I'm happy to announce release 0.9.3.1 of sqlkit package for Python.
http://sqlkit.argolinux.org/
This release
An option as been added to sqledit to create tables if the model is
provided.
Hi,
Wingware has released version 4.0.1 of Wing IDE, an integrated development
environment designed specifically for the Python programming language.
Wing IDE is a cross-platform Python IDE that provides a professional code
editor with vi, emacs, and other key bindings, auto-completion, call
The team at OnlineGroups.Net is pleased to announce the release of
GroupServer 11.03 — Pineapple Snow at a Child's Party. Pineapple Snow
is now available from:
http://groupserver.org/downloads/
Changes in this release concentrate on a new Change Email Settings
page. The the release notes
Antoon Pardon wrote:
On Sun, Mar 13, 2011 at 12:59:55PM +, Steven D'Aprano wrote:
The removal of cmp from the sort method of lists is probably the most
disliked change in Python 3. On the python-dev mailing list at the
moment, Guido is considering whether or not it was a mistake.
If anyone
[V N]
I installed openssl-1.0.0d.tar.gz on my RHEL 5 box using:
./config --prefix=/usr/local --openssldir=/usr/local/openssl
shared zlib
you need to compile openssl with -fPIC flags,
depending on your system and compiler:
./config linux-generic:gcc -fPIC shared
and then recompile Python.
On Thu, 31 Mar 2011 01:34:17 -0500, harrismh777 wrote:
Many of you (Guido included) have lost significant sight of a
critical object oriented philosophical pillar (but not all of you, thank
goodness). To cut right to the heart of it--- NEVER change an advertised
interface.
Thanks for
On Wed, 30 Mar 2011 20:03:09 -0700, Joseph Sanoyo wrote:
print How old are you?, age = raw_input() print How tall are you?,
height = raw_input() print How much do you weigh?, weight =
raw_input() print So, you're %r old, %r tall and %r heavy. % ( age,
height, weight)
Note:
Notice that we
On Thu, Mar 31, 2011 at 02:13:53AM +, Steven D'Aprano wrote:
On Wed, 30 Mar 2011 11:06:20 +0200, Antoon Pardon wrote:
As far as I can see, key will only produce significant speedups, if
comparing items can then be completly done internally in the python
engine without referencing user
Antoon Pardon antoon.par...@rece.vub.ac.be writes:
Something else the dev team can consider, is a Negation class
This would have to be done by the dev team since I
guess that writing such a thing in Python would loose all the speed
of using a key-function.
That is a good idea. SQL has
Robert Kern wrote:
On 3/30/11 10:32 AM, Neal Becker wrote:
I'm trying to combine 'choices' with a comma-seperated list of options, so I
could do e.g.,
--cheat=a,b
parser.add_argument ('--cheat', choices=('a','b','c'), type=lambda x:
x.split(','), default=[])
test.py --cheat a
Hi all members,
I'm Francesco and I am writing on behalf of Python Italia APS, a no-
profit association promoting EuroPython conference.
(www.europython.eu)
Europython end of Call for Presentations is April 6th. I'd like to ask
to you to forward this mail to anyone that you feel may be
Hi all members,
I'm Francesco and I am writing on behalf of Python Italia APS, a no-profit
association promoting EuroPython conference. (www.europython.eu)
Europython End of Call for Presentations is April 6th. I'd like to ask to
you to forward this mail to anyone that you feel may be interested.
On Mar 30, 7:05 pm, harrismh777 harrismh...@charter.net wrote:
Greetings,
The purpose of this communique is to document a process for
installing python2.7.1 in parallel with python3.2 on a concurrent
desktop with independent idle and python path structure.
...
Kind regards,
On 30/03/2011 20:01, John Nagle wrote:
Is there some way to get the USB ID of a serial port through
pyserial on Linux and/or Windows? USB serial port devices have
device names determined by when they were plugged in. So, if
you have more than one USB serial device, you need the USB device's
On 3/31/2011 2:34 AM, harrismh777 wrote:
breaking a fundamental law of object oriented programming... don't break
and advertised interface (particularly if it is useful and people are
actually making use of it!).
This is insane folks.
Each x.y version (starting with 2.3) is feature stable:
On Wednesday, March 30, 2011 11:03:09 PM UTC-4, JosephS wrote:
print How old are you?, age = raw_input()
print How tall are you?, height = raw_input()
print How much do you weigh?, weight = raw_input()
print So, you're %r old, %r tall and %r heavy. % ( age, height,
weight)
Note:
Notice that
On Fri, Apr 1, 2011 at 3:12 AM, eryksun () eryk...@gmail.com wrote:
There appears to be a formatting error here.
So remind me again why Python likes whitespace to be significant?
/troll
:)
Chris Angelico
PS. Yes, I know remind me again is redundant. You have to make
mistakes when you troll,
Greetings
I am having some problems with one of the scripts below. I wonder
if anyone has run into a similar issue or knows a fix?
Seems I need to configure the proxy for python. I did it in image-
store-proxy file in /var/log. Is that the right place?
--
On Thu, Mar 31, 2011 at 9:18 AM, Chris Angelico ros...@gmail.com wrote:
On Fri, Apr 1, 2011 at 3:12 AM, eryksun () eryk...@gmail.com wrote:
There appears to be a formatting error here.
So remind me again why Python likes whitespace to be significant?
/troll
Thank you for your response. Here's some more information:
RHEL 5.3 / x86_64, using gcc
I am now compiling openssl-1.0.0d using:
./config --prefix=/usr/local --openssldir=/usr/local/openssl -fPIC
shared threads zlib
I do have the logs for config, make and make install. There are no
errors
Hi John Nagle...
Is there some way to get the USB ID of a serial port through pyserial on
Linux and/or
Windows?
I`m surprised that the big guns on here haven`t helped...
Short answer no.
USB serial port devices have device names determined by when they were
plugged in.
Yep and they are
Sorry but I typed that loy in manually so:-
# Linux...
if sys.platform == linux2:
# myportnumber = raw_input(..
should read:-
myportnumber = raw_input(..
# Similarly for Windows...
if sys.platform == win32:
# myportnumber = raw_input(
should also
The problem was that Pool shuts down from its finalizer:
http://stackoverflow.com/questions/5481104/multiprocessing-pool-imap-broken/5481610#5481610
On Wed, Mar 30, 2011 at 5:59 AM, eryksun () eryk...@gmail.com wrote:
On Tuesday, March 29, 2011 9:44:21 PM UTC-4, Yang Zhang wrote:
I've tried
My self-reply tried to preempt your suggestion :)
On Wed, Mar 30, 2011 at 12:12 AM, kyle.j.con...@gmail.com
kyle.j.con...@gmail.com wrote:
Yang,
My guess is that you are running into a problem using multiprocessing with
the interpreter. The documentation states that Pool may not work
I have a python script that automatically loads wordpress, up to the
point that it asks for the admin password.
that is a php function call
function wp_install( $blog_title, $user_name, $user_email, $public,
$deprecated = '', $user_password = '' )
Is there a way to call this function from
On Mar 30, 10:18 pm, Stretto stre...@nowhere.com wrote:
Joe Snodgrass joe.s...@yahoo.com wrote in message
news:c37e8e0b-a825-4ac5-9886-8828ab1fa...@x8g2000prh.googlegroups.com...
FBI cryptanalysis hasn’t decrypted notes from 1999 murder mystery
http://tinyurl.com/4d56zsz
The FBI is
CrabbyPete pete.do...@gmail.com writes:
I have a python script that automatically loads wordpress, up to the
point that it asks for the admin password.
that is a php function call
function wp_install( $blog_title, $user_name, $user_email, $public,
$deprecated = '', $user_password = '' )
For comparison, here's the debug info on Win32 Python 2.71. Multiprocessing on
Windows seems like a very different beast (e.g. there's no way to fork).
Case 1:
In [1]: %cpaste
Pasting code; enter '--' alone on the line to stop.
:import multiprocessing as mp
:import multiprocessing.util as util
On Fri, Apr 1, 2011 at 4:54 AM, Dan Stromberg drsali...@gmail.com wrote:
http://stromberg.dnsalias.org/~strombrg/significant-whitespace.html
I was trolling, I know the reasons behind it. Anyway, most people
don't share code by email! (Actually, since you seem to be the author
of that page -
On Thu, Mar 31, 2011 at 1:35 PM, Chris Angelico ros...@gmail.com wrote:
On Fri, Apr 1, 2011 at 4:54 AM, Dan Stromberg drsali...@gmail.com wrote:
http://stromberg.dnsalias.org/~strombrg/significant-whitespace.html
I was trolling, I know the reasons behind it. Anyway, most people
don't
Hi,
I am doing a search through a list of files but the text the casing doesn't
match. My list is all upper case but the real files are all different. Is there
a smooth way of searching through the list without going full on regular
expressions?
path = V:\\Jinsy\\incoming\\assets
On Thursday, March 31, 2011 4:35:42 PM UTC-4, Chris Angelico wrote:
I was trolling, I know the reasons behind it. Anyway, most people
don't share code by email! (Actually, since you seem to be the author
of that page - could you address that particular point? I think it's
probably as big an
On Fri, Apr 1, 2011 at 8:14 AM, Wehe, Marco marco.w...@bskyb.com wrote:
I am doing a search through a list of files but the text the casing doesn't
match. My list is all upper case but the real files are all different. Is
there a smooth way of searching through the list without going full on
On Thu, Mar 31, 2011 at 3:14 PM, Wehe, Marco marco.w...@bskyb.com wrote:
Hi,
I am doing a search through a list of files but the text the casing doesn't
match. My list is all upper case but the real files are all different. Is
there a smooth way of searching through the list without going
Wehe, Marco wrote:
I am doing a search through a list of files but the text the casing
doesn't match. My list is all upper case but the real files are all
different. Is there a smooth way of searching through the list without
going full on regular expressions?
path =
On Thu, Mar 31, 2011 at 2:43 PM, eryksun () eryk...@gmail.com wrote:
On Thursday, March 31, 2011 4:35:42 PM UTC-4, Chris Angelico wrote:
I was trolling, I know the reasons behind it. Anyway, most people
don't share code by email! (Actually, since you seem to be the author
of that page - could
On Mar 30, 3:49 pm, mennis michaelian.en...@gmail.com wrote:
I am working on a library for controlling various appliances in which
I use theloggingmodule. I'd like some input on the basic structure
of what I've done. Specifically theloggingaspect but more general
comments are welcome. I'm
On Fri, Apr 1, 2011 at 8:57 AM, geremy condra debat...@gmail.com wrote:
I know it's tongue-in-cheek, but please, please, please don't do this.
It would be more secure to base64 it and then rot13 the output.
Chris Angelico
/me is feeling evil today
=== Begin Base-Rotten 64-13 ===
Howdy all,
I want to inherit from a class, and define aliases for many of its
attributes. How can I refer to “the attribute that will be available by
name ‘spam’ once this class is defined”?
class Foo(object):
def spam(self):
pass
def eggs(self):
pass
Hi,
Wingware has released version 4.0.1 of Wing IDE, an integrated development
environment designed specifically for the Python programming language.
Wing IDE is a cross-platform Python IDE that provides a professional code
editor with vi, emacs, and other key bindings, auto-completion, call
I was looking at the list of bytecode instructions that Python uses and
I noticed how much it looked like assembly. So I figured it can't be to
hard to convert this to actual machine code, to get at least a small
boost in speed.
And so I whipped up a proof of concept, available at
[V N]
import _md5
ImportError: No module named _md5
Any idea(s)?
try to build Python with pydebug to enable _md5:
./configure --with-pydebug
nirinA
--
http://mail.python.org/mailman/listinfo/python-list
Chris Angelico ros...@gmail.com writes:
On Fri, Apr 1, 2011 at 8:57 AM, geremy condra debat...@gmail.com wrote:
I know it's tongue-in-cheek, but please, please, please don't do this.
It would be more secure to base64 it and then rot13 the output.
Rot-13 twice, to make it even more secure ;-)
L.S.
I have a problem that a background process that I'm trying to start with
subprocess.Popen gets interrupted and starts waiting for input no matter
what I try to do to have it continue to run. It happens when I run it
with nohup in the background.
I've tried to find a solution searching the
Yes, _md5 is enabled but I get a very long list under
Failed to build these modules:
_bisect_codecs_cn _codecs_hk
_codecs_iso2022_codecs_jp _codecs_kr
_codecs_tw _collections _csv
_ctypes_ctypes_test _curses
_curses_panel
On Thu, 31 Mar 2011 21:14:45 +, Wehe, Marco wrote:
[...]
Hi Marco, and welcome.
Others have already answered your question, but please don't post HTML
formatted messages (so-called rich text) to this mailing list. It is
mirrored to a newsgroup, comp.lang.python, and many people read it via
On Sun, Mar 20, 2011 at 9:52 AM, Anthony Tuininga
anthony.tuini...@gmail.com wrote:
Where do I get it?
http://cx-freeze.sourceforge.net
Just as a matter of interest, I tried to install cx_Freeze with
pip/distribute (Python 2.7.1)
but it fails with:
error: option
On Fri, Apr 1, 2011 at 10:42 AM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
(Oh, and I don't want to come across as elitist, but if you're using the
two-ton wrecking ball of Microsoft Word to crack the tiny peanut of
writing emails, you will have *zero* tech credibility in
Rouslan Korneychuk, 01.04.2011 00:33:
I was looking at the list of bytecode instructions that Python uses and I
noticed how much it looked like assembly. So I figured it can't be to hard
to convert this to actual machine code, to get at least a small boost in
speed.
I think I recall having
On 31/03/2011 23:05, Ethan Furman wrote:
Wehe, Marco wrote:
I am doing a search through a list of files but the text the casing
doesn't match. My list is all upper case but the real files are all
different. Is there a smooth way of searching through the list without
going full on regular
On Fri, 01 Apr 2011 09:14:03 +1100, Ben Finney wrote:
Howdy all,
I want to inherit from a class, and define aliases for many of its
attributes.
Are these aliases of arbitrary aliases, or only of methods, as in your
example below?
How can I refer to “the attribute that will be available
Sounds like you're just going to end up with more confusing code
having multiple ways to refer to the exact same thing. Why?
On Thu, Mar 31, 2011 at 6:14 PM, Ben Finney ben+pyt...@benfinney.id.au wrote:
Howdy all,
I want to inherit from a class, and define aliases for many of its
attributes.
Suppose you have a string, for instance
pyyythhooonnn ---
and you search for the subquences composed of the same character, here
you get :
'yyy', 'hh', 'ooo', 'nnn', '---', ''
It's not difficult to write a Python code that solves the problem, for
instance :
def f(text):
On 3/31/2011 6:33 PM, Rouslan Korneychuk wrote:
I was looking at the list of bytecode instructions that Python uses and
I noticed how much it looked like assembly. So I figured it can't be to
hard to convert this to actual machine code, to get at least a small
boost in speed.
And so I whipped
Calvin Spealman ironfro...@gmail.com writes:
Sounds like you're just going to end up with more confusing code
having multiple ways to refer to the exact same thing. Why?
(Why did you top-post?)
I'm defining aliases to conform to an existing API. The “Foo” class's
attributes are what is
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info writes:
On Fri, 01 Apr 2011 09:14:03 +1100, Ben Finney wrote:
I want to inherit from a class, and define aliases for many of its
attributes.
Are these aliases of arbitrary aliases, or only of methods, as in your
example below?
I'd
On 01/04/2011 01:43, candide wrote:
Suppose you have a string, for instance
pyyythhooonnn ---
and you search for the subquences composed of the same character, here
you get :
'yyy', 'hh', 'ooo', 'nnn', '---', ''
It's not difficult to write a Python code that solves the problem, for
On Thu, Mar 31, 2011 at 5:52 PM, Terry Reedy tjre...@udel.edu wrote:
On 3/31/2011 6:33 PM, Rouslan Korneychuk wrote:
I was looking at the list of bytecode instructions that Python uses and
I noticed how much it looked like assembly. So I figured it can't be to
hard to convert this to actual
In article 4d952008$0$3943$426a7...@news.free.fr,
candide candide@free.invalid wrote:
Suppose you have a string, for instance
pyyythhooonnn ---
and you search for the subquences composed of the same character, here
you get :
'yyy', 'hh', 'ooo', 'nnn', '---', ''
I got the
Hey, everyone, I'm trying to use ipython recently. It's very nice,
however, when I run this(from Programming Python 3rd) in ipython, I'll
get a NameError:
In [1]: import settime, timer, set
In [2]: import profile
In [3]: profile.run('timer.test(100, settime.setops, set.Set)')
On 03/31/2011 07:43 PM, candide wrote:
Suppose you have a string, for instance
pyyythhooonnn ---
and you search for the subquences composed of the same character, here
you get :
'yyy', 'hh', 'ooo', 'nnn', '---', ''
import re
s = pyyythhooonnn ---
[m.group(0) for m in
On 03/31/2011 07:43 PM, candide wrote:
pyyythhooonnn ---
and you search for the subquences composed of the same character, here
you get :
'yyy', 'hh', 'ooo', 'nnn', '---', ''
Or, if you want to do it with itertools instead of the re module:
s = pyyythhooonnn ---
from
On Mar 31, 3:14 pm, Ben Finney ben+pyt...@benfinney.id.au wrote:
Howdy all,
I want to inherit from a class, and define aliases for many of its
attributes. How can I refer to “the attribute that will be available by
name ‘spam’ once this class is defined”?
class Foo(object):
def
On Mar 31, 3:15 pm, Joe Snodgrass joe.s...@yahoo.com wrote:
On Mar 30, 10:18 pm, Stretto stre...@nowhere.com wrote:
Joe Snodgrass joe.s...@yahoo.com wrote in message
news:c37e8e0b-a825-4ac5-9886-8828ab1fa...@x8g2000prh.googlegroups.com...
FBI cryptanalysis hasn’t decrypted notes from
On 3/31/2011 10:20 PM, Tim Chase wrote:
On 03/31/2011 07:43 PM, candide wrote:
pyyythhooonnn ---
and you search for the subquences composed of the same character, here
you get :
'yyy', 'hh', 'ooo', 'nnn', '---', ''
Or, if you want to do it with itertools instead of the re module:
On Fri, Apr 1, 2011 at 4:31 AM, Adriaan Renting rent...@astron.nl wrote:
L.S.
I have a problem that a background process that I'm trying to start with
subprocess.Popen gets interrupted and starts waiting for input no matter
what I try to do to have it continue to run. It happens when I run it
Jason Morgan jas...@picochip.com added the comment:
Ok, I know there is a typo, (mings64 should read mingw64) I realised after
posting but can't edit it. I don't need any more emails telling me I can't
spell (or type) - I knew that already!
--
___
Jason Morgan jas...@picochip.com added the comment:
OK, I've understood this a bit more.
The compiler does not cause pyconfig.h to define SIZEOF_SIZE_T and SIZEOF_INT,
rather it is the definition of MS_WIN64 at compile time (which was not being
defined)
Defining MS_WIN64 fixes the problem,
Roundup Robot devnull@devnull added the comment:
New changeset a6d2c703586a by Victor Stinner in branch 'default':
Issue #11393: Fix the documentation (cancel_dump_traceback_later)
http://hg.python.org/cpython/rev/a6d2c703586a
New changeset e289b64f355d by Victor Stinner in branch 'default':
New submission from STINNER Victor victor.stin...@haypocalc.com:
linecache document doesn't tell that the module reads the #coding:xxx cookie to
get the encoding of the Python file. linecache reads this cookie since 41665
(May 09 2007).
The linecache module allows one to get any line from any
STINNER Victor victor.stin...@haypocalc.com added the comment:
test_faulthandler blocked AMD64 Gentoo Wide 3.x and AMD64 OpenIndiana 3.x
buildbots because of the stack overflow test.
New changeset e289b64f355d by Victor Stinner in branch 'default':
Issue #11393: limit stack overflow test to
New submission from STINNER Victor victor.stin...@haypocalc.com:
I would be nice to add a timeout option to regrtest.py to be able to dump the
traceback after TIMEOUT seconds and also exit the process. It would help
debugging timeout issues (e.g. test_multiprocessing ), but also protect
STINNER Victor victor.stin...@haypocalc.com added the comment:
I opened #11727 for the patch on regrtest.py. All buildbots look happy (no more
failure on test_faulthandler), so let's close this issue.
--
resolution: - fixed
status: open - closed
STINNER Victor victor.stin...@haypocalc.com added the comment:
This issue is a duplicate of #9205.
--
resolution: - duplicate
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11663
STINNER Victor victor.stin...@haypocalc.com added the comment:
Issue #11663 has been marked as a duplicate.
--
nosy: +bquinlan, haypo, pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9205
STINNER Victor victor.stin...@haypocalc.com added the comment:
I created a new Mercurial repository to test this issue:
features/regrtest_timeout.
Let's try it with a timeout of 5 minutes on:
- x86 Tiger custom to learn more about test_threadsignals timeout (1 hour)
= issue #11223
- x86
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
Actually, the makefile location *is* wrong - ignore my last comment
contradicting that.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6087
Tristan Carel tristan.ca...@gmail.com added the comment:
I have experienced the same problem under ppc64 aix 6.1.2.0 while compiling
Python 2.7.1
$ cd Python-2.7.1
$ mkdir __build
$ cd __build
$ ../configure --with-gcc=xlc_r --with-cxx-main=xlC_r --with-threads
--disable-ipv6
$
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
I can't see how that patch has anything to do with it. The problem has been
present since at least 2.5. Your patch fixed it for timeout0.0 but left the
0.0 case still broken.
It comes from these lines in init_sockobject:
{
STINNER Victor victor.stin...@haypocalc.com added the comment:
Try the branch on PPC Leopard 3.x (test_subprocess timeout):
http://www.python.org/dev/buildbot/all/builders/PPC%20Leopard%20custom/builds/6
--
___
Python tracker rep...@bugs.python.org
Changes by Tim Lesher tles...@gmail.com:
--
nosy: +tlesher
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1635741
___
___
Python-bugs-list mailing
Antoine Pitrou pit...@free.fr added the comment:
There is a failure on FreeBSD:
==
FAIL: test_dump_tracebacks_later_repeat
(test.test_faulthandler.FaultHandlerTests)
Roundup Robot devnull@devnull added the comment:
New changeset aa2ac1581d23 by Victor Stinner in branch 'default':
Issue #11393: test_faulthandler checks the exitcode after the output
http://hg.python.org/cpython/rev/aa2ac1581d23
--
___
Python
Antoine Pitrou pit...@free.fr added the comment:
Just a nit but:
if timeout and 0 timeout
Could you use the usual coding style? (if timeout and timeout 0)
Putting constants on the left-side of comparisons is pointless in Python, and
even in C it's quite ugly and surprising.
--
Antoine Pitrou pit...@free.fr added the comment:
x86 Tiger custom to learn more about test_threadsignals timeout
(1 hour)
Please read the comments. There is no timeout anymore.
--
___
Python tracker rep...@bugs.python.org
STINNER Victor victor.stin...@haypocalc.com added the comment:
x86 Tiger custom to learn more about test_threadsignals timeout
(1 hour)
Please read the comments. There is no timeout anymore.
The last build failed with:
---
...
[213/354] test_plistlib
[214/354] test_minidom
[215/354]
New submission from valera vmasu...@apache.org:
mailbox.mbox parser is splitting mbox files by ^From pattern, which is
wrong , in fairy it should split mbox by \nFrom .
Illustration:
--
From bla-blah@localhost
Header1
Header2
body1
body2
From blah-blah2@localhost
Header1
body1
From your
Antoine Pitrou pit...@free.fr added the comment:
Agreed with Brian. There is generally no reliable way to terminate another
thread or process without cooperation from said thread or process. Especially
in the case of threads, terminating a thread while leaving the process alive
may leave some
STINNER Victor victor.stin...@haypocalc.com added the comment:
I ran the full test suite on x86 Tiger custom on my features/regrtest_timeout
repository: no failure (test_threadsignals failure was not reproduced).
On PPC Leopard custom, the test suite was interrupted (timeout) on
Antoine Pitrou pit...@free.fr added the comment:
The problem with this approach is that it won't help concurrent.futures.
Detection of killed endpoints should ideally happen at a lower level, e.g. in
Process or Queue or Connection objects.
Speaking of which, I wonder why we have both
Jesse Noller jnol...@gmail.com added the comment:
On Thu, Mar 31, 2011 at 8:25 AM, Antoine Pitrou rep...@bugs.python.org wrote:
Antoine Pitrou pit...@free.fr added the comment:
Speaking of which, I wonder why we have both multiprocessing.Pool and
concurrent.futures.ProcessPoolExecutor.
Ross Lagerwall rosslagerw...@gmail.com added the comment:
I'd argue that this is not a feature request but a bug.
I did some testing of this issue and the problem is that EPIPE is only
generated sometimes depending on the time the process takes to finish, the size
of the data sent, the
New submission from Ismail Donmez ism...@namtrac.org:
The check under Modules/_ctypes/libffi/configure.ac does;
echo '.text; foo: nop; .data; .long foo-.; .text' conftest.s
if $CC $CFLAGS -c conftest.s 21 | grep -i warning /dev/null; then
libffi_cv_as_x86_pcrel=no
fi
Antoine Pitrou pit...@free.fr added the comment:
Possible plan for POSIX, where a connection uses a pipe() or socketpair():
exploit the fact that an endpoint becomes ready for reading (indicating EOF)
when the other endpoint is closed:
r, w = os.pipe()
select.select([r], [], [r], 0)
([],
Antoine Pitrou pit...@free.fr added the comment:
(certainly not easy, sorry)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9205
___
___
Jesse Noller jnol...@gmail.com added the comment:
On Thu, Mar 31, 2011 at 9:05 AM, Antoine Pitrou rep...@bugs.python.org wrote:
Antoine Pitrou pit...@free.fr added the comment:
Possible plan for POSIX, where a connection uses a pipe() or socketpair():
exploit the fact that an endpoint
STINNER Victor victor.stin...@haypocalc.com added the comment:
Result on x86 FreeBSD 7.2 custom:
...
[148/354] test_fileinput
[149/354] test_subprocess
[36645 refs]
[36645 refs]
...
[36647 refs]
[44034 refs]
Current thread 0x28401040:
File
STINNER Victor victor.stin...@haypocalc.com added the comment:
test_subprocess.test_leaking_fds_on_error takes more than 5 minutes on x86
FreeBSD 7.2 build slave! This tests creates 1,024 subprocesses, and subprocess
has to close 655,000 file descriptors just to create on child process
STINNER Victor victor.stin...@haypocalc.com added the comment:
test_subprocess.test_leaking_fds_on_error takes more than 5 minutes on x86
FreeBSD 7.2 build slave! This tests creates 1,024 subprocesses, and subprocess
has to close 655,000 file descriptors just to create on child process
1 - 100 of 164 matches
Mail list logo