Really, nobody has any idea about this? (Sorry to repost.)
On Tue, Feb 16, 2010 at 7:29 PM, Dan Yamins dyam...@gmail.com wrote:
Hi:
I'm wondering what the best way to wrap and modify function calls is.
Essentially what I want to achieve is to have a function like this:
def Wrap(frame
For CPython, alternative 1 is to create a custom interpreter to change
(wrap) the interpretation of the call-function bytecode in the ceval loop.
That is its 'call event', and I believe this would catch every explicit
f(args) call and only such calls.
Python has no general metasyntax for
Hi:
I'm wondering what the best way to wrap and modify function calls is.
Essentially what I want to achieve is to have a function like this:
def Wrap(frame,event,arg):
if event == 'call':
result = PerformCheck(GetArgumentsFromFrame(frame))
if Condition(result):
Sorry to write again, but really nobody on the Python list knows how to get
in touch with the people running PyPI's website in an effective way?
Thanks!
Dan
On Tue, Sep 8, 2009 at 6:25 PM, Dan Yamins dyam...@gmail.com wrote:
Dear all:
I'm trying to upload documentation to the PyPI site
On Wed, Sep 9, 2009 at 4:29 PM, Robert Kern robert.k...@gmail.com wrote:
On 2009-09-09 15:14 PM, Dan Yamins wrote:
Sorry to write again, but really nobody on the Python list knows how to
get in touch with the people running PyPI's website in an effective way?
http://www.python.org
Dear all:
I'm trying to upload documentation to the PyPI site for a project I'm
working on (there's a new feature on the PyPI site that allows admins of
projects to upload a zip file of the pages of documentation.)
If you have admin access to a PyPI project, you can see this on the admin
page
If so, what are you using? I have read about RPy, is that a good
solution?
Yes, I think it's quite a good solution. It's not exactly 100% as
convenient as working directly in R, but that's IMO more than compensated by
the ability to use Python's syntax.
Make sure you use Rpy2 (the
Dear all:
I've two questions:
1) I've been trying to building python as a 64-bit version on OS 10.5.
I'm not too familiar with building python from scratch, and a number of
basic attempts made from piecing together things I've seen on the web have
failed. (For instance,
./configure
Dear all:
I've two questions:
1) I've been trying to building python as a 64-bit version on OS 10.5.
I'm not too familiar with building python from scratch, and a number of
basic attempts made from piecing together things I've seen on the web have
failed. (For instance,
./configure
Using Apache 2.2 on my local OSX machine, I;ve set up a virtual host to
serve a directory that a project of mine is in. In this directory, I have
some python .cgi scripts that I use to dynamically generated locally-used
html code. In several places,scripts that work fine when not run as .cgi
I'm looking for a reasonable static function call analysis tool for python
functions -- something that will look at code (and possibly import the
module it's in) and return a reasonable guess at the functions that might be
called by the code. For my purposes, approximations are totally fine --
On Fri, Jun 20, 2008 at 3:17 AM, Bruno Desthuilliers
[EMAIL PROTECTED] wrote:
Just to make things clear: you do know that you can dynamically build
functions without exec, do you ?
Actually, I don't know how to do this, but would like to. Can you point me
to a place where I can read more
I'm having (what I assume is) a simple problem regarding the way import and
execfile interact. I apologize in advance for my naivete.
Lets say I have the function:
def Func1():
print dir()
execfile('testfile')
print dir()
X
and the file
#file: testfile
I'm having a problem importing a package in python, deleting some of what's
been imported, and then reimporting. (I'm the sure the problem is trivial,
but I just don't understand it.)
I have a directory of python modules called Operations. It contains a
python module called archive.py.
I also have noticed another (to me) strange thing about module imports. If
anyone could explain this to me, that would be great (I apologize if it's
too elementary for this list.)
Suppose I have a module
#file: testmodule.py
a = 1
When importing this module, obviously 'a' becomes an
first seems to be bad since when I did that and then try
to _reload_ the module, the attributes I deleted are _not_ reloaded.)
On Fri, Jun 13, 2008 at 9:09 PM, Gabriel Genellina [EMAIL PROTECTED]
wrote:
En Fri, 13 Jun 2008 20:01:56 -0300, Dan Yamins [EMAIL PROTECTED]
escribió:
I'm having
Please keep responses to python-list discussion on python-list, not my
personal mail box. -- Thanks.
Sorry. When I hit reply on gmail to your message, your personal email
comes up as opposed to the python list address. My apologies for not
looking for closely.
I'd suggest using
17 matches
Mail list logo