Hi,
The next Iowa Python Users Group (AKA Pyowa) is nearly upon us. We will
be meeting November 3rd, from 7-9 p.m. at the following location:
Marshall County Sheriff's Office
2369 Jessup Ave
Marshalltown, IA 50158
At this meeting, we will be having a Crash Course of sorts for all the
new
Release candidate 2 of RPyC 3.00 has been released!
RPyC (Remote Python Call) is a python library for *transparent* and
symmetric RPC and distributed computing.
website:http://rpyc.wikispaces.com
download:
http://sourceforge.net/project/showfiles.php?group_id=155578package_id=173301
here's a
Hi fellow python devotee's,
Book by THIS FRIDAY to take advantage of earlybird pricing
and be part of the best open source developers conference
of the year.
http://www.osdc.com.au/2008/registration/index.html?ebc=1
The facts:
31st OctoberEarlybird registration closing
2nd December
En Sun, 26 Oct 2008 12:13:08 -0200, Christian Heimes [EMAIL PROTECTED]
escribió:
?? wrote:
Any ideas?
Code 1:
from __future__ import print_function, unicode_literals
import sys
print(type('HELLO, WORLD!'), file=sys.stderr)
You have to do each future import in a separate line:
from
En Sun, 26 Oct 2008 23:25:09 -0200, Alcari The Mad
[EMAIL PROTECTED] escribió:
I am confused about which data structure to rely on thread-safety, or
operator in Python?
All of the builtin functions(which are implemented in C, like len()) are
atomic(but assigning their output to a value may
On Mon, Oct 27, 2008 at 2:36 PM, Terry Reedy [EMAIL PROTECTED] wrote:
It this a theoretical problem or an actual one, that we might have other
suggestions for?
Any command line based on python is a real example of that problem.
There are plenty of them.
David
--
On Mon, Oct 27, 2008 at 3:36 PM, Terry Reedy [EMAIL PROTECTED] wrote:
It this a theoretical problem or an actual one, that we might have other
suggestions for?
Heaven knows! I hardly think invoking hundreds
and possibly thousands of short-lived python
interpreters to be an optimal solution that
On Mon, Oct 27, 2008 at 5:28 PM, David Cournapeau [EMAIL PROTECTED] wrote:
Any command line based on python is a real example of that problem.
There are plenty of them.
Yes, but in most cases you are not invoking your
command-line app x times per y units of time.
--JamesMills
--
--
--
James Mills [EMAIL PROTECTED] writes:
Heaven knows! I hardly think invoking hundreds
and possibly thousands of short-lived python
interpreters to be an optimal solution that may
have spawned this particular thread.
It's not optimal but it is very common (CGI for example).
--
On Mon, Oct 27, 2008 at 4:33 PM, James Mills
[EMAIL PROTECTED] wrote:
Yes, but in most cases you are not invoking your
command-line app x times per y units of time.
Depends on the tool: build tool and source control tools are example
it matters (specially when you start interfaciing them with
On Mon, Oct 27, 2008 at 5:36 PM, Paul Rubin
http://phr.cx@nospam.invalid wrote:
It's not optimal but it is very common (CGI for example).
Which is why we (The Python Community)
created WSGI and mod_wsgi. Cmon guys
these problems are a bit old and out
dated :)
--JamesMills
--
--
-- Problems
En Sun, 26 Oct 2008 23:52:32 -0200, James Mills
[EMAIL PROTECTED] escribió:
On Mon, Oct 27, 2008 at 4:12 AM, Benjamin Kaplan
[EMAIL PROTECTED] wrote:
You must be in a real big hurry if half a second matters that much to
you.
Maybe if it took 5 seconds for the interpreter to start up, I
On Mon, Oct 27, 2008 at 5:40 PM, David Cournapeau [EMAIL PROTECTED] wrote:
Depends on the tool: build tool and source control tools are example
it matters (specially when you start interfaciing them with IDE or
editors). Having fast command line tools is an important feature of
UNIX, and if
Rafe wrote:
Can anyone explain why this is happening?
When an attribute error is raised that is an indication that the requested
attribute doesn't exist, and __getattr__() must be called as a fallback.
I can hack a work-around,
but even then I could use some tips on how to raise the 'real'
On Mon, Oct 27, 2008 at 5:46 PM, Gabriel Genellina
[EMAIL PROTECTED] wrote:
+1 This thread is stupid and pointless.
Even for a so-called cold startup 0.5s is fast enough!
I don't see the need to be rude.
And I DO care for Python startup time and memory footprint, and others do
too. Even if
This solve the problem:
http://techrepublic.com.com/5208-11183-0.html?forumID=89threadID=191474
regsvr32 %systemroot%\system32\hhctrl.ocx press enter
regsvr32 %systemroot%\system32\itss.dll press enter
[EMAIL PROTECTED]:
Hi!
When I try to open the 2.5 Python help, I got error message:
A
Andy O'Meara wrote:
On Oct 24, 9:52 pm, Martin v. Löwis [EMAIL PROTECTED] wrote:
A c-level module, on the other hand, can sidestep/release
the GIL at will, and go on it's merry way and process away.
...Unless part of the C module execution involves the need do CPU-
bound work on another
To make faster python, you can do:
1.) Use mod_python, and not cgi.
2.) Use other special python server that remaining in memory, and call
it from compiled C code. For example, the C code communicate this server
with pipes, tcp, (or with special files, and the result will come back
in other
hello group,
i want to represent and store a string u'\x00\x07\xa7' as
'\x00\x07\xa7'. any ideas on how to achieve this.
--
http://mail.python.org/mailman/listinfo/python-list
En Sat, 25 Oct 2008 23:44:46 -0200, Benjamin [EMAIL PROTECTED]
escribió:
On Oct 25, 3:13 am, [EMAIL PROTECTED] wrote:
I'd like to know why Python 2.6 doesn't have the syntax to create sets/
dicts of Python 3.0, like:
Because nobody bothered to backport them.
En Sat, 25 Oct 2008 23:47:32
abhishek wrote:
hello group,
i want to represent and store a string u'\x00\x07\xa7' as
'\x00\x07\xa7'. any ideas on how to achieve this.
You want to store it in the form of the repr() of the string? It is
possible to use repr() to get a bytestring to store and to use eval() to
create a
Hey,
Please take a look at the code of the two threads below:
COMMON_DICT = {}
def thread_1():
global COMMON_DICT
local_dict = prepare_dict()
COMMON_DICT = local_dict
def thread_2():
global COMMON_DICT
local_dict = COMMON_DICT
use_dict(local_dict)
Do I need a lock to
jasiu85 schrieb:
Hey,
Please take a look at the code of the two threads below:
COMMON_DICT = {}
def thread_1():
global COMMON_DICT
local_dict = prepare_dict()
COMMON_DICT = local_dict
def thread_2():
global COMMON_DICT
local_dict = COMMON_DICT
use_dict(local_dict)
Do
On 2008-10-25 20:19, Akira Kitada wrote:
Hi Marc-Andre,
Thanks for the suggestion.
I opened a ticket for this issue: http://bugs.python.org/issue4204
Thanks.
Now I understand the state of the multiprocessing module,
but it's too bad to see math, mmap and readline modules, that worked
Hello,
Is there a simple example demonstrating how to use the Trampoline from PEP
342 (http://www.python.org/dev/peps/pep-0342/)?
Regards
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I have posted elsewhere about a related topic. But I an curious is it
possible to set up a web form which people select a file for upload
which is then upload it via FTP protocol to the web server - the
entire process must be web based and not require an external FTP
client. The reason for
On 2008-10-26 13:54, Martin Vilcans wrote:
Hi list,
I'm wondering if there's a tool that can analyze a Python program
while it runs, and generate a database with the types of arguments and
return values for each function. In a way it is like a profiler, that
instead of measuring how often
rodmc wrote:
Hi,
I have posted elsewhere about a related topic. But I an curious is it
possible to set up a web form which people select a file for upload
which is then upload it via FTP protocol to the web server - the
entire process must be web based and not require an external FTP
client.
abhishek [EMAIL PROTECTED] wrote:
hello group,
i want to represent and store a string u'\x00\x07\xa7' as
'\x00\x07\xa7'. any ideas on how to achieve this.
You can use latin-1 encoding.
u = ''.join(unichr(c) for c in range(256))
[ord(c) for c in u.encode('latin1')] == range(256)
True
--
jasiu85 [EMAIL PROTECTED] wrote:
Hey,
Please take a look at the code of the two threads below:
COMMON_DICT = {}
def thread_1():
global COMMON_DICT
local_dict = prepare_dict()
COMMON_DICT = local_dict
def thread_2():
global COMMON_DICT
local_dict = COMMON_DICT
Hello
i have installed xchat on suse11 i see that there is the possibility
to use python for make some script, i see also that the python
interface is loaded, but when in python i type import xchat i get that
the module don't exist.
where is the module?
I try also to ask in the xchat forum but i
(Sorry for any repeated recommendations. I'm offline until Monday morning.
You may well see some of these suggestions in the meanwhile, but so far it
seems you've had no nibbles.)
Martin I'm wondering if there's a tool that can analyze a Python
Martin program while it runs, and generate
Hi,
luca72 wrote:
Hello
i have installed xchat on suse11 i see that there is the possibility
to use python for make some script, i see also that the python
interface is loaded, but when in python i type import xchat i get that
the module don't exist.
where is the module?
I try also to ask in
I think that rope has something like that; not really sure though.
On Mon, Oct 27, 2008 at 1:41 AM, [EMAIL PROTECTED] wrote:
(Sorry for any repeated recommendations. I'm offline until Monday morning.
You may well see some of these suggestions in the meanwhile, but so far it
seems you've had
Hello,
I've finally uploaded PySmell [1] to PyPI [2], thanks to a fantastic
contributor which did all the work for me. As I've written in a blog
post [3], I have some trouble distributing some support files,
notably, a vim script.
I am currently using these directives:
data_files = [
On Mon, 27 Oct 2008 12:11:34 +1300, Lawrence D'Oliveiro wrote:
In message [EMAIL PROTECTED], Steven D'Aprano
wrote:
I disagree. Triple-quoted strings are exactly the same as other
strings: they capture *exactly* what you put in them ...
But that conflicts with the use of whitespace for
jasiu85 wrote:
Do I need a lock to protect the COMMON_DICT dictionary? AFAIK bytecode
operations are atomic and in each thread there's only one crucial
bytecode op: STORE_NAME in the first thread and LOAD_NAME in the
second one. So I suspect that everything will work just fine. Am I
right?
QOTW: But it is the right idea. They just don't know what it means,
because they've been listening to people like you who insist on using
Pascal terminology with a definition unrecognizable to Pascal programmers.
To an ex-Pascal programmer like myself, when you talk about 'call by value
where the
Is there a way to find the name of a page you are retrieving using
python. For example, if I get http://www.cnn.com/ i want to know that
the page is index.html. I can do this using wget. as seen in the code
below. Can I do this in python?
Thanks,
$ wget cnn.com
--11:15:25-- http://cnn.com/
On Oct 27, 2008, at 12:17 PM, barrett wrote:
Is there a way to find the name of a page you are retrieving using
python. For example, if I get http://www.cnn.com/ i want to know that
the page is index.html. I can do this using wget. as seen in the code
below. Can I do this in python?
Hi
2008/9/24 Duncan Booth [EMAIL PROTECTED]:
Python still wins hands down on this example both in verbosity and
readability:
But AFAICS, the Python version you give creates a temporary. One of
the advantages cited for LINQs functional programming paradigm is that
it specifies what is wanted at a
On Oct 25, 1:42 pm, [EMAIL PROTECTED] wrote:
Hi. I'm very new to Python, and so this is probably a pretty basic
question, but I'm lost. I am looking to limit a float value to a
number between 0 and 100 (the input is a percentage).
I currently have:
integer = int()
running = True
while
Thanks a lot because it works with
g.load(power.p)
But now I have this problem
gnuplot load 'power.p'
gnuplot set terminal postscript enhanced color
gnuplot set output spectrum.ps
gnuplot plot
gnuplot set terminal x11
gnuplot set output
gnuplot plot
^
line 0:
Glenn Linderman:
how does one create a key that corresponds to ascending integer followed by
descending character string?
(Others may have already answered you because Google groups is very
slow.)
seq = [(10, abb), (5, zul), (5, hal), (2, of)]
sorted(seq, key=lambda (n,s): (-n, s),
(Sorry for the answering delay, Google groups is very slow.)
James:
P.S. I don't understand a lot of what I have there, I got most of it from the
beginning tutorials and help sections. I have never programmed before, but
this is for a school assignment.
You must understand what you do at
Robert Kern:
This is similar to implementing Undo functionality in applications.
In a quite-high-level language (like Python, but not necessarily in
Python itself) it may become eventually advantageous to add some (even
limited) built-in form of undo. Both to give a simpler way to
implement a
Hendrik van Rooyen wrote:
...
You had Compilers!
You had Compiler Vendors!
When I was lad, we had nowt but raw hardware.
We had to sit in cold room, ears deafened by
whine of fan, clicking switches to load our
octal in computer. We just had error light...
You had octal! We just had
[EMAIL PROTECTED] wrote:
It seems to me that deleting local instances before imported modules
would solve the problem. Is it not possible for the interpreter to get
this right? Or are there cases where this would break stuff.
It seems rather unpythonic for the __del__() method to become
[EMAIL PROTECTED] wrote:
Glenn Linderman:
how does one create a key that corresponds to ascending integer followed
by descending character string?
(Others may have already answered you because Google groups is very
slow.)
seq = [(10, abb), (5, zul), (5, hal), (2, of)]
sorted(seq,
David Cournapeau wrote:
On Mon, Oct 27, 2008 at 2:36 PM, Terry Reedy [EMAIL PROTECTED] wrote:
It this a theoretical problem or an actual one, that we might have other
suggestions for?
Any command line based on python is a real example of that problem.
No it is not.
The specific problem that
James Mills wrote:
So instead of coming up with arbitary problems, why don't
we come up with solutions for Improving Interpreter Startup Speeds ?
The current developers, most of whom use Python daily, are aware that
faster startup would be better. 2.6 and 3.0 start up quicker because
the
Steven D'Aprano [EMAIL PROTECTED] writes:
I understand that Python's object and calling semantics are exactly the
same as Emerald (and likely other languages as well), and that both
Emerald and Python are explicitly based on those of CLU, as described by
by Barbara Liskov in 1979:
In
Gabriel Genellina wrote:
En Sun, 26 Oct 2008 12:13:08 -0200, Christian Heimes [EMAIL PROTECTED]
escribió:
?? wrote:
Any ideas?
Code 1:
from __future__ import print_function, unicode_literals
import sys
print(type('HELLO, WORLD!'), file=sys.stderr)
You have to do each future import in
Hi everybody,
I try to find a quick way to redirect the standard output of a Python
command (for example: print message) to a python variable foobar.
Ok, in this simple example, I could do foobar = message, but in
fact 'print message' could be replaced by any Python function writing on
standard
Hi!
Can I do this in python?
No.
The default page is a property of the web-server ; and it is not
client side.
Examples :
for Apache, it's index.html or index.htm ; but if PHP is installed,
index.php is also possible.
for APS, it's init.htm (between others possibilites).
etc.
[EMAIL PROTECTED] wrote:
Robert Kern:
This is similar to implementing Undo functionality in applications.
In a quite-high-level language (like Python, but not necessarily in
Python itself) it may become eventually advantageous to add some (even
limited) built-in form of undo.
Right now, I
On Oct 17, 5:39 pm, Joe Strout [EMAIL PROTECTED] wrote:
On Oct 17, 2008, at 3:19 PM, Grant Edwards wrote:
And my real point is that this is exactly the same as in every
other modern language.
No, it isn't. In many other languages (C, Pascal, etc.), a
variable is commonly thought of as
--
http://mail.python.org/mailman/listinfo/python-list
By default the print statement sends to stdout
I want to send to stderr
Try
print my meeage, file=sys.stderr
I got
SyntaxError: invalid syntax
I try
print my message, sys.stderr
But it still sent to stdout.
What is the syntax?
I wouldn't understand Python's manual
print([object,
RC wrote:
By default the print statement sends to stdout
I want to send to stderr
Try
print my meeage, file=sys.stderr
I got
SyntaxError: invalid syntax
I try
print my message, sys.stderr
But it still sent to stdout.
What is the syntax?
I wouldn't understand Python's
En Mon, 27 Oct 2008 16:03:45 -0200, TP [EMAIL PROTECTED]
escribió:
Hi everybody,
I try to find a quick way to redirect the standard output of a Python
command (for example: print message) to a python variable foobar.
Ok, in this simple example, I could do foobar = message, but in
fact 'print
On Oct 17, 5:39 pm, Joe Strout [EMAIL PROTECTED] wrote:
On Oct 17, 2008, at 3:19 PM, Grant Edwards wrote:
And my real point is that this is exactly the same as in every
other modern language.
No, it isn't. In many other languages (C, Pascal, etc.), a
variable is commonly thought of as
On Oct 27, 2008, at 12:19 PM, [EMAIL PROTECTED] wrote:
I think this uncontrived example addresses the C/Python difference
fairly directly (both were tested):
That's correct, but of course, C is a decades-old language barely a
step above assembler. For a fair comparison, pick any modern OOP
Allen Taylor wrote:
I was given the task of upgrading a Python/Tkinter GUI application to
the latest versions of Python and Tk. After a while, I realized that the
application had not been written in a thread-safe manner. Multiple
threads would simply use the Tk object directly. The application
Hi All,
Pydev and Pydev Extensions 1.3.24 have been released
This is a high-priority release to fix some blocker bugs (that's why
it was released in such a short time from the last release)
Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on
-Original Message-
From: James Mills [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 26, 2008 5:26 PM
To: sonich
Cc: python-list@python.org
Subject: Re: Web crawler on python
On Mon, Oct 27, 2008 at 6:54 AM, sonich [EMAIL PROTECTED] wrote:
I need simple web crawler,
I found Ruya, but
Lie Ryan:
Oh no, the two dict implementation would work _exactly_ the same from the
outside, they are transparently interchangeable. Only the performance
characteristic differs because of the different implementation.
I don't agree with the general idea. If the operations done by your
data
Hi;
I'm trying to use the struct.unpack to extract an int, int, char
struct info from a file. I'm more accustomed to the file.readlines
which works well in a 'for' construct (ending loop after reaching
EOF).
# This does OK at fetching one 10-byte string at a time:
# (4, 4, 2 ascii chars
Severin wrote:
Hello,
Is there a simple example demonstrating how to use the Trampoline from
PEP 342 (http://www.python.org/dev/peps/pep-0342/)?
In the examples section toward the end
3. A simple co-routine scheduler or trampoline that lets
coroutines call other coroutines by
I have a python time string which has the following value:
1225137896
The above corresponds to 2008/10/27 16:04:56
What can I use to convert 1225137896 to a more readable date, time
format?
--
http://mail.python.org/mailman/listinfo/python-list
On Oct 24, 1:24 pm, Mike Driscoll [EMAIL PROTECTED] wrote:
On Oct 24, 12:05 pm, Robocop [EMAIL PROTECTED] wrote:
Does anyone know of any decent (open source or commercial) python
barcoderecognition tools or libraries. I need to read barcodes from
pdfs or images, so it will involve some OCR
On Oct 24, 1:24 pm, Mike Driscoll [EMAIL PROTECTED] wrote:
On Oct 24, 12:05 pm,Robocop[EMAIL PROTECTED] wrote:
Does anyone know of any decent (open source or commercial) python
barcode recognition tools or libraries. I need to read barcodes from
pdfs or images, so it will involve some OCR
On Mon, Oct 27, 2008 at 4:29 PM, Mark [EMAIL PROTECTED] wrote:
Hi;
I'm trying to use the struct.unpack to extract an int, int, char
struct info from a file. I'm more accustomed to the file.readlines
which works well in a 'for' construct (ending loop after reaching
EOF).
# This does OK at
On Mon, Oct 27, 2008 at 4:45 PM, Thierry Lam [EMAIL PROTECTED] wrote:
I have a python time string which has the following value:
1225137896
The above corresponds to 2008/10/27 16:04:56
What can I use to convert 1225137896 to a more readable date, time
format?
--
from datetime import
On Oct 25, 4:58 am, Lie Ryan [EMAIL PROTECTED] wrote:
On Wed, 22 Oct 2008 10:43:35 -0700, bearophileHUGS wrote:
Mr.SpOOn:
Is there another convenient structure or shall I use lists and define
the operations I need?
musings
As Python becomes accepted for more and more serious projects
Tim Rowe [EMAIL PROTECTED] wrote:
I haven't yet had occasion to use LINQ in anger yet, so I have no
idea whether its an idea to love or to hate. I do think it is good
that C# has effectively sprouted list comprehensions (not to mention
anonymous types and type inferencing) and I expect there
[EMAIL PROTECTED] wrote:
On Oct 17, 5:39 pm, Joe Strout [EMAIL PROTECTED] wrote:
On Oct 17, 2008, at 3:19 PM, Grant Edwards wrote:
No, it isn't. In many other languages (C, Pascal, etc.), a
variable is commonly thought of as a fixed location in memory
into which one can put values. Those
rodmc schrieb:
Hi,
I have posted elsewhere about a related topic. But I an curious is it
possible to set up a web form which people select a file for upload
which is then upload it via FTP protocol to the web server - the
entire process must be web based and not require an external FTP
client.
En Mon, 27 Oct 2008 19:03:37 -0200, Steven Clark
[EMAIL PROTECTED] escribió:
On Mon, Oct 27, 2008 at 4:29 PM, Mark [EMAIL PROTECTED] wrote:
Hi;
I'm trying to use the struct.unpack to extract an int, int, char
struct info from a file. I'm more accustomed to the file.readlines
which works
Mark wrote:
Hi;
I'm trying to use the struct.unpack to extract an int, int, char
struct info from a file. I'm more accustomed to the file.readlines
which works well in a 'for' construct (ending loop after reaching
EOF).
You do not need .readlines to iterate through a file by lines.
for
Thanks everyone for the suggestions. I've implemented a simple
solution using sys.settrace. It's quite nice because it doesn't
require any instrumentation of the code (it works like a debugger that
traps all function calls).
Here's the output I get right now when profiling Skip's example code
Thierry Lam wrote:
I have a python time string which has the following value:
1225137896
The above corresponds to 2008/10/27 16:04:56
What can I use to convert 1225137896 to a more readable date, time
format?
(1) Read Smart Questions [you could at least have told us where this
number came
Hi everybody,
Recently, I have tried to improve the look of the printed text in command
line. For this, I was compelled to remove redundant spaces in strings,
because in my scripts, often the strings are spreading on several lines.
For example, aaa bbb had to be transformed in aaa bbb.
I have
On Mon, 27 Oct 2008 13:11:04 -0600, Joe Strout wrote:
On Oct 27, 2008, at 12:19 PM, [EMAIL PROTECTED] wrote:
I think this uncontrived example addresses the C/Python difference
fairly directly (both were tested):
That's correct, but of course, C is a decades-old language barely a step
On Mon, 27 Oct 2008 12:31:06 +1100, Ben Finney wrote:
Lawrence D'Oliveiro [EMAIL PROTECTED] writes:
Software has no market value. Business models that try to assign it one
are doomed to fight an uphill battle against market forces.
+1 QOTW.
-1
That quote confuses the *cost* of
I'm sorry to say I'm pretty confused by the example, but if you want
something like
bob = module.object()
frank = module.object()
and then to know that bob is bob from a list of instances, you could
instead do something like:
for person in listofnames:
temp = module.object(person)
En Mon, 27 Oct 2008 20:50:08 -0200, TP [EMAIL PROTECTED]
escribió:
Recently, I have tried to improve the look of the printed text in command
line. For this, I was compelled to remove redundant spaces in strings,
because in my scripts, often the strings are spreading on several lines.
For
Does anyone know of a package that can connect and query a mysql server
that is platform independent and does not need to compile any extra c
modules (IE a pure python module)?
--
http://mail.python.org/mailman/listinfo/python-list
I was wondering if anyone had any advice on this.
This is not to study graph theory; I'm using the graph to represent a
problem domain. The graphs could be arbitrarily large, and could
easily have millions of nodes, and most nodes have a substantial
amount of data associated with them.
On approximately 10/27/2008 10:27 AM, came the following characters from
the keyboard of Peter Otten:
Here's a class that can negate arbitrary values
... def __init__(self, value):
... self.value = value
... def __cmp__(self, other):
... return -cmp(self.value,
Steven D'Aprano wrote:
By common usage and technical definition, C is call by value. Argument
passing in Python does not behave like C. So why insist that Python is
also call by value?
Whether it behaves like C is not the test.
Let's look at the definitions of the terms:
(1) Call by value:
[I am actually enjoying this discussion, even though it does not address
the OP's question. It is helping to solidify *my* understanding.]
Joe Strout wrote:
On Oct 27, 2008, at 12:19 PM, [EMAIL PROTECTED] wrote:
I think this uncontrived example addresses the C/Python difference
fairly
On 2008-10-25 12:41:51 -0500, [EMAIL PROTECTED] said:
Kevin D. Smith:
What I want is a two color output image: black where the image wasn't
different, and white where it was different.
There are several ways to do that. If speed isn't essential, then you
can create a third blank image of the
Stefan Behnel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Tim Arnold schrieb:
Hi,
Using lxml to clean up auto-generated xml to validate against a dtd; I
need
to remove an element tag but keep the text in order. For example
s0 = '''
option
optional first text
greg [EMAIL PROTECTED] writes:
Seems to me that (1) describes exactly how parameter passing
works in Python. So why insist that it's *not* call by value?
Because there's an important distinction to be made, and the
distinction has been written up in the Computer Science literature
since Lisp
On Oct 26, 2:51 am, Stefan Behnel [EMAIL PROTECTED] wrote:
The more you spam people with your repetitive postings, the less likely it
becomes that they are willing to answer you.
In asit's defence, the Google Groups interface has been woefully
broken for the past 3-4 days. If e had posted via
En Tue, 28 Oct 2008 00:58:10 -0200, greg [EMAIL PROTECTED]
escribió:
Steven D'Aprano wrote:
By common usage and technical definition, C is call by value. Argument
passing in Python does not behave like C. So why insist that Python is
also call by value?
Whether it behaves like C is not
New submission from Christian Heimes [EMAIL PROTECTED]:
Python should lower case the file system encoding in Python/pythonrun.c.
On several occasions Python optimizes code paths for lower case
encodings like utf-8 or latin-1. On my Ubuntu system the file system
encoding is upper case (UTF-8) and
Changes by Christian Heimes [EMAIL PROTECTED]:
--
dependencies: +Lower case file system encoding
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3723
___
Changes by Jesse Noller [EMAIL PROTECTED]:
--
nosy: +jnoller
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4204
___
___
Python-bugs-list mailing list
1 - 100 of 124 matches
Mail list logo