RPyC (Remote Python Call) is a python library for transparent, symmetrical
remote procedure calls, clustering and distributed-computing. RPyC makes use of
object-proxying, a technique that employs python’s dynamic nature, to overcome
the physical boundaries between processes and computers, so
Hello everyone,
I'm probably missing something pretty obvious, but I was wondering if there
was a way of executing an arbitrary line of code somehow (such as a line of
code based on user-input). There's the obvious use of eval that will
evaluate a function call, but that doesn't allow all
On Fri, Sep 30, 2011 at 11:31 PM, Jason Swails jason.swa...@gmail.com wrote:
Hello everyone,
I'm probably missing something pretty obvious, but I was wondering if there
was a way of executing an arbitrary line of code somehow (such as a line of
code based on user-input). There's the obvious
On Sep 30, 11:54 pm, Dennis Lee Bieber wlfr...@ix.netcom.com wrote:
How difficult would it be to convert the array to a PIL image? I'm
fairly certain PIL has operations to rescale images.
Yes, I considered this approach -- but I have a lot of arrays to
resample, and I didn't want to
On Sep 30, 1:51 pm, Jon Clements jon...@googlemail.com wrote:
Is something like
http://docs.scipy.org/doc/scipy/reference/generated/scipy.misc.imresize.html
any use?
There we go! That's the kind of method I was seeking. I didn't think
to look outside of scipy.interpolate. Thanks, Jon.
--
Hello All,
I need a basic example where MVC pattern is used with Python TK.
Regards,
Emeka
--
*Satajanus Nig. Ltd
*
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I would like to get the list of parameters I need to initialize an AST node.
I'm trying to use the `inspect` module, however it seems I can't use it on a
built-in (native?) class, or else I misunderstood.
I'm using Python 2.7 and tried with Python 3.2.
This is working:
import inspect
Need A script to open a excel file and extract the data using
autofilter and write it in a new sheet or new file like I have to
select all rows in which all the columns contain pass as status
--
http://mail.python.org/mailman/listinfo/python-list
On Oct 1, 10:25 pm, Prakash prakash...@gmail.com wrote:
Need A script to open a excel file and extract the data using
autofilter and write it in a new sheet or new file like I have to
select all rows in which all the columns contain pass as status
from win32com.client import Dispatch
xlApp =
On Sep 29, 12:52 pm, Miki Tebeka miki.teb...@gmail.com wrote:
Probably the google maps routes will be faster (maybe using embedded webkit
window). However it requires internet connection.
See alsohttp://www.scipy.org/Cookbook/Matplotlib/Maps
Thanks. But I just needed a small radius, not the
You could create the webpage and then render
it in your desktop app. I have seen plenty of apps like that.
That's a good idea. I was able to get the basics of the pymaps
approach going, so I may do just this. Thanks.
--
http://mail.python.org/mailman/listinfo/python-list
Dear Colleague,
Within the 8th EUROMECH Solid Mechanics Conference - ESMC2012
(www.esmc2012.tugraz.at), to be held in Graz University of Technology,
Austria, July 9-13, 2012, we are organizing the Symposium “Image
Processing and Visualization in Solid Mechanics Processes”.
Examples of topics that
On 01.10.2011 14:41, Emeka wrote:
Hello All,
I need a basic example where MVC pattern is used with Python TK.
I'm still not 100% sure if I really understand the MVC pattern. Some
say the view and the model must not interact directly, some say the
view must not access the controller (but the
On Sat, 1 Oct 2011 10:35:06 -0700 (PDT), Prakash prakash...@gmail.com
wrote:
On Oct 1, 10:25 pm, Prakash prakash...@gmail.com wrote:
Need A script to open a excel file and extract the data using
autofilter and write it in a new sheet or new file like I have to
select all rows in which all the
On Sat, 01 Oct 2011 23:00:07 +0100, David Monaghan
monaghand.da...@gmail.com wrote:
from win32com.client import Dispatch
xlApp = Dispatch(Excel.Application)
xlWbook = xlApp.Workbooks.Open(rC:\Users\Administrator\Desktop\test.xls)
xlApp.Visible = 1
xlWorksheet = xlWbook.Worksheets(1)
Chris Angelico wrote:
But what if I'm a great windowing magnate, owning windows all over the world?
Like Bill Gates, you mean?
--
Greg
--
http://mail.python.org/mailman/listinfo/python-list
Alexander Kapps wrote:
But I think a simple (and quick 'n' dirty) Tk MVC example can look like
this:
The Controller doesn't seem to add any value in that example.
You might as well connect the Model and Views directly to
each other.
--
Greg
--
By the way, who removed the OT label from the subject line? Please don't
unless it actually comes back on topic.
DevPlayer wrote:
I still assert that contradiction is caused by narrow perspective.
There's no doubt that some *apparent* contradictions are caused by lack of
correct information.
Steven D'Aprano wrote:
By the way, who removed the OT label from the subject line?
Probably nobody removed it, they just replied to some earlier
message that didn't have it.
Despite the term, a newsgroup thread is not a linear structure,
it's a tree. Changing the subject line on one branch
Anyone know the story behind the lower-case names for the
non-exception built-in types (like list and type)? I am guessing that
they were originally factory functions that, at some point, graduated
to full types; and the names were kept lower-case for backward
compatibility.
However, if we were
Gregory Ewing wrote:
Steven D'Aprano wrote:
By the way, who removed the OT label from the subject line?
Probably nobody removed it, they just replied to some earlier
message that didn't have it.
I started the Benefit and belief sub-thread, changing the subject line
from suggested coding
Eric Snow wrote:
Anyone know the story behind the lower-case names for the
non-exception built-in types (like list and type)? I am guessing that
they were originally factory functions that, at some point, graduated
to full types; and the names were kept lower-case for backward
Thanks, Steven.
On Sat, Oct 1, 2011 at 10:11 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
Eric Snow wrote:
Anyone know the story behind the lower-case names for the
non-exception built-in types (like list and type)? I am guessing that
they were originally factory
I'm not sure the subject's wording is the best, but I'll try to explain.
I have a main script that imports several modules and I need to be able
to call methods from a class instance inside that main script from a
module. Currently, functions can be defined to access the methods, but
such
Stefan Krah stefan-use...@bytereef.org added the comment:
I think this is a duplicate of #12788.
--
nosy: +skrah
resolution: - duplicate
stage: - committed/rejected
status: open - closed
superseder: - test_email fails with -R
___
Python tracker
New submission from Stefan Krah stefan-use...@bytereef.org:
Got this failure on Debian lenny amd64:
[1/1] test_signal
test test_signal failed -- Traceback (most recent call last):
File /home/stefan/cpython/Lib/test/test_signal.py, line 339, in test_pending
, *signals)
File
New submission from Stefan Krah stefan-use...@bytereef.org:
I think a couple of leaks were introduced by the pep-393
changes (see the patch).
--
components: Interpreter Core
files: pep-393-leaks.diff
keywords: patch
messages: 144719
nosy: haypo, loewis, skrah
priority: normal
severity:
Changes by Stefan Krah stefan-use...@bytereef.org:
--
title: : memory leaks - pep-393: memory leaks
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13085
___
Changes by Stefan Krah stefan-use...@bytereef.org:
--
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13084
___
___
Charles-François Natali neolo...@free.fr added the comment:
See http://bugs.python.org/issue12469, specifically
http://bugs.python.org/issue12469#msg139831
When signals are unblocked, pending signal ared delivered in the reverse
order
of their number (also on Linux, not only on FreeBSD
New submission from Larry Hastings la...@hastings.org:
The title of howto/cporting.rst is Porting Extension Modules To 3.0. It then
talks about 3.0 in a whole bunch of places. Considering that we're working on
3.3, and considering that 3.0 is end-of-lifed (not even meriting a branch in
hg),
Martin v. Löwis mar...@v.loewis.de added the comment:
* Word characters are Alphabetic + Mn+Mc+Me + Nd + Pc.
Where did you get that definition from? UTS#18 defines
word_character, which is Alphabetic + U+200C + U+200D
(i.e. not including marks, but including those
I think you are looking
Tom Christiansen tchr...@perl.com added the comment:
Martin v. Löwis rep...@bugs.python.org wrote
on Sat, 01 Oct 2011 10:59:48 -:
* Word characters are Alphabetic + Mn+Mc+Me + Nd + Pc.
Where did you get that definition from? UTS#18 defines
word_character, which is Alphabetic +
Larry Hastings la...@hastings.org added the comment:
Attached is a patch against trunk branch 2.7 (rev dec00ae64ca8) adding
documentation on how to migrate CObjects to Capsules. Delta the inevitable
formatting bikeshedding, this should be ready to go. I've smoke-tested the
capsulethunk.h
Larry Hastings la...@hastings.org added the comment:
Whoops, forgot to attach. *Here's* the patch.
--
keywords: +patch
Added file: http://bugs.python.org/file23282/larry.cporting.capsules.r1.diff
___
Python tracker rep...@bugs.python.org
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: - needs patch
versions: -Python 3.1, Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13086
___
Larry Hastings la...@hastings.org added the comment:
Why shouldn't I check this in to the 2.7 / 3.1 branches?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13086
___
Georg Brandl ge...@python.org added the comment:
3.1 because it won't have any effect; it's in security-fix mode.
For 2.7 go ahead.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13086
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +mark.dickinson, skrah
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13072
___
___
Antoine Pitrou pit...@free.fr added the comment:
Shouldn't the test use self.BufferedRWPair instead of io.BufferedRWPair?
Also, is it ok to just return NULL or should the error state also be set?
--
___
Python tracker rep...@bugs.python.org
STINNER Victor victor.stin...@haypocalc.com added the comment:
WakeupSignalTests.test_pending() doesn't really check our signal handler but
more the operating system, especially pthread_sigmask(SIG_UNBLOCK). I don't
think that Python should test the signal order delivered by the operating
etuardu edo...@gmail.com added the comment:
Let me put it this way: the definition of daemon thread describes the behaviour
of the Python program running it (its exit condition in particular) instead of
going straight to the point describing the behaviour of the daemon thread
itself first,
Changes by Charles-François Natali neolo...@free.fr:
--
keywords: +patch
Added file: http://bugs.python.org/file23284/check_signum_order.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13084
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 1b203e741fb2 by Martin v. Löwis in branch 'default':
Issue 13085: Fix some memory leaks. Patch by Stefan Krah.
http://hg.python.org/cpython/rev/1b203e741fb2
--
nosy: +python-dev
Martin v. Löwis mar...@v.loewis.de added the comment:
Thanks for the patch!
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13085
___
Martin v. Löwis mar...@v.loewis.de added the comment:
I like Python 2 more than 2.x.
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13086
___
Antoine Pitrou pit...@free.fr added the comment:
Please consider reverting this patch. If you have flaky network connection, you
can override the test flags yourself.
--
nosy: +brett.cannon, pitrou
status: closed - open
___
Python tracker
Martin v. Löwis mar...@v.loewis.de added the comment:
As for terminology: I think the documentation should continue to
speak about words and letters, and then define what is meant
in this context. It's not that the Unicode consortium invented
the term letter, so we should use it more
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 7fabd75a6ae4 by Antoine Pitrou in branch 'default':
Backout of changeset 228fd2bd83a5 by Nadeem Vawda in branch 'default':
http://hg.python.org/cpython/rev/7fabd75a6ae4
--
Antoine Pitrou pit...@free.fr added the comment:
Change reverted. make test should run a comprehensive test of Python's
facilities, and that includes network facilities. We only exclude functionality
where testing is hostile to the user (largefile,audio,gui).
You could add make offlinetest if
Martin v. Löwis mar...@v.loewis.de added the comment:
Does that sound fine?
Yes, that's fine as well.
--
title: \N{...} neglects formal aliases and named sequences from Unicode
charnames namespace - \N{...} neglects formal aliases and named sequences from
Unicode charnames namespace
Martin v. Löwis mar...@v.loewis.de added the comment:
You may wish unicode.name() to return the alias in preference, however.
-1. .name() is documented (and users familiar with it expect it) as
returning the name of the character from the UCD.
It doesn't really matter much to me if it's
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 65e7f40fefd4 by Antoine Pitrou in branch '3.2':
Issue #13034: When decoding some SSL certificates, the subjectAltName extension
could be unreported.
http://hg.python.org/cpython/rev/65e7f40fefd4
New changeset
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 8e6694387c98 by Antoine Pitrou in branch '2.7':
Issue #13034: When decoding some SSL certificates, the subjectAltName extension
could be unreported.
http://hg.python.org/cpython/rev/8e6694387c98
--
Antoine Pitrou pit...@free.fr added the comment:
This should be fixed now.
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13034
Antoine Pitrou pit...@free.fr added the comment:
(fixing the title)
--
title: Python does not read Alternative Subject Names from SSL certificates
larger than 1024 bits - Python does not read Alternative Subject Names from
some SSL certificates
___
Charles-François Natali neolo...@free.fr added the comment:
Shouldn't the test use self.BufferedRWPair instead of
io.BufferedRWPair?
Yes.
Also, is it ok to just return NULL or should the error state also be
set?
Well, I'm not sure, that why I made you and Amaury noisy :-)
AFAICT, this is
Changes by Charles-François Natali neolo...@free.fr:
Removed file: http://bugs.python.org/file23279/buffered_closed_gc-1.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13070
___
Dan Kenigsberg dan...@redhat.com added the comment:
Here's another take on fixing this bug, with an accompanying unit test.
Personally, I'm monkey-patching xml.dom.minidom in order to avoid it, but
please consider fixing it properly upstream.
--
Added file:
Changes by Stefan Krah stefan-use...@bytereef.org:
--
nosy: +skrah
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6632
___
___
Python-bugs-list
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 086ca132e161 by R David Murray in branch '3.2':
#4147: minidom's toprettyxml no longer adds whitespace to text nodes.
http://hg.python.org/cpython/rev/086ca132e161
New changeset fa0b1e50270f by R David Murray in
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 406c5b69cb1b by R David Murray in branch '2.7':
#4147: minidom's toprettyxml no longer adds whitespace to text nodes.
http://hg.python.org/cpython/rev/406c5b69cb1b
--
___
R. David Murray rdmur...@bitdance.com added the comment:
This looks correct to me, and it tested out fine on the test suite (and the
provided test failed without the provided fix), so I committed it.
I have a small concern that the change in output might be a bit radical for a
bug fix
Stefan Krah stefan-use...@bytereef.org added the comment:
The PEP-393 changes apparently fix this leak; at least I can't reproduce
it in default any longer (but still in 3.2).
--
___
Python tracker rep...@bugs.python.org
STINNER Victor victor.stin...@haypocalc.com added the comment:
I suppose that the application uses extensions written in C and one on these
extensions is buggy. Can you write a script to reproduce the bug without the
application? If not, we cannot help you :-(
You may try the faulthandler to
New submission from John O'Connor tehj...@gmail.com:
The C implementation of BufferedReader.seek() does not throw an
UnsupportedOperation exception when its underlying stream is unseekable IF the
current buffer can accommodate the seek in memory. It probably saves a few
cycles for the
John O'Connor tehj...@gmail.com added the comment:
The patch no longer applies cleanly. Is there enough interest in this to
justify rebasing?
--
title: Optimizations for {bytearray,bytes,unicode}.strip() -
Optimization/refactoring for {bytearray,bytes,unicode}.strip()
Ned Deily n...@acm.org added the comment:
From the symptoms you describe, you are almost certainly trying to use a
version of IDLE with the Cocoa Tcl/Tk 8.5 supplied by Apple in Mac OS X 10.6.
That version of Tcl/Tk is known to be buggy. If you installed a 64-bit/32-bin
version of Python
New submission from STINNER Victor victor.stin...@haypocalc.com:
CPython source code contains a lot of duplicate 0123456789abcdef constants,
declared as static variables. Attached patch uses one unique variable. Use also
Py_hexdigit instead of ((c9) ? c+'a'-10 : c + '0') in binascii,
Ezio Melotti ezio.melo...@gmail.com added the comment:
The patch seems wrong to me:
d = minidom.parseString('foobarAAA/barBBBbarCCC/bar/foo')
print(d.toprettyxml())
?xml version=1.0 ?
foo
barAAA/bar
BBB barCCC/bar
/foo
Even if the newlines are gone, the indentation
Mike Hoy mho...@gmail.com added the comment:
Added links under Resources to the new Dev Guide. Added a link to the Guide
itself and a link to the faq.
--
keywords: +patch
Added file: http://bugs.python.org/file23289/pep-0001-broken-links.diff
___
Tom Christiansen tchr...@perl.com added the comment:
Perl does not provide the old 1.0 names at all. We don't have a Unicode
1.0 legacy to support, which makes this cleaner. However, we do provide
for the names of the C0 and C1 Control Codes, because apart from Unicode
1.0, they don't
72 matches
Mail list logo