Hi everybody,
Just uploaded execnet-1.0.1 featuring a new motto:
execnet is about rapid-python deployment, be it for
multiple CPUs, different platforms or python versions.
This release brings a bunch of refinements and most
importantly more robust termination, handling of CTRL-C
and
Ketchup TV is a little video player. You can watch WebTV and listen WebRadio.
You can watch your own playlists.
Ketchup TV has a podcast service with trailers, news and others contents.
Ketchup TV is a clone project of FreeHD Gadget. Ketchup TV works without
Sidebar and it embed VLC libraries.
==
MoinMoin 1.9.0 advanced wiki engine released
==
MoinMoin is an easy to use, full-featured and extensible wiki software
package written in Python. It can fulfill a wide range of roles, such
as a personal
On Dec 5, 11:42 pm, Tim Roberts t...@probo.com wrote:
Raymond Hettinger pyt...@rcn.com wrote:
if not round(x - y, 6): ...
That's a dangerous suggestion. It only works if x and y happen to be
roughly in the range of integers.
Right. Using abs(x-y) eps is the way to go.
Raymond
--
On Sat, 5 Dec 2009 23:04:42 -0800 (PST) Dr. Phillip M. Feldman
pfeld...@verizon.net wrote:
If I create a module xyz.py with a docstring xyz does everything
you could possibly want. at the top, the command ?xyz issued at
the IPython prompt does not display this docstring. What am I doing
Gnarlodious wrote:
On Dec 5, 3:54 am, Lie Ryan wrote:
Because of the switch to unicode str, a simple print('晉') should've
worked flawlessly if your terminal can accept the character, but the
problem is your terminal does not.
There is nothing wrong with Terminal, Mac OSX supports
On Sun, 06 Dec 2009 10:55:50 +0100, Andreas Waldenburger wrote:
On Sat, 5 Dec 2009 23:04:42 -0800 (PST) Dr. Phillip M. Feldman
pfeld...@verizon.net wrote:
If I create a module xyz.py with a docstring xyz does everything you
could possibly want. at the top, the command ?xyz issued at the
Hi,
I am puzzled why Python's exception classes don't seem to follow the pickle
protocol.
To be more specific: an instance of a user defined exception, subclassed from Exception,
cannot be pickled/unpickled correctly in the expected way.
The pickle protocol says that:
__getinitargs__ is used
* He hasn't actually defined a docstring. Docstrings have to be string
literals, you can't do this:
%s does everything you could possibly want. % xyz
I've occasionally wanted something like this, and have found that
it can be done by manually assigning to __doc__ (either at the
module-level
On Sun, 06 Dec 2009 06:34:17 -0600, Tim Chase wrote:
* He hasn't actually defined a docstring. Docstrings have to be string
literals, you can't do this:
%s does everything you could possibly want. % xyz
I've occasionally wanted something like this, and have found that it can
be done by
On Dec 4, 12:31 pm, mynthon mynth...@gmail.com wrote:
Thank you for this suggestion. Ideally, you would have created an
issue for this on bugs.python.org, because then it would be more
likely to be acted upon.
I've implemented this feature in r76691 (in Python trunk and py3k) in
a more general
On Dec 6, 3:21 pm, vsoler vicente.so...@gmail.com wrote:
I recently read that many libraries, including Numpy have not been
ported to Python 3.
When do you think that Python 3 will be fully deployed?
Should I stick, so far, to Python 2.6?
Regards
Vicente Soler
You'll have some answers
Python newbie, like me, need a simple, easy to understand and use,
simple interactive GUI functions abd dialogs for starting using the
language quickly.
I wrote the wxEasyGUI simple library with this idea in my mind and
started a new project on the SourceForge.net wxEasyGUI - Easy to
Use
On Dec 1, 7:04 pm, Ethos kevint...@gmail.com wrote:
On Dec 1, 6:37 pm, David Cournapeau courn...@gmail.com wrote:
On Wed, Dec 2, 2009 at 11:03 AM, Ethos kevint...@gmail.com wrote:
I reinstallednumpy, from sourceforge, even though I had already
installed the latest version. Same
On Dec 6, 7:43 am, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
On Sun, 06 Dec 2009 06:34:17 -0600, Tim Chase wrote:
I've occasionally wanted something like this, and have found that it can
be done by manually assigning to __doc__ (either at the module-level or
classes)
J wrote:
But that being said, this brings to mind a question about this... in
*nix, when I can't do something like delete a file or directory, or
unmount a filesystem and cant find the cause, I can do an lsof and
grep for references to the file/directory in question, then work from
there to
I do some linear algebra and whenever the prefactor of a vector turns
out to be zero, I want to remove it.
I'd like to keep the system comfortable. So basically I should write a
new class for numbers that has it's own __eq__ operator?
Is there an existing module for that?
--
Hi,
I was trying to create a function that receive a generator and return
a list but that each elements were computed in a diferent core of my
machine. I start using islice function in order to split the job in a
way that if there is n cores each i core will compute the elements
i,i+n,i+2n,...,
Dear all,
I've some applciations which fetch HTML docuemnts off the web, parse
their content and do stuff with it. Every once in a while it happens
that the web site administrators put up files which are encoded in a
wrong manner.
Thus my Python script dies a horrible death:
File ./update_db,
Steven D'Aprano-7 wrote:
On Sun, 06 Dec 2009 10:55:50 +0100, Andreas Waldenburger wrote:
On Sat, 5 Dec 2009 23:04:42 -0800 (PST) Dr. Phillip M. Feldman
pfeld...@verizon.net wrote:
If I create a module xyz.py with a docstring xyz does everything you
could possibly want. at the top,
OK. I was able to reproduce the problem. My difficulty was that the command
that I issued initially was from xyz import * rather than just import
xyz. If I say import xyz, then the docstring is defined; if I say from
xyz import *, it isn't. I'm not sure whether this is a bug or expected
dbd wrote:
On Dec 6, 1:12 am, Raymond Hettinger pyt...@rcn.com wrote:
On Dec 5, 11:42 pm, Tim Roberts t...@probo.com wrote:
Raymond Hettinger pyt...@rcn.com wrote:
if not round(x - y, 6): ...
That's a dangerous suggestion. It only works if x and y happen to be
roughly in the range of
Johannes Bauer a écrit :
Dear all,
I've some applciations which fetch HTML docuemnts off the web, parse
their content and do stuff with it. Every once in a while it happens
that the web site administrators put up files which are encoded in a
wrong manner.
Thus my Python script dies a
On Sun, Dec 6, 2009 at 12:34 PM, Dr. Phillip M. Feldman
pfeld...@verizon.net wrote:
OK. I was able to reproduce the problem. My difficulty was that the command
that I issued initially was from xyz import * rather than just import
xyz. If I say import xyz, then the docstring is defined; if I
Dr. Phillip M. Feldman, 06.12.2009 21:34:
OK. I was able to reproduce the problem. My difficulty was that the command
that I issued initially was from xyz import * rather than just import
xyz. If I say import xyz, then the docstring is defined; if I say from
xyz import *, it isn't. I'm not
On 6 Des, 21:52, r0g aioe@technicalbloke.com wrote:
. Right. Using abs(x-y) eps is the way to go.
.
. Raymond
This only works when abs(x) and abs(y) are larger that eps, but not
too much larger.
Okay, I'm confused now... I thought them being larger was entirely the
point.
Hans Mulder wrote:
div class=moz-text-flowed style=font-family: -moz-fixedJ wrote:
But that being said, this brings to mind a question about this... in
*nix, when I can't do something like delete a file or directory, or
unmount a filesystem and cant find the cause, I can do an lsof and
grep
In article a3a3f9cc-e539-4618-8800-ab9779b5b...@v19g2000vbk.googlegroups.com,
vsoler vicente.so...@gmail.com wrote:
I recently read that many libraries, including Numpy have not been
ported to Python 3.
When do you think that Python 3 will be fully deployed?
It will never be fully deployed.
Anton81 wrote:
I do some linear algebra and whenever the prefactor of a vector turns
out to be zero, I want to remove it.
I'd like to keep the system comfortable. So basically I should write a
new class for numbers that has it's own __eq__ operator?
Is there an existing module for that?
hola soy un pequeño programador y quiesiera pedirles ayuda para programar en
python, no se si me podrian mandar ejemplos para poder empezar, y como
terminarlo para que se ejecute, me entiendes , aver sime ayudan gracias
--
..FrankiSoft...
--
Hello world !
a week after BETA1 i'm releasing BETA2, changes go fast ;]
what changed in this version:
* RSS plugin can now push to xmpp clients .. add cmnd...@appspot.com
to your jabber client and do 1) rss-add to add a feed 2) use rss-start
to make the bot start sending you feed updates.
* a
On 06-Dec-09 13:25 PM, Luis M. González wrote:
On Dec 6, 3:21 pm, vsolervicente.so...@gmail.com wrote:
I recently read that many libraries, including Numpy have not been
ported to Python 3.
When do you think that Python 3 will be fully deployed?
Should I stick, so far, to Python 2.6?
Edward A. Falk wrote:
cut
For development purposes, you should stick with the oldest version that will
actually run your code. Every time you move to a more modern version, you're
leaving potential users/customers out in the cold.
If the fear of customers disatification prevents you from
On Dec 6, 11:34 am, Anton81 gerenu...@googlemail.com wrote:
I do some linear algebra and whenever the prefactor of a vector turns
out to be zero, I want to remove it.
I'd like to keep the system comfortable. So basically I should write a
new class for numbers that has it's own __eq__
On Dec 6, 4:54 pm, Carl Banks pavlovevide...@gmail.com wrote:
On Dec 6, 11:34 am, Anton81 gerenu...@googlemail.com wrote:
I do some linear algebra and whenever the prefactor of a vector turns
out to be zero, I want to remove it.
I'd like to keep the system comfortable. So basically I
On Sun, Dec 6, 2009 at 1:46 AM, Mark Dickinson dicki...@gmail.com wrote:
On Dec 5, 3:37 pm, Anton81 gerenu...@googlemail.com wrote:
I'd like to do calculations with floats and at some point equality of
two number will be checked.
What is the best way to make sure that equality of floats will
Chris Rebert wrote:
On Sun, Dec 6, 2009 at 12:34 PM, Dr. Phillip M. Feldman
pfeld...@verizon.net wrote:
OK. I was able to reproduce the problem. My difficulty was that the command
that I issued initially was from xyz import * rather than just import
xyz. If I say import xyz, then the
* Dennis Lee Bieber:
On Sat, 05 Dec 2009 11:26:34 +0100, Alf P. Steinbach al...@start.no
declaimed the following in gmane.comp.python.general:
The devolution of terminology has been so severe that now even the Wikipedia
article on this subject confounds the general concept of routine with the
The key to scaling a web site is to make
sure you can load-balance to as many front
ends as needed and then use a common database
backend that is fast enough or possibly a
common file system that is fast enough.
I can't speak to Django specifically but
you can certainly get essentially unlimited
Phillip M. Feldman pfeld...@verizon.net wrote:
It does seem as though IPython could be a bit more clever about this.
I disagree. I _like_ that IPython is only reporting on the current
state of the interpreter and not trying to second guess what I meant.
If the user asks for documentation on
Carl Banks wrote:
On Dec 6, 11:34 am, Anton81 gerenu...@googlemail.com wrote:
I do some linear algebra and whenever the prefactor of a vector turns
out to be zero, I want to remove it.
I'd like to keep the system comfortable. So basically I should write a
new class for numbers that has
See Subject.
def StackImages(self):
self.Upload(P)
self.after_id = self.master.after(1,self.GetFrameOne)
--
http://mail.python.org/mailman/listinfo/python-list
On Dec 6, 7:29 pm, W. eWatson wolftra...@invalid.com wrote:
See Subject.
def StackImages(self):
self.Upload(P)
self.after_id = self.master.after(1,self.GetFrameOne)
It's a method of the object that is bound to self.master. It's
return value is then bound to the
On Sun, Dec 6, 2009 at 10:29 PM, W. eWatson wolftra...@invalid.com wrote:
See Subject.
def StackImages(self):
self.Upload(P)
self.after_id = self.master.after(1,self.GetFrameOne)
--
http://mail.python.org/mailman/listinfo/python-list
I think this is close to winning an
Hello ALL,
i have some python proxy checker .
and to speed up check, i was decided change to mutlthreaded version,
and thread module is first for me, i was tried several times to convert to
thread version
and look for many info, but it not so much easy for novice python programmar
.
if
On 12/7/2009 7:22 AM, Jorge Cardona wrote:
Hi,
I was trying to create a function that receive a generator and return
a list but that each elements were computed in a diferent core of my
machine. I start using islice function in order to split the job in a
way that if there is n cores each i
On Dec 6, 1:48 pm, sturlamolden sturlamol...@yahoo.no wrote:
On 6 Des, 21:52, r0g aioe@technicalbloke.com wrote:
. Right. Using abs(x-y) eps is the way to go.
.
. Raymond
This only works when abs(x) and abs(y) are larger that eps, but not
too much larger.
Okay, I'm
Alf P. Steinbach wrote:
* Dennis Lee Bieber:
On Sat, 05 Dec 2009 11:26:34 +0100, Alf P. Steinbach
al...@start.no declaimed the following in
gmane.comp.python.general:
The devolution of terminology has been so severe that now even the
Wikipedia article on this subject confounds the general
On Dec 6, 8:46 pm, Benjamin Kaplan benjamin.kap...@case.edu wrote:
On Sun, Dec 6, 2009 at 10:29 PM, W. eWatson wolftra...@invalid.com wrote:
See Subject.
def StackImages(self):
self.Upload(P)
self.after_id = self.master.after(1,self.GetFrameOne)
--
zeph zep...@gmail.com wrote:
True, though by *context* the after method looks like it takes a time
(probably in milliseconds, given its size), and a method, and calls
the method after that amount of time, and returning some process/
thread id to self.after_id. Though if that's right, we still
I wrote a handy-dandy function (see below) called strip_pairs for stripping
matching pairs of characters from the beginning and end of a string. This
function works, but I would like to be able to invoke it as a string method
rather than as a function. Is this possible?
def strip_pairs(s=None,
On Sun, Dec 6, 2009 at 10:47 PM, Dr. Phillip M. Feldman
pfeld...@verizon.net wrote:
I wrote a handy-dandy function (see below) called strip_pairs for
stripping
matching pairs of characters from the beginning and end of a string. This
function works, but I would like to be able to invoke it
Changes by Raymond Hettinger rhettin...@users.sourceforge.net:
--
assignee: georg.brandl - rhettinger
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7447
___
Tarek Ziadé ziade.ta...@gmail.com added the comment:
I will treat the empty line problem in another issue because I won't
apply it in 2.6/3.1.
This one is fixed in r76684, r76685, r76686, r76687.
Thanks !
--
status: open - closed
versions: +Python 2.6, Python 2.7, Python 3.1, Python
flox la...@yahoo.fr added the comment:
Proposed patch fixes most of the discrepancies between both implementations.
It restores some features that were lost with Python 3:
* cElement slicing and extended slicing
* iterparse, cET.getiterator and cET.findall return an iterator
(as
Changes by flox la...@yahoo.fr:
Added file: http://bugs.python.org/file15462/issue6472_py3k.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6472
___
Mark Dickinson dicki...@gmail.com added the comment:
Tom, I think I'm missing your point: all three of the examples you give
seem like perfect candidates for a key-based sort rather than a
comparison-based one. For the first example, couldn't you do something
like:
def direction(pt1, pt2):
R. David Murray rdmur...@bitdance.com added the comment:
With just the test patch applied, test_imaplib passes for me on trunk
r76687.
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5949
Tom Switzer thomas.swit...@gmail.com added the comment:
Mark: I think your example actually helps illustrate my point. My point was
that computing the angle directly is less efficient or not as nice
numerically. For instance, if you are sorting points by angle relative to an
extreme point you
R. David Murray rdmur...@bitdance.com added the comment:
Ah, your new test isn't being run, that's why test_impalib passes. Let
me figure out why your test isn't run.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5949
Scott Dial sc...@scottdial.com added the comment:
The test requires regrtest.py be run with network support and the python
instance be built with threads.
$ ./python Lib/test/regrtest.py -u network test_imaplib
Without network support, it just skips those test (which is the same way
test_ssl).
R. David Murray rdmur...@bitdance.com added the comment:
OK, after adding ThreadedNetworkedTests to the 'tests' list in
test_main, the new tests ran and did hang. After applying the imaplib
patch, the new tests completed. However, afterward I got the following
traceback:
Exception in thread
R. David Murray rdmur...@bitdance.com added the comment:
Ah, my mistake, I misread the code, sorry.
Yes, if I supply -uall to regrtest the tests run correctly.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5949
Changes by Roumen Petrov bugtr...@roumenpetrov.info:
Added file: http://bugs.python.org/file15464/python-trunk-20091206-CROSS.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
Changes by Roumen Petrov bugtr...@roumenpetrov.info:
Added file: http://bugs.python.org/file15465/python-trunk-20091206-MINGW.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3871
Scott Dial sc...@scottdial.com added the comment:
Thanks for giving it a try. I believe the issue is that I am raising an
exception in the middle of run_server, which was not a pattern tested in
the other modules I looked at. Thus, the threads for those do not get
reaped correctly.
I have
New submission from Clovis Fabricio nosklo+pyt...@gmail.com:
Suppose I want to simulate the following shell pipe using the subprocess
module:
`grep -v not | cut -c 1-10`
The documentation example here
http://docs.python.org/library/subprocess.html#replacing-shell-pipeline
Implies that I want
Marcelo Fernández marcelo.fidel.fernan...@gmail.com added the comment:
Great, piro!
I'm taking a look at it, and it seems to use setproctitle() in BSD, and
writes over the argv array in most Sys-V like systems; this includes
Linux?
My question is because I think there's a better and
Mark Dickinson dicki...@gmail.com added the comment:
Ah. Thanks for the explanation; I see your point. I guess you do just
have to use a CmpToKey-type wrapper for this sort of comparison.
Though for this *particular* example, it seems to me that you could still use a
key function
lambda
New submission from R. David Murray rdmur...@bitdance.com:
In the past (= 2.6) regrtest skipped a test if any import failure
happened, which masked various real test failures. This was fixed, and
tests that should be skipped if certain modules are not available were
changed to use
Daniele Varrazzo p...@develer.com added the comment:
I'm taking a look at it, and it seems to use setproctitle() in BSD,
and
writes over the argv array in most Sys-V like systems; this
includes
Linux?
Yes: Linux uses what in the source is referred as the
PS_USE_CLOBBER_ARGV strategy: it
Marcelo Fernández marcelo.fidel.fernan...@gmail.com added the comment:
2009/12/6 Daniele Varrazzo rep...@bugs.python.org:
My question is because I think there's a better and supported method
for
Linux, that is, using prctl [1]. I read somewhere that changing argv
causes some inconsistencies
R. David Murray rdmur...@bitdance.com added the comment:
The traceback I posted was a spurious result of my misunderstanding your
test code. With -uall it worked fine. Sorry that I didn't make that clear.
Thanks for doing the work of putting the extended test framework
together. Without
R. David Murray rdmur...@bitdance.com added the comment:
Patch actually attached this time.
--
Added file: http://bugs.python.org/file15467/test_imaplib_issue5949.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5949
flox la...@yahoo.fr added the comment:
I fixed it differently, using the upstream modules (Thank you Fredrik).
* ElementTree 1.3a3-20070912
* cElementTree 1.0.6-20090110
It works.
And it closes issue1143, too.
--
Added file: http://bugs.python.org/file15468/issue6472_upstream.diff
Daniele Varrazzo p...@develer.com added the comment:
It seems that some utilities and programs (killall,
gnome-system-monitor, and so on) looks for the process name in
/proc/PID/status, not in /proc/PID/cmdline, so it should be better
(in Linux), to modify both, /proc/PID/cmdline (changing
Marcelo Fernández marcelo.fidel.fernan...@gmail.com added the comment:
2009/12/6 Daniele Varrazzo rep...@bugs.python.org:
Just released setproctitle 0.2 where I also call prctl() if available.
It is actually the string used by killall.
Great!
I've just tested it and it works fine here...
Changes by Jerry Seutter jseut...@gmail.com:
--
assignee: - jseutter
nosy: +jseutter
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7449
___
___
Changes by Mark Wielaard m...@redhat.com:
--
nosy: +mjw
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4111
___
___
Python-bugs-list mailing list
Martin v. Löwis mar...@v.loewis.de added the comment:
I've just tested it and it works fine here... Any possibility this
module can be included in the regular python standard library, in the
future?
Only in the far future. I don't think the Python standard library should
include a module
80 matches
Mail list logo